Agency Balance Log
This method is used to fetch the wallet balance log (ie. All the debit and credit being done in the wallet).
Service URL (REST) to be used:
API Balance Log
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | EndUserIp | String | IP address of the End User | Mandatory |
| 2 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
| 3 | UserName | String | User name provided to the agency at registration | Mandatory |
| 4 | Password | String | Password provided to the agency at registration | Mandatory |
API Balance Response
| Level | Element | Format | Comments | Mandatory |
|---|---|---|---|---|
| 1 | Error{} | Object | Error | Mandatory |
| 1.1 | ErrorCode | String | Error Code | Mandatory |
| 1.2 | ErrorMessage | String | Error Message | Mandatory |
| 2 | Result[] | Array | Contain the details of transaction | Mandatory |
| 2.1 | ID | Integer | Transaction ID | Mandatory |
| 2.2 | Date | Date Time | Contain the transaction date and time | Mandatory |
| 2.3 | ClientID | String | Client ID provided to the agency at registration | Mandatory |
| 2.4 | ClientName | String | Client Name created on registration | Mandatory |
| 2.5 | Detail | String | Transaction Details | Mandatory |
| 2.6 | Debit | Double | Debited amount from API wallet | Mandatory |
| 2.7 | Credit | Double | Credited amount to API wallet | Mandatory |
| 2.8 | Balance | Double | Available wallet balance | Mandatory |
| 2.9 | Module | String | Module for which wallet is debited. | Mandatory |
| 2.10 | TraceID | String | Trace ID | Mandatory |
| 2.11 | RefID | String | Reference ID | Mandatory |
| 2.12 | UpdatedBy | String | Updated by service provider | Mandatory |