Transfer: Get Transaction Status
RSP can use this method to check and confirm the transaction status if such status is not conclusive in method Perform Transfer (REST) response.
There are two ways to retrieve transaction status, first is with GTN and the other is with transID.
Definition:
GET /v1/payments/transfers/{GTN}
Or
GET /v1/payments/transfers/requests/{transID}
Sample request:
curl -v http://staging-gloremit.tranglo.com:2014/v1/payments/transfers/G3317297423994 \
-H "Authorization: GLOREMIT <UID>:<PWD>:<rspSign>"
Or
curl -v http://staging-gloremit.tranglo.com:2014/v1/payments/transfers/requests/1202 \
-H "Authorization: GLOREMIT <UID>:<PWD>:<rspSign>"
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 | C | 14/14 | Numeric | 14-character GTN number from GloRemit. This field can be NULL if TransID value is submitted. |
transID | C | 6/16 | Alphanumeric | Unique transaction ID used by RSP in Do_Transfer method. This field can be NULL if GTN value is submitted. |
Sample response:
{ "PayoutID":"P331701002252", "PayoutPIN":"P331701002252", "PayoutStatus": "Claimed", "TrxStatus":"000", "GTN":"G3317297423994", "transID": "1202", "Description": "Transaction is Successful" }
Parameter Name | Required | Type | Remark |
TrxStatus | M | Numeric | Transaction status response code. (Please refer to Transaction status) |
GTN | M | Numeric | 14-character GTN number. |
transID | M | Alphanumeric | Unique Transaction ID from RSP. |
Description | M | Alphanumeric | Transaction description or advice. |
PayoutID | O | Alphanumeric | Payout ID from cash out supplier. |
PayoutPIN | O | Alphanumeric | Payout PIN from cash out supplier. |
PayoutStatus | O | Alphanumeric | Cash Pickup Payout Status. Claimed = Cash collected by Beneficiary. Inprocess = Pending Beneficiary to pickup. Cancelled = Transaction has been cancelled. If Credit to Bank transaction type, this will be empty. For PT Pos (Indonesia), status will be empty, RSP may check at PT Pos portal http://www.posindonesia.co.id/ |
PayoutStatusUpdateDate | O | DateTime | Payout datetime. |
Status_Type | O | Alphanumeric | Status Type. Possible Values: • Approved • Cancelled • Failed • Pending • Rejected • Suspected |
BAccType | O | Alphanumeric | Beneficiary Account Type |
M= Mandatory, C= Conditional, O= Optional