Retrieve a Token

This endpoint enables the retrieval of a specific Token ID, which is also provided in the Token response.

get/{token_id}

Request

  • Base URL
    https://api.tap.company/v2/tokens
  • URL
    https://api.tap.company/v2/tokens/{token_id}
  • Auth
    API key in header Authorization

Path parameters

token_idstring required

Unique identifier for the object.

Response

200

idstring
objectstring
client_ipstring
createdinteger
live_modeboolean
typestring
usedboolean

Example response

{
  "id": "tok_4VpPvSNJUHn723embBWuAgoK",
  "object": "token",
  "card": {
    "id": "card_Yi1lfqAk7twr8Be3hTPg0Fv4",
    "object": "card",
    "customer": "cst_sdsbd7tsd977",
    "funding": "CREDIT",
    "fingerprint": "t9g/phBxZ9ZR6JgHBZ8ty2Yfy",
    "brand": "AMEX",
    "exp_month": 12,
    "exp_year": 2019,
    "last_four": "0005",
    "first_six": "378282",
    "name": "test user"
  },
  "client_ip": "127.0.0.1",
  "created": 1533728879,
  "type": "CARD"
}

Changes

No recorded changes to this operation across all 1 revision of this API.