Refund
Refund a payment through the original payment gateway, or register a refund you handled outside the platform. A refund does not cancel any service.
When to use it
| Who took the guest's payment | What to do |
|---|---|
| The platform, through its payment gateway | Call Refund with manualRefund: false (the default). |
| You, through your own payment provider | Refund in your provider. You can register it here with manualRefund: true so the booking's payment record matches. |
- For a cancellation, refund the amount paid minus the penalty from Cancellation fee.
- The spec doesn't say where to read
orderNumber. Thepaymentobject in Get booking is the likely place.
After a refund
- A
REFUNDwebhook fires when a refund succeeds. Accept it with a 2xx, like every webhook type. See Webhooks. - Don't send the same refund again after a timeout. Wait for the
REFUNDwebhook or check the booking first.
Errors
The spec documents no error schema and no status codes. Treat any non-2xx response as a failure and keep the raw body and the trace id.
Related
- Cancel: cancel the hotel first
- Cancellation fee: the amount to keep
- Cancellations guide: the whole sequence
- Webhooks: the
REFUNDevent
Service cancellation fee
The generic cancellation fee for a hotel service in a booking. Besides the fee, it returns the cancellation types the service supports and any related service with its own fee.
Client requests
Conversations attached to a booking. Ask for an amendment or a cancellation, raise a question or a complaint, reply, and reopen or close the thread. New requests and replies trigger a CLIENT_REQUEST webhook.