Skip to main content

Get Card Status

  https://api-sandbox.letpay.io/token/card/PUBLIC_CARD_ID

Retrieves the status of a tokenized card.

Request Fields

None.

Response Fields

  • status (string): The tokenized card status. Valid options: PENDING, ACTIVE, INACTIVE.
  • refresh_token (string): Updated access token for next calls.
AUTHORIZATIONAPI Key
KeyX-Auth-Token
ValueMY_ACCESS_TOKEN

Example Reques

Example Request

200 - Success
    curl --location 'https://api-sandbox.letpay.io/token/card/PUBLIC_CARD_ID' \
--header 'X-Auth-Token: MY_ACCESS_TOKEN'

Example Response

Header
  Content-Type: application/json
Body
    {
"status": "ACTIVE",
"refresh_token": "MY_ACCESS_TOKEN"
}