Balance check
To check a card balance, pass in the card_reference
to the Cards
query.
query Cards {
Cards(card_reference: "6301190004871637839") {
data {
card_reference
balance
card_alias_card_reference
initial_balance
product_name
created_at
used
expiry_time
validity_start_time
}
}
}
If no cards are found
If no cards are found for your query, the API will respond with blank JSON for “Data”:
{
"data": {
"Cards": {
"data": []
}
},
"extensions": {
"cost": {
"actualQueryCost": 16,
"throttleStatus": {
"maximumAvailable": 8000,
"currentlyAvailable": 7986
}
}
}
}
Last updated