GET_TRANS_DETAILS request
Gets all history of transactions by the order. This request is sent by POST in the background (eg, through PHP CURL).
Request parameters
Parameter | Description | Values | Required field |
action | GET_TRANS_DETAILS | GET_TRANS_DETAILS | + |
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 | **(Appendix A) | + |
Response parameters
Parameter | Description |
action | GET_TRANS_DETAILS |
result | SUCCESS |
status | 3DS/PENDING/DECLINED/SETTLED/REVERSAL/REFUND/CHARGEBACK/SECOND_PRESENTME ARBITRATION |
order_id | Transaction ID in the Client’s system |
trans_id | Transaction ID in the Payment Platform |
name | Payer name |
Payer mail | |
ip | Payer IP |
amount | Order amount |
currency | Currency |
card | Card in the format XXXXXX****XXXX |
transactions 2 | Array of transactions |
2 – In the array each of transactions has: date, type, status (0-fail, 1-success) and amount. For example:
{"transactions":[
{"date":"2012-01-01 01:10:25","type":"AUTH","status":"1","amount":"1.95"},{"date":"2012-01-01
01:11:30","type":"CAPTURE","status":"1","amount":"1.95"},{"date":"2012-02-06
10:25:06","type":"REFUND","status":"1","amount":"1.95"}
]}