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.
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 |