Issue refund
issue_refundRefund a customer's ticket charge through the billing provider after confirmation. Safe to retry; each ticket and charge is refunded at most once.
Instructions
Refund a customer's charge for a ticket through the billing provider, after the user confirms. Safe to retry: one ticket and charge are refunded at most once. Amounts are in cents.
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": {
"ticket_id": "<ticket_id>",
"charge_id": "<charge_id>",
"amount_cents": "<amount_cents>"
},
"name": "issue_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge_id | Yes | From get_customer, e.g. ch_8812 | |
| ticket_id | Yes | ||
| amount_cents | Yes | e.g. 4900 for $49.00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refund_id | Yes | ||
| amount_cents | Yes | ||
| idempotency_key | Yes |