Balance
This method is used to fetch available wallet balance in the API.
Service URL (REST) to be used:
Balance Request
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | EndUserIp | String | IP address of the End User | Mandatory |
| 2 | ClientId | String | Client ID is provided to the agency at the time of registration. | Mandatory |
| 3 | UserName | String | User name is provided to the agency at the time of registration. | Mandatory |
| 4 | Password | String | Password is provided to the agency at the time of registration. | Mandatory |
Balance Response
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | Error{} | Object | Error | Mandatory |
| 1.1 | ErrorCode | Integer | Code corresponding to the Error | Mandatory |
| 1.2 | ErrorMessage | String | Contains error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode = 0. | Mandatory |
| 2 | Balance | Decimal | Available Balance | Mandatory |
| 3 | CreditLimit | Decimal | Available Credit Limit | Mandatory |