What is it?
Travel Bank service gives the user the ability to retrieve the Travel Bank statement as well as the detailed information about transactions that have been accounted for in the account.
Why use it?
Statement response contains the information about travel bank funds in the account, while the transaction details, all transaction that have been reported against the account (including all purchases, refunds, void etc).
How it works
There are two endpoints available to retrieve the statement of the account and transaction details for particular transaction.
Get Statement
The Statement provides information about all transaction involving the travel bank account. For example: ticket/ancillary purchase, refunds that were processed in the travel bank account and any other service credits in the account for the requested period of time and range.
Get Transaction Details
The Transaction Details contains the detailed information about particulate travel bank account usage. For example: the ticket number, the transaction date, the amount.
How to use
Get Statement
As a prerequisite to use this API particular airline user needs to log in using Digital Connect login service.
"userId": "XXXXXXXXXX",
"password": "XXXXXXXXXX"
}
As a next step Get Statement needs to be executed with a standard way how session identifier needs to be passed in Digital Connect platform. To ensure the successful response, your request should contain the below information:
- Add
startDate
to indicate starting date from which statement will be generated. - Add
endDate
to indicate ending date statement will be generated. - Add
transactionsRange
to indicate from the beginning to the end of the selected index will be returned.
Please note that CST time is used for dates provided as startDate and endDate.
"startDate": "2021-07-09",
"endDate": "2021-12-10",
"transactionsRange": "1-20"
}
Get Transaction Details
As a prerequisite to use this API particular airline user needs to log in using Digital Connect login service. If the user has already logged in when using Get Statement, additional log in is not required.
"userId": "XXXXXXXXXX",
"password": "XXXXXXXXXX"
}
As a next step Get Transaction Details needs to be executed with a standard way how session identifier needs to be passed in Digital Connect platform. To ensure the successful response, your request should contain the below information:
- Add
transactionId
to indicate details of transaction you would like to get. Id of transaction will be returned from get statement.{
"transactionId": "152586"
}