curl --location --request GET 'https://api.xente.co/cards/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"masked-card-number": "4554 **** **** 1234"
}'
{
"success": 0,
"data": {
"card_id": 3,
"masked_card_number": "4876 *** **** 1234",
"name": "Name of the card e.g. Fuel card",
"currency": "USD",
"balance": "100",
"status": "active",
"card_holder": "Mary Jane",
"transactions": "list of transactions",
"statement": "account statement with credits and debits"
}
}
Patch a card with start to enable it to transact
curl --location --request GET 'https://api.xente.co/cards/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"masked-card-number": "4554 **** **** 1234"
}'
{
"success": 0,
"data": {
"card_id": 3,
"masked_card_number": "4876 *** **** 1234",
"name": "Name of the card e.g. Fuel card",
"currency": "USD",
"balance": "100",
"status": "active",
"card_holder": "Mary Jane",
"transactions": "list of transactions",
"statement": "account statement with credits and debits"
}
}
Show Toggle object
curl --location --request GET 'https://api.xente.co/cards/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"masked-card-number": "4554 **** **** 1234"
}'
{
"success": 0,
"data": {
"card_id": 3,
"masked_card_number": "4876 *** **** 1234",
"name": "Name of the card e.g. Fuel card",
"currency": "USD",
"balance": "100",
"status": "active",
"card_holder": "Mary Jane",
"transactions": "list of transactions",
"statement": "account statement with credits and debits"
}
}