Used to define payment transactions to be collected from the recipient during consignment delivery.
CASH_ON_DELIVERY| Parameter | Type | Required | Description |
|---|---|---|---|
| amount | float/integer | Yes | Payment amount to be collected from the recipient |
| accountNumber | string | No | Postal check number used for PTT shipments |
{
"special_services": [
{
"service_type": "CASH_ON_DELIVERY",
"details": {
"amount": 134.52,
"accountNumber": "12312312"
}
}
]
}
amount parameter can be sent as an integer or decimal numberaccountNumber parameter is only used for PTT shipments// Basic usage
{
"service_type": "CASH_ON_DELIVERY",
"details": {
"amount": 100.50
}
}
// Usage for PTT
{
"service_type": "CASH_ON_DELIVERY",
"details": {
"amount": 150,
"accountNumber": "12345678"
}
}