Ducroire: finalize a booking with payment
- Booking
- Booking
- 2 routes
This scenario documents a short flow used to turn a ready proposal into a confirmed booking. It starts by creating the booking and then validates it by registering one or more payments on the created file.
It is useful when an integration needs to secure the transition from proposal to booking while keeping track of the returned booking_id and option durability.
Overview
This scenario documents the Ducroire flow as a short booking finalization journey. POST/v3/bookings creates the booking from a ready proposal and returns the booking_id together with option durability information. PATCH/v2/bookings/{booking_id} is then used to validate the booking by making one or more payments.
Prerequisites
- Have a valid
x-api-key. - Send an
accept-languageconsistent with the proposal creation context. - Prepare a proposal that already contains attendee information.
- Reuse the
booking_idreturned by the creation step. - When your integration context requires it, send a valid bearer token.
- The exact request body schema is not visible in the available sources for either route and must therefore be verified separately before implementation.
Expected result
At the end of the flow, the integration has created a booking and attempted its payment validation on the same file.