Refund sale
refund_saleIssue full or partial refunds for a Gumroad sale using its sale ID; explicit confirmation is required before processing.
Instructions
Refund sale. Reviewed native PUT /sales/:id/refund; scope: edit_sales. Requires explicit per-call confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private profile label; never inherited credentials, ownership or scope proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| sale_id | Yes | Exact opaque provider ID, including native = padding. | |
| full_refund | No | Deliberate full refund. Must be true if amount_cents is omitted, and cannot coexist with it. | |
| amount_cents | No | (optional) - Amount to refund, in minor units of the sale's listed currency — the `currency` field on the sale object, not the buyer's local currency. Every listed currency has 100 minor units except `jpy`, which has none (whole yen), so for most sales 200 means 2.00 of that currency, but for a JPY sale 200 means ¥200. If set, issue partial refund by this amount. If not set, issue full refund. You can issue multiple partial refunds per sale until it is fully refunded. |