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 "AuthorizationGLOREMIT <UID>:<PWD>:<rspSign>"
-d ""

Request Description

Parameter NameRequiredMin/Max LengthTypeRemark
UIDM5/50AlphanumericUsername for validation.
PWDM5/50AlphanumericPassword for validation, 3DES encrypted.
rspSignM32/50AlphanumericDigital signature of RSP.
(Please refer to Digital signature)
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 refer to Transaction status)
CancelIDMAlphaNumeric15-character cancellation ID.
DescriptionMAlphaNumericTransaction description or advice.
transIDMAlphaNumericUnique Transaction ID from RSP.

M= Mandatory, C= Conditional, O= Optional