use_voucher
Mark loyalty vouchers as redeemed when customers use them at merchants. This merchant-only operation updates voucher status in on-chain loyalty programs.
Instructions
Mark a voucher as used (redeemed by customer at merchant). Merchant-only operation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "use_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voucher_code | No | Voucher code (e.g. LOYAL-XXXX-XXXX-XXXX-XXXX) | |
| voucher_id | No | Voucher UUID (alternative to code) |