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 NameRequiredMin/Max LengthTypeRemark
rspSignM32/50AlphanumericDigital signature of RSP
UIDM5/50AlphanumericUsername for validation
PWDM5/50AlphanumericPassword for validation
GTNM3/6AlphanumericTransaction GTN number (14 characters)
RSP_RequestIDC3/6AlphanumericUnique transaction ID used by RSP in Cancellation method.

Response Description

Sample Response:

{
    "TrxStatus":"946",
    "CancelID":"null",
    "transID":"TEST596251664",
    "Description":"Duplicate Request"
}
Parameter NameRequiredTypeRemark
TrxStatusMNumericTransaction status response code. Please see Section 3.6 for full description
CancellationIDMAlphaNumeric14-character cancellation ID
DescriptionMAlphaNumericTransaction description or advice
transIDMAlphaNumericUnique Transaction ID from RSP