Check token info & card
API Check token info & card
Endpoint: /api/v1.1/token/{order_id}
Method: GET
Header: How to generate JWT_TOKEN
{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}
HTTP Request: Empty
HTTP Response:
Params | Data type | Description |
---|---|---|
errorCode | Integer | Error Code |
message | String | Error Description |
tokenResult | Json | Information token and card saved |
Example Response
{
"errorCode": 0,
"message": "Thành công",
"tokenResult": {
"status": "active",
"token": "2608305625050425",
"card_name": "NGUYEN VAN A",
"card_number": "970400xxxxxx0018",
"card_date": "",
"card_type": "ATM_CARD"
}
}