Posting a card creates a new physical or virtual card
curl --location --request POST 'https://api.xente.co/cards' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"card_holder": ""
}'
{
"success": 1,
"data": {
"transaction_id": "123123",
"client_reference": "34567",
"message": "queued"
}
}
The cardholder who will hold the card.
Indicates whether the call was successful. 1 if successful, error code if not.
The contents of the card creation transaction
curl --location --request POST 'https://api.xente.co/cards' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"card_holder": ""
}'
{
"success": 1,
"data": {
"transaction_id": "123123",
"client_reference": "34567",
"message": "queued"
}
}
curl --location --request POST 'https://api.xente.co/cards' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"card_holder": ""
}'
{
"success": 1,
"data": {
"transaction_id": "123123",
"client_reference": "34567",
"message": "queued"
}
}