redeem_gift_card
Apply a gift card to an in-person purchase. Use the card ID and an amount in its currency's minor units. Reuse the same idempotency key on retry.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "redeem_gift_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | No | ||
| amount | Yes | ||
| idempotencyKey | Yes |