Get transaction status
GET_TRANS_STATUS request
Gets order status from Payment Platform. This request is sent by POST in the background (e.g., through PHP CURL).
Request parameters
| Parameter | Description | Values | Required |
|---|---|---|---|
action | GET_TRANS_STATUS | GET_TRANS_STATUS | + |
client_key | Unique client key (CLIENT_KEY) | + | |
trans_id | Transaction ID in the Payment Platform | String up to 255 characters | + |
hash | Special signature to validate your request to Payment Platform | See Appendix A, GET_TRANS_STATUS signature | + |
Response parameters
| Parameter | Description |
|---|---|
action | GET_TRANS_STATUS |
result | SUCCESS |
status | 3DS / REDIRECT / PREPARE / PENDING / DECLINED / SETTLED / REFUND / REVERSAL / VOID |
order_id | Order ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
decline_reason | Reason of transaction decline. It shows for the transactions with the “DECLINED” status |
extended_data * | Transaction extended data |
arn * | Acquirer Reference Number value from the acquirer system |
acquirer_name * | Name of the acquirer set on the MID that processed the payment. Not sent if the MID has no acquirer |
mid_descriptor * | Descriptor set on the MID that processed the payment. It is a fixed value of the MID, unlike descriptor, which is the bank's descriptor of the payment (or the MID descriptor if the bank returns none). Not sent if the MID has no descriptor |
* The parameters are included if the appropriate setup is configured in the admin panel (see “Add Data to” block in the Configurations -> Protocol Mappings section).