Skip to main content
Version: 1.1

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:

ParamsData typeDescription
errorCodeIntegerError Code
messageStringError Description
tokenResultJsonInformation 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"    }}