- DATE:
- AUTHOR:
- The Duffel team
API
Stays
You can now filter Stays search results by when payment is collected
DATE:
AUTHOR:
The Duffel team
When you search for Stays, you may want to control whether payment is collected at booking time or at the accommodation. This helps you build a consistent checkout flow and avoid unexpected pay-at-property rates.
You can now express this preference at search time by passing instant_payment in your Stays search request.
Set
instant_payment: trueto return only accommodation and rates where payment is collected at the time of booking by Duffel or the source.Set
instant_payment: falseto return only rates where payment is collected by the accommodation.Omit the field to return all rates, as today.
Head to our API Reference to learn more.