TRANSFER: Cancel Transaction
RSP can use this method for cancel the transaction. Cancellation request will be based on the transaction status and corridors. For cash pickup transaction, only transaction with the payout status “In Process” or “Unclaim” is able to be cancel. For banks transactions, the cancelation is strictly based on the banks and country regulations.
Definition:
POST v1/payments/transfers/{GTN}/requests/{RSP_RequestID}/do-cancellation
Sample Request:
curl -v -X POST http://staging-gloremit.tranglo.com:2014/v1/payments/transfers/G7017299424305/requests/TEST596251664/do-cancellation \
-H "Content-Type: application/json" \
-H "Authorization: GLOREMIT <UID>:<PWD>:<rspSign>"
-d ""
Request Description
Parameter Name | Required | Min/Max Length | Type | Remark |
UID | M | 5/50 | Alphanumeric | Username for validation. |
PWD | M | 5/50 | Alphanumeric | Password for validation, 3DES encrypted. |
rspSign | M | 32/50 | Alphanumeric | Digital signature of RSP. (Please refer to Digital signature) |
GTN | M | 3/6 | Alphanumeric | Transaction GTN number. (14 characters) |
RSP_RequestID | C | 3/6 | Alphanumeric | Unique transaction ID used by RSP in Cancellation method. |
Response Description
Sample Response:
{ "TrxStatus":"946", "CancelID":"null", "transID":"TEST596251664", "Description":"Duplicate Request" }
Parameter Name | Required | Type | Remark |
TrxStatus | M | Numeric | Transaction status response code. (Please refer to Transaction status) |
CancelID | M | Alphanumeric | 14-character cancellation ID. |
Description | M | Alphanumeric | Transaction description or advice. |
transID | M | Alphanumeric | Unique Transaction ID from RSP. |
M= Mandatory, C= Conditional, O= Optional