menu

GetAgencyBalance

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


GetAgencyBalance Request

Level

Element

Format

Remark

Mandatory/ Optional

1

UserName

String

Username provided to the agency

Mandatory

2

Password

String

Password provided to agency

Mandatory

3

BookingMode

String

Always "API" as a mode of the booking

Mandatory

4

EndUserIp

String

IP address of the End User

Mandatory



GetAgencyBalance Response

Level

Element

Format

Comments

Mandatory/ Optional

1

Currency

String

Configured currency

Mandatory

2

TotalAvailableLimit

String

TBOWallet Available Balance

Mandatory

3

LocalCurrency

String

Agency Preference Currency

Mandatory

4

LocalCurrencyROE

String

RateofExchange with respect to USD

Mandatory

5

IsSuccess

Boolean

Response status

Mandatory (True - Successful and False - Failure)

6

TokenId

String

Token ID

Mandatory (Token Id to be echoed back in further requests valid for 20 hrs

7

TrackingId

String

TrackingId should be null in the authentication response

Mandatory

8

ErrorCode

Integer

Code corresponding to the Error

Non-Mandatory

9

ErrorMessage

String

Contains error message

Mandatory (User Message,Timestamp, Resolution,corresponding to ErrorCode. Error Message would beblank in case ErrorCode=0)