refund_payment
Refund a payment fully or partially by specifying the payment ID, amount in cents, and reason. This action is irreversible.
Instructions
Issue a full or partial refund for a payment. Use with caution — this action cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes | The payment ID to refund (e.g. pay_xxxx). | |
| amount | No | Refund amount in cents. Omit for a full refund. | |
| reason | No | Reason for the refund. |