BOOKING FLOW
The objective of this document is to describe the booking flow.
This flow is applicable across all verticals
Api Services
| Section | Description |
|---|---|
| Pre-Book | Ensures that the fare obtained through the search is still valid for booking. Additionally, it provides a token with an expiration time, which is essential to proceed with the booking. This service is only available to active affiliates. |
| Payments | Quotes the result of the pre-book and presents available payment methods, amounts, and discounts. Users can interact with this service by specifying the points customers wish to redeem, generating a quote that incorporates these redemptions. |
| Book | Responsible for confirming and issuing the reservation. |
| Status | Provides updates about the status of the flight reservation. |
Flow
sequenceDiagram
Actor Partner
participant Prebook as /Prebook
participant Payments as /Payments
participant Book as /Book
Partner->>Prebook: choice_id
Prebook-->>Partner: prebook_id, expiration time
Partner->>Payments: prebook_id
Payments-->>Partner: plan_id
Partner->>Book: prebook_id, plan_id, invoice info
Book-->>Partner: 200 OK / estado de reserva
Updated 4 months ago