Add Customer Balance API
Headers
Request Body Parameters
| Parameters | Parameter description with validations | Sample | Data type | Mandatory/Optional |
| otp | Otp that was passed to mobile number during generate otp | "3097" | Numeric String | Mandatory |
| params | params. It should be same as the params passed during otp generation | "LOADCUST3" | String | Mandatory |
| deviceId | Device Id | "123456" | String | Optional |
| latLong | Latitude and longitude | "12.3.4,12.34.45" | String | Mandatory |
| channel | It can be either ANDROID or WEB | "ANDROID" | String | Mandatory |
| purpose | Information regarding the purpose | "LOAD_CUSTOMER" | String | Mandatory |
| mobileNumber | Mobile Number of the Customer | "9938227888" | String | Mandatory |
| customerName | Name of the Customer | "CUST9938227888" | Mandatory | |
| amount | Amount that will be loaded | "1" | Numeric String | Mandatory |
Sample Request Body
Response Body Parameters
| Parameters | Description | Data type |
| statusCode | Status Code(0/1) | String |
| statusDesc | Status Description of Status | String |
| status | SUCCESS/FAILED | String |
Sample Response Body
SUCCESS:
FAILED:
If card is not mapped to the customer.
Detailed Status Codes
| Status | Response Type | Description |
| 0 | SUCCESS | Card loaded successfully |
| 1 | FAILED | Mobile number does not belong to the customer |