v1
latestOpenAPI 3.1.02026-07-2414085.2 KBTokenize a card
Tokenizes a card within the system, returning a token that can be used for subsequent transactions.
post/credit_cards
Request body
Example request
{
"customer_id": "071-C-ABC123"
}Response
200
Example response
{
"successful": true,
"response": {
"token": "abcdef",
"card_holder": "Bob Smitch",
"card_number": "512345XXXXXX2346",
"card_expiry": "2030-05-31",
"card_type": "MasterCard",
"card_category": "Credit",
"card_subcategory": "Credit",
"card_issuer": "Westpac",
"card_country": "Australia",
"authorized": true
},
"test": true
}