Recurly: Refund invoice
recurly_refund_invoiceRecurly: Refund a line item or the whole invoice by quantity, amount or percentage. Refunds part or all of one invoice and creates a refund credit invoice with credit line items against the paid charges. Methods: quantity on a line item, a specific amount, or a percentage. Amount and percentage refunds on a line item need the Only Bill What Changed and Credit Memos features on your site. The money goes back as account credit by default; refund_apply_order transaction sends it to the payment method first. It moves money to the customer. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | quantity, amount or percentage. | |
| prorate | No | Prorate the refunded line item. Default: false. | |
| quantity | No | Units to refund. Required for method quantity. | |
| percentage | No | Percentage to refund. Required for method percentage. | |
| line_item_id | No | Line item from get_invoice. Omit to refund the entire invoice (amount or percentage only). | |
| invoice_number | Yes | Invoice number from list_invoices. | |
| amount_in_cents | No | Amount to refund. Required for method amount. | |
| refund_apply_order | No | credit or transaction. Default: credit. |