Process transaction
Use this request to process a shipping transaction.
You can use this request to generate a quote or to process a transaction.
To process a transaction use a POST operation and the following
URL:
{epal_api_url}/transactionFor
example:
https://api.epalglobal.com//transactionDetails
| Detail | |
|---|---|
| Operation | POST |
| Endpoint | /transaction |
| Fields | Response parameters |
Response Parameters
| Response Parameter | Details | Description |
|---|---|---|
addresses object |
|
Groups address fields. |
addresses.city |
|
The name of the city |
addresses.companyName |
|
The name of the company. |
addresses.country |
|
The country where the address is. |
addresses.email |
|
The email contact for the address. |
addresses.fullname |
|
The full name of the contact at the address. |
addresses.phone |
|
The phone number of the contact at the address. |
addresses.postalCode |
|
The address's postal code. |
addresses.state |
|
The state or country subdivision. |
addresses.street |
|
The street name. |
addresses.type |
|
The type of address. |
clientReference |
|
Custom string added by the client that can be used to identify the transaction. |
date |
|
The time and date of the transaction. |
deniedParties
|
|
Groups information about denied parties. |
deniedParties.recipient object |
|
Groups information about receipients who are amongst the denied parties. |
deniedParties.recipient.listsMatched |
|
The lists that the denied party was matched against. |
deniedParties.recipient.matches |
|
The matches for the recipient. |
deniedParties.recipient.scoreCalculated |
|
The score for the denied recipient. |
grossWeight |
|
The gross weight of the goods in this transaction. |
isIOSSCompliant |
|
Indicats whether or not the transaction is IOSS compliant. |
products
|
|
Groups product related fields. |
products.clientSKU |
|
The client's Stock-Keeping Unit (SKU) code. |
products.compliance |
|
Groups compliance information. |
products.compliance.clearanceCodes |
|
Codes that relate to the clearance status with customs. |
products.compliance.exportCodes |
|
Codes that specify details about the export. |
products.compliance.hasProhibited |
|
Indicates whether the product has any prohibitions or not. |
products.compliance.hasRestricted |
|
Indicates whther the product has any restrictions or not. |
products.compliance.importCodes |
|
Codes that specify details about the import. |
products.compliance.requiresCertificates |
|
Indicates whether the product requires certificates. |
products.compliance.requiresLicences |
|
Indicates whether the product requires certificates. |
products.compliance.transportCodes |
|
Codes that detail informaiton about how the product is transported. |
products.customsDuty |
|
Groups information about customs duties. |
products.customsDuty.additiobnalDutyAmount |
|
The amount of any additional customs duty due. |
product.customsDuty.additiobnalDutyRate |
|
The rate for any additional customs duty due. |
products.customsDuty.CustomsDutyAmount |
|
The amount of customs duty due. |
products.customsDuty.CustomsDutyRate |
|
The rate of the customs duty. |
products.description |
|
A description of the product. |
products.hs6code |
|
The HS6 code for the product. |
products.originatingCountry |
|
The country of origin. |
products.productType |
|
Specifies the type of goods. This can be
"physical", "digital", or
"shipping". |
products.qty |
|
The quantity of goods in the transaction. |
products.tax |
|
Groups tax information. |
products.tax.DestinationCountry |
|
Groups tax information about the country where the goods are sent to. |
products.tax.DestinationCountry.taxAmount |
|
The amount of tax due in the destination country. |
products.tax.DestinationCountry.taxOnDutyAmount |
|
The tax that is due on the custom duties. |
products.tax.DestinationCountry.taxRate |
|
The rate of tax in the destination country. |
products.tax.sourceCountry |
|
Groups tax information about the goods that the goods are sent from. |
products.tax.sourceCountry.taxAmount |
|
The amount of tax for the product in the country that it was sent from. |
products.tax.sourceCountry.taxRate |
|
The tax rate for the product in the country that it was sent from. |
products.taxExclusiveValue |
|
The price of the good excluding tax. |
products.taxInclusiveValue |
|
The price of the goods including tax. |
products.value |
|
The value of the products. |
sessionId |
|
The ID that identifies the transaction. |
shipping |
|
Groups information about shipping. |
shipping.enabled |
|
Indicates whether shipping is enabled or not. |
shipping.parcel |
|
Groups information about the parcel. |
shipping.parcel.height |
|
The height of the parcel. |
shipping.parcel.length |
|
The length of the parcel. |
shipping.parcel.template |
|
The template. |
shipping.parcel.weight |
|
The weight of the parcel. |
shipping.parcel.width |
|
The width of the parcel. |
shipping.provider |
|
The name of the shipping provider. |
shipping.rateId |
|
The ID for the shipping rate. |
shipping.rates |
|
Groups information about shipping rates. |
shipping.rates.carrier |
|
Groups information about the carrier. |
shipping.rates.carrier.code |
|
The code that represents the carrier. |
shipping.rates.carrier.name |
|
The name of the carrier. |
shipping.rates.estimatedDeliveryDays |
|
The estimated number of days for delivery. |
shipping.rateId |
|
The ID for the shipping rate. |
shipping.rates.name |
|
The name of thte shiping rate. |
shipping.rates.price
|
|
Groups information about the price. |
shipping.rates.price.amount |
|
The price. |
shipping.rates.price.currency |
|
The price's currency |
shipping.rates.shipmentId |
|
The identifier for the shipment. |
shipping.rates.signatureRequired |
|
Indicates whether a signature is required or not. |
shipping.rates.trackingIncluded |
|
Indicates whether tracking is included or not. |
shipping.shipmentId |
String | The shipment's ID. |
shipping.shippingCost |
|
Ths cost of shipping. |
shipping.shippingCostWithTax |
|
The cost of shipping including tax. |
shipping.shippingTaxAmount |
|
The amount of tax due for the shipping. |
shipping.shippingTaxRate |
|
The rate of tax that is used to calculate the amount of tax due on shipping. |
shipping.totalCostWithShipping |
|
The total cost of the goods, including shipping. |
transactionCurrency |
|
The currency that the transaction uses. |
transactionValue |
|
The value of the transaction. |
warnings |
|
The messages associated with the transaction. |
Response Example
The following is an example response:
{
"sessionId": "550e8400-e29b-41d4-a716-446655440000",
"date": "2025-12-08T14:30:45.123Z",
"grossWeight": 5.5,
"transactionValue": 186.1,
"transactionCurrency": "EUR",
"clientReference": "ORDER-2025-12345",
"addresses": [
{
"type": "SOURCE",
"fullName": "string",
"companyName": "string",
"email": "string",
"phone": "string",
"street": "string",
"city": "string",
"postalCode": "string",
"country": "string",
"state": "string"
}
],
"products": [
{
"clientSKU": "string",
"description": "string",
"hs6Code": "string",
"qty": 0,
"value": 0,
"taxExclusiveValue": 0,
"taxInclusiveValue": 0,
"productType": "physical",
"originatingCountry": "string",
"tax": {
"destinationCountry": {
"taxRate": 0,
"taxAmount": 0,
"taxOnDutyAmount": 0
},
"sourceCountry": {
"taxRate": 0,
"taxAmount": 0
}
},
"customsDuty": {
"customsDutyRate": 0,
"customsDutyAmount": 0,
"additionalDutyRate": 0,
"additionalDutyAmount": 0
},
"compliance": {
"exportCodes": [
"string"
],
"importCodes": [
"string"
],
"transportCodes": [
"string"
],
"clearanceCodes": [
"string"
],
"hasProhibited": true,
"hasRestricted": true,
"requiresLicenses": true,
"requiresCertificates": true
}
}
],
"shipping": {
"enabled": true,
"provider": "string",
"shippingCost": 0,
"shippingCostWithTax": 0,
"shippingTaxRate": 0,
"shippingTaxAmount": 0,
"totalCostWithShipping": 0,
"shipmentId": "string",
"rateId": "string",
"rates": [
{
"id": "string",
"name": "string",
"carrier": {
"name": "string",
"code": "string"
},
"price": {
"amount": 0,
"currency": "string"
},
"estimatedDeliveryDays": 0,
"signatureRequired": true,
"trackingIncluded": true,
"shipmentId": "string"
}
],
"parcel": {
"weight": 0,
"width": 0,
"length": 0,
"height": 0,
"template": "string"
}
},
"warnings": [
"string"
],
"deniedParties": {
"sender": {
"scoreCalculated": 0,
"listsMatched": 0,
"matches": [
{}
]
},
"recipient": {
"scoreCalculated": 0,
"listsMatched": 0,
"matches": [
{}
]
}
},
"isIOSSCompliant": true
}