Flight pricing
What each flight price field means, the b2bPrice formula, and how the exchange rate is presented.
Every flight pricing block exposes the same set of agency-facing money fields.
Field meanings
| Field | Meaning |
|---|---|
basePrice | Base fare set by the airline, before taxes (agency currency) |
taxesAndFees | Taxes plus all platform-side fees, folded together. Excludes your agency commission |
agencyCommission | Your own markup — what you charge the traveller on top |
finalPrice | What the traveller pays = basePrice + taxesAndFees + agencyCommission |
b2bPrice | The amount debited from your agency balance = finalPrice − agencyCommission |
totalAmount | Alias of b2bPrice on endpoints that expose it — the amount debited |
The formula
finalPrice = basePrice + taxesAndFees + agencyCommission
b2bPrice = finalPrice − agencyCommission (= debited from your balance)Example (Egyptian Pound, EGP):
{
"supplierCurrency": "EGP",
"agencyCurrency": "EGP",
"basePrice": 4200.00,
"taxesAndFees": 1850.00,
"agencyCommission": 300.00,
"finalPrice": 6350.00,
"b2bPrice": 6050.00
}Check: 4200 + 1850 + 300 = 6350 ✓ and 6350 − 300 = 6050 ✓
Exchange rate
When supplierCurrency differs from agencyCurrency (for example a supplier prices in USD and
your agency settles in NGN), an exchangeRate field appears at the response top level — not
inside the pricing block.
{
"exchangeRate": 1620.0,
"pricing": {
"supplierCurrency": "USD",
"agencyCurrency": "NGN",
"basePrice": 291600.00,
"taxesAndFees": 145800.00,
"agencyCommission": 8100.00,
"finalPrice": 445500.00,
"b2bPrice": 437400.00
}
}When both currencies are the same (e.g. EUR → EUR), no exchangeRate is included.
Per-traveler pricing
Search, price, and booking responses also include a travelerPricing array with a per-traveler
price object (base, total, and b2bPrice), so you can display a breakdown per passenger.
The per-traveler b2bPrice is that traveller's share of the amount debited.