This page provides guidance on how to use the Transaction ID required in PolarHub.
It explains the proper usage and handling of Transaction IDs within API requests to ensure accurate processing and system consistency.
1. Purpose#
Transaction ID is required for API flow tracking and continuity.
It ensures that multiple API calls belonging to the same booking session can be linked together.2. Generation Rules#
Max Length: 32 characters
3. Usage Rules#
v2 AirShopping → Generate a new Transaction ID
v2 OfferPrice → Use the same Transaction ID
v2 OrderCreate → Use the same Transaction ID
v2 OrderRetrieve → Generate a new Transaction ID
Use the same Transaction ID from OrderRetrieve for all subsequent APIs: ⚠️ Note
If you perform OrderRetrieve for a different booking, you must generate a new Transaction ID.Sample Codes#