Certification process
Back to Fulfillment home.
Before production access is enabled, all implementations must pass the certification process. Certification verifies that your integration handles both the happy path and error scenarios correctly for each operation.
Prerequisites
- A valid test environment credential (username and password) issued by your TravelCaster partner.
- At least one test booking created through the TravelCaster flight booking flow (with issued tickets).
- Confirmation from your TravelCaster partner that the test environment is ready.
Exchange certification
Execute the following scenarios in order. Each scenario must be completed successfully and the results submitted for review.
Scenario 1 — Full exchange flow
- Call
InitializeExchangefor a test booking and verify the response contains the expected itinerary, fare, and passengers. - Call
SearchExchangeAlternativesfor at least one leg. Verify:- The response includes a
RecommendationID. - At least one
ExchangeOfferis returned with one or moreOptionsper leg. TotalDue,PenaltyAmount, andPaxFareDetailsare populated.
- The response includes a
- Select an offer and call
FulfillExchangewith the correspondingRecommendationIDandReplaceWithOptionRefvalues. Verify:TransactionCode = "0".- The response contains updated itinerary and passenger data.
Scenario 2 — Recommendation expiry
- Call
SearchExchangeAlternativesand capture theRecommendationID. - Wait until the recommendation expires (or use an expired/invalid ID).
- Call
FulfillExchangewith the expired ID. Verify error code3003is returned.
Scenario 3 — Invalid offer selection
- Call
SearchExchangeAlternativesand capture aRecommendationID. - Call
FulfillExchangewith aReplaceWithOptionRefthat does not exist in any offer. Verify error code3005is returned.
Refund certification
Scenario 4 — Full refund flow
- Call
PreviewRefundfor a test booking with at least one refundable ticket. Verify:RefundAvailable = true.TicketDetailsis populated with refundable amounts per ticket.
- Call
FulfillRefundfor the same booking. Verify:TransactionCode = "0".RefundSuccessful = true.RefundedAmountscontains at least one entry with a non-zero amount.TicketDetailscontains at least one entry withRefunded = true.
Scenario 5 — Preview before refund
Verify that calling FulfillRefund without first calling PreviewRefund still succeeds and returns correct data. The preview step is recommended to the end user but is not enforced by the API.
Error handling certification
Scenario 6 — Authentication errors
- Call any operation with an empty or invalid token. Verify error code
1210is returned. - Call any operation with an expired token. Verify error code
1210is returned.
Scenario 7 — Permission errors
Call InitializeExchange or PreviewRefund with a booking number that belongs to a different agency. Verify error code 3000 is returned.
Submission
After completing all scenarios, provide your TravelCaster partner with:
- Request and response logs for each scenario (JSON).
- Confirmation of the test booking numbers used.
- Any integration notes or questions.
Your partner will review the logs and confirm certification or request adjustments.
Back to Fulfillment home.