GetAgencyBalance method can be used to get realtime Balance in TBO Account. Service URL (REST) to be used: https://xmloutapi.tboair.com/API/V1//Wallet/GetAvailableBalance
Level
Element
Format
Remark
Mandatory/ Optional
1
UserName
String
Username provided to the agency
Mandatory
2
Password
Password provided to agency
3
BookingMode
Always "API" as a mode of the booking
4
EndUserIp
IP address of the End User
Comments
Currency
Configured currency
TotalAvailableLimit
TBOWallet Available Balance
LocalCurrency
Agency Preference Currency
LocalCurrencyROE
RateofExchange with respect to USD
5
IsSuccess
Boolean
Response status
Mandatory (True - Successful and False - Failure)
6
TokenId
Token ID
Mandatory (Token Id to be echoed back in further requests valid for 20 hrs
7
TrackingId
TrackingId should be null in the authentication response
8
ErrorCode
Integer
Code corresponding to the Error
Non-Mandatory
9
ErrorMessage
Contains error message
Mandatory (User Message,Timestamp, Resolution,corresponding to ErrorCode. Error Message would beblank in case ErrorCode=0)