Skip to navigation

Purchase response data dictionary

Every element AWP returns in a JSON Purchase Response.
ElementTypeDefinition
ElementyDefinitionReq. (R)
Opt. (O)Details
PurchasesResponse
TransactionIDUnique identifier for each XML transaction (request and response) that is generated by the partner. Typically a cart number.R
PurchasesResponse/Status
CodeStatus code that indicates whether or the request was processed successfully. Valid values include SUCCESS and FAILURE.R
MessageStatus message that indicates the type of FAILURE. Examples include System Error, Invalid Data, Missing Data, and Insurance Unavailable.O
ReasonStatus reason that explains the message in more detail.O
SourceField or element that is the source of the failure.O
PurchasesResponse/Purchases/Purchase
PartnerBookingIDUnique identifier for the travel booking and purchase date that is generated by the partner.R
OrderIDAWP’s unique identifier for the insurance purchase.R
InsuranceBookingSta tusThe billing status for this insurance booking. Some of the valid values are ‘NEW’, ‘PENDING’, ‘CHARGED’, and ‘DECLINED’.R
ElementyDefinitionReq. (R)
Opt. (O)Details
PurchasesResponse/Purchases/Purchase/ProductDetails
PurchasesResponse/Purchases/Purchase/ProductDetails/Product
SequenceUnique sequence number for this purchase and product.R
ProductIDThe identifier for the insurance product. It may be a product name or code.O
ProductBookingIDThe insurance product booking id or policy number.O
PolicyDateTimeThe date and time the insurance product was successfully processed.O