Refund payment
checkout_refund_paymentREFUNDS a captured payment — this MOVES MONEY BACK to the customer (full or partial). Checkout.com: POST /payments/{id}/refunds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment id to refund, e.g. 'pay_...'. Required. | |
| amount | No | Amount to refund in MINOR units (defaults to the full captured amount). | |
| metadata | No | Arbitrary key/value metadata to attach to the refund. | |
| reference | No | Your reference for the refund. | |
| idempotency_key | No | Idempotency key — sent as the Cko-Idempotency-Key header. |