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

Query

id
string

This is the ID of the card

Body

masked-card-number
string

This is the masked card number in form of 4566 **** **** 1234.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.

data
object

The contents of the transaction