Cancel a cross-border transaction
Changed onCancels one of your cross-border transactions before its payout is dispatched — while it is created or held in compliance_review — and releases the reserved funds back to your available balance. Synchronous: no partner is contacted, since nothing has been paid out. Sends the cross_border_transaction.cancelled webhook. Once the transaction is pending, pending_manual, successful or failed, it can no longer be cancelled. Cancelling an already-cancelled transaction returns it unchanged. The request has no body, so it is not signed: no X-Signature header is checked.
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Path parameters
Hub2 transaction identifier.
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Response
The cancelled transaction.
Example response
{
"id": "cbt_V1StGXR8Z5jdHi6BmyT",
"externalId": "MTO-TX-00123",
"status": "pending",
"senderId": "snd_V1StGXR8Z5jdHi6BmyT",
"corridor": "XOF_MOBILE_SENEGAL",
"rail": "mobile_wallet",
"inputCurrency": "EUR",
"inputAmount": "200",
"outputCurrency": "XOF",
"outputAmount": "129223",
"hub2Fee": "10.00",
"fees": [
{
"id": "fee_V1StGXR8Z5jdHi6BmyT",
"rate": "5.00",
"type": "percent",
"amount": "10.00",
"currency": "EUR",
"taxes": [
{
"id": "tax_V1StGXR8Z5jdHi6BmyT",
"taxType": "tva",
"type": "percent",
"value": "18.00"
}
]
}
],
"hub2Rate": "646.1176450000",
"failureCause": {
"code": "insufficient_funds"
},
"duplicateConfirmation": {
"rejectionId": "ndr_V1StGXR8_Z5jdHi6B-myT"
},
"idempotentReplay": true
}Changes
- info
endpoint added
- info