Accounts
Transactions
Cards
Mobile Money
Bank Transfers
Airtime
Internet
Bills
People
Cards
Get cards
This endpoint gets the list of cards under an account
GET
/
v2
/
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
This is the ID of the card
Body
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
The contents of the transaction
The unique id of the card
The id that your system uses to identify the transaction
The name of the card
Currency of the card
The balance on the card
Status of the transaction
name of person or business holding the card
A list of transactions on the account
An card statement showing debits and credits
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"
}
}
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"
}
}