Refund a charge
refund_chargeRefund a paid booking charge, extra, tip or fee to the customer's card, in full or in part. Refunds one payment from list_charges (payment_log_id and its booking_id) through the store's payment processor, as the Refund popup of the Charges page does. amount includes tax and defaults to what is not refunded yet; less than that is a partial refund. Cancellation and reschedule fees are refunded only in full. The customer is not emailed unless notify_customer is true. Refused before you confirm when the store has no payment processor, the payment is not paid or the amount is too large. A booking paid partly with a gift card or referral credit is refunded in the panel. Money goes back to the customer and cannot be taken back. By default you confirm each call; you can switch that off for this tool. Waits for the owner's approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to refund, tax included. Default: everything not refunded yet. | |
| reason | Yes | Refund reason. | |
| booking_id | Yes | Booking id from list_bookings. | |
| payment_log_id | Yes | payment_log_id of a paid payment, from list_charges. | |
| notify_customer | No | Email the customer about the refund. Default: false. |