Register Remitter Api
Register Remitter
Developer should know !
As mentioned in remitter search API if remitter is not found registered in the system, then by this API remitter can registered themselves, by filling below details with OTP and KEY received from "REMITTER SEARCH API".
Endpoint URL :
Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|---|---|---|---|---|---|
| mobile_no | integer | Yes | Remitter mobile number | |||
| otp | integer | Yes | Received on remitter mobile | |||
| key | string | Yes | Received in remitter search api | |||
| first_name | string | Yes | First name of the remitter | |||
| last_name | string | Yes | Last name of the remitter | |||
| dob | string | Yes | Date of Birth of remitter (YYYY-MM-DD) | |||
| state_id | integer | Yes | State id of the remitter For State List Api Click Here |
|||
| address | string | Yes | Address of the remitter | |||
| pincode | integer | Yes | 6 digit pincode of the remitter |
Request Example [JSON]
Responses (JSON)
- status_code (integer): The status code of the response.
- status (string): Indicates whether the operation was a success or a failure.
- message (string): Remitter successfully registered.
{"status_code": 2, "status":"FAILED", "message": "token is required"}
- status_code (integer): 2
- message (string): "A specific validation error message."
- status (string): "FAILED"
{"status_code": 0, "status":"FAILED", "message": "Unable to proccess your request"}
- status_code (integer): 0
- message (string): "Unable to proccess your request"
- status (string): "FAILED"
Note
- The API endpoint should be accessed via a POST request.
- All requests must include a Bearer Token in the Authorization header to authenticate the request.
- Please always update your transaction with status key and SUCCESS, PENDING, FAILED value.
- Implement proper error handling on the client side to display user-friendly error messages based on the 'status' and 'message' fields in the response.