Logo
Basis Theory API Documentation

Tokens Get By Id

GET {{baseUrl}}/tokens/:id

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "id": "hdU|uwE", "type": "ZQCBJGc", "tenant_id": "23BD3C6F-5DCE-2dca-7EBE-21BBC02bACaA", "data": { "nullable": true }, "metadata": { "ut4": "<string>" }, "enrichments": { "bin_details": { "card_brand": "<string>", "type": "<string>", "prepaid": "<boolean>", "card_segment_type": "<string>", "bank": { "name": "<string>", "phone": "<string>", "url": "<string>", "clean_name": "<string>" }, "product": { "code": "<string>", "name": "<string>" }, "country": { "alpha2": "<string>", "name": "<string>", "numeric": "<string>" }, "reloadable": "<boolean>", "pan_or_token": "<string>", "account_updater": "<boolean>", "alm": "<boolean>", "domestic_only": "<boolean>", "gambling_blocked": "<boolean>", "level2": "<boolean>", "level3": "<boolean>", "issuer_currency": "<string>", "combo_card": "<string>", "bin_length": "<integer>", "authentication": { "nullable": true }, "cost": { "nullable": true } }, "card_details": { "bin": "<string>", "last4": "<string>" } }, "created_by": "FcA9BAdc-CE5b-F000-7376-1Ce2df43aaF6", "created_at": "<dateTime>", "modified_by": "F80C12B0-8dc8-5b1e-d8e4-F5aEB4c12da5", "modified_at": "<dateTime>", "fingerprint": "75g9Ox", "fingerprint_expression": "%.eI", "mask": { "nullable": true }, "privacy": { "classification": "pxDdOq", "impact_level": "low", "restriction_policy": "mask" }, "search_indexes": [ "<string>", "<string>" ], "expires_at": "<dateTime>", "containers": "/Eppls", "aliases": [ "<string>" ] }



Curl
curl -X GET 'https://api.basistheory.com/tokens/:id' -H 'Accept: application/json'

ENDPOINTS