Account Fetch
The entity uses this webhook to authenticate the user with the requested data and return the corresponding response.
INFO
The same webhook is also used to get the latest status of user accounts.
MANDATORY
A supplementary request to Add Account API is required if the user verification is successful.
Request
You must add an
accountFetch callback URI
to the webhook profile to receive requests from us.
Parameters
Parameter | Type | Description |
---|---|---|
data |
| |
mobile |
| Mobile number of user. Character length : 10 Eg: 9876543210 |
country_code |
| Country code for the mobile number. Character length : 2 Eg: 91 |
dob |
| Date of birth of user. Format - YYYY-MM-DD Eg: 2020-11-20 |
Request format
Response
MANDATORY
All parameters
in the response are required to proceed.
Parameters
Parameter | Type | Description |
---|---|---|
head |
| |
HTTP_CODE |
| HTTP response status codes. Refer |
result |
| |
code |
| Result code for the response. Find result codes |
status |
| The status against the request.
Allowed values: |
Response format
Result Code
Success
1001
- SUCCESS
Failed
2011
- No active account found.2012
- Account not found for user.2013
- DOB mismatch.2014
- Mobile number not found.
Last updated