Issue Kash personal voucher
personal_voucher_issueIssue a personal voucher for one customer. Requires explicit confirmation and an active shop administrator or manager. Reuse the same key and arguments for a 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": {
"confirm": "<confirm>",
"idempotency_key": "<idempotency_key>",
"customer_id": "<customer_id>",
"kind": "<kind>",
"value": "<value>",
"label": "<label>"
},
"name": "personal_voucher_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| label | Yes | ||
| value | Yes | Positive decimal amount. For a percentage, use at most two decimal places and a maximum of 100. | |
| confirm | Yes | Set to true when the user explicitly requests this issuance. | |
| minimum | No | ||
| expires_on | No | Calendar date in YYYY-MM-DD format. | |
| customer_id | Yes | Kash customer ID. | |
| idempotency_key | Yes | Unique request key for this operation, such as a UUID. Reuse the same key and arguments when retrying. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |