- The Duffel team
We've improved our validations when you create an order
AUTHOR: The Duffel team
When you create an order, we want to do as much as possible to check for any errors on our side (for example missing or invalid data) before we send the details over to the airline.
This helps us to provide a faster API and clean and easy-to-understand error messages.
We've added a range of new validations, for example:
checking that your payment amount and currency match the offer
checking that you've given details for all of the passengers in the offer