v1 | December 7, 2021
- Travel Bank statement APIs provides list of transactions for a given travel bank account over a set period of time. Statement has following data: - Any tickets that used travel bank as the full or partial payment Refunds that went to the TB account Any other service credits in the account There are two APIs: - ListOfTransactions: This API provides general list of all transactions for a given period of time. TransactionDetails: This API provides details for selected transaction.
API Information
Format
JSON
Endpoint
/v1/travelBank/getStatement
Current Version
1
Environment
Production
What's New
- Travel Bank statement APIs provides list of transactions for a given travel bank account over a set period of time. Statement has following data: - Any tickets that used travel bank as the full or partial payment Refunds that went to the TB account Any other service credits in the account There are two APIs: - ListOfTransactions: This API provides general list of all transactions for a given period of time. TransactionDetails: This API provides details for selected transaction.
Business Value
- API provide transaction details for a given travel bank account transaction ID. Statement provides transparency and accountability to travelers for their TB account. Airlines can use travel bank statement APIs to support their internal business initiatives and create their own customer interface.
New Features
In the Request
Required
- Parameter: accountNumber
-
Type: string
Description: TravelBank Account Number.
Sample Value:
8998001116697703
In the Request
Required
- Parameter: startDate
-
Type: string
Description: The start date in `YYYY-MM-DD` format from which transactions needs to be retrieved.
Sample Value:
2019-07-09
In the Request
Required
- Parameter: endDate
-
Type: string
Description: The end date in `YYYY-MM-DD` format until which transactions needs to be retrieved.
Sample Value:
2019-07-09
In the Request
Required
- Parameter: transactionsRange
-
Type: string
Description: The start and end index for transactions to be responded back and it starts from 1 and both start and end index is included in the response.
Sample Value:
1-20
In the Request
Required
- Parameter: airlineAccountingCode
-
Type: string
Description: The three-digit numeric code assigned to the airline for accounting purposes.
Sample Value:
998
In the Request
Optional
- Parameter: requestId
-
Type: string
Description: Tracking Id for the request.
Sample Value:
15C5E369F4DA287CA176F409BA059C1F