Trigger a refund
trigger_refundIssue a refund to a customer account against the ledger. Provide customer ID, positive amount, and a reason logged verbatim to the audit trail.
Instructions
Issue a refund against a customer's account. The reason is written to the audit log verbatim, so it should say why the refund is warranted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Refund amount in account currency. Strictly positive, finite. | |
| reason | Yes | Why the refund is being issued. At least 10 characters after leading and trailing whitespace is removed. | |
| customer_id | Yes | Customer identifier in the form CUST-00000 (literally five digits). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||