API Check transaction status
Endpoint: /api/v1/service/shopcard/transaction/{partnerRefId}
Method: GET
Header: How to generate JWT_TOKEN
{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}
Params
Params | Required | Type | Description |
---|---|---|---|
partnerRefId | √ | String | Counterparty transaction code included in API url |
Data result
Params | Type | Description |
---|---|---|
errorCode | Integer | Error code return |
message | String | Detailed description of the error code |
cards | Array of Object | Card Information |
cards[].code | String | Card code (in encrypted form) |
cards[].serial | String | Card Serial |
cards[].vendor | String | CardVendor |
cards[].value | Integer | Card value |
cards[].expiry | String | Card expiry date (format: y-m-d, vd: 29-09-2023) |
transaction | Object | Transaction information |
transaction.appotapayTransId | String | AppotaPay side transaction code |
amount | Integer | Transaction amount |
time | String | Transaction time (format: d-m-Y H:i:s) |