POST
/
cards
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"
  }
}

Body

card_holder
object

The cardholder who will hold the card.

Response

success
number

Indicates whether the call was successful. 1 if successful, error code if not.

data
object

The contents of the card creation transaction