3. Get Details (Optional)
Get Details allows you to reference an existing previous transaction and obtain it's details.
POST Request to {Endpoint}/pay/getDetails #
JSON Body Parameter
Parameter
Type
Details
txID
String
txID provided in response to the payment authorization request
JSON Body Request Example:
{
"txID": "111111"
}
JSON Success Response (Status Code 200)
```json
{
"success": true,
"data": {
"txID": "127151",
"merchantID": "00",
"orderAmount": 23.54,
"paymentStatus": "APPROVED",
"state": "QUEUED",
"mintHash": "",
"mintDate": "2023-09-20T04:55:05.711Z"
}
}
```
For 3D Declined Transactions
{
"success": true,
"data": {
"txID": "141840",
"merchantID": "tst-1",
"orderAmount": 11.11,
"reason": "33-CARD EXPIRED",
"paymentStatus": "DECLINED",
"state": "DECLINED"
}
}
Last updated