Links

Redeem a card

We call the change in balance of a card a "balance adjustment. So to create a redemption, make a mutation request to createBalanceAdjustment with a negative value.
API call
Variables
mutation(
$currency: String
$value: Int
$card_reference: String!
$merchant_id: Int!
) {
createBalanceAdjustment(
currency: $currency
card_reference: $card_reference
value: $value
merchant_id: $merchant_id
) {
id
value
LineItem {
Card {
id
card_reference
balance
initial_balance
created_at
updated_at
}
}
}
}
{
"currency": "GBP",
"card_reference": "6301190001944443757",
"value": -10, // £0.10 redemption
"merchant_id": 26
}