Refund a transaction
refund_transactionIssue a customer refund for a specific order. Requires explicit confirmation because it moves real funds and cannot be undone; verify the amount before calling.
Instructions
Refund a transaction, returning the money to the customer. This moves real funds and cannot be undone. Refuses to run without confirm: true. Check the amount with get_transactions or get_customer before calling, because the order id alone does not tell you how much is about to move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which configured ThriveCart account to use, by name (for example 'navid-media'). Defaults to the first configured account. Call list_accounts to see them. Figures from one cart never include another. | |
| confirm | No | Must be true for this to run. This moves money or ends a customer's access and cannot be undone, so it is refused without an explicit confirmation. | |
| order_id | Yes | The order or subscription id, from get_customer or get_transactions. |