debit_gift_card
Reduce a gift card's balance by creating a debit transaction. Specify gift card ID, amount, and currency code to deduct funds.
Instructions
Debit (deduct) from a gift card. Creates a debit transaction that decreases the gift card balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"amount": "<amount>",
"currencyCode": "<currencyCode>"
},
"name": "debit_gift_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gift Card ID | |
| note | No | Transaction note | |
| amount | Yes | Amount to debit | |
| currencyCode | Yes | Currency code (e.g., 'USD') |