Create a Token (Card)
This endpoint creates a single-use token that securely contains the details of a credit card.
post/
Request
- Base URLhttps://api.tap.company/v2/tokens
- URLhttps://api.tap.company/v2/tokens/
- AuthAPI key in header Authorization
Request body
Response
200
Example response
{
"id": "tok_SpTV5823926VPgE27bU3O801",
"created": 1682587618801,
"object": "token",
"type": "CARD",
"card": {
"id": "card_u35O5823926okiJ27sk3D805",
"object": "card",
"address": {
"country": "Kuwait",
"city": "Kuwait city",
"avenue": "Gulf",
"street": "Salim",
"line1": "Salmiya, 21"
},
"funding": "DEBIT",
"fingerprint": "E1I78d8PV0UHivCrvV8dTkI%2FQJRHPow4XAU4FfmZxCQ%3D",
"brand": "VISA",
"scheme": "VISA",
"name": "test user",
"issuer": {
"bank": "THE CO-OPERATIVE BANK PLC",
"country": "GB",
"id": "bnk_TS06A1120231227Kx242704090"
},
"exp_month": 1,
"exp_year": 39,
"last_four": "1019",
"first_six": "450875"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.