POSTOnboard User
Register a new agent/retailer (merchant) on the EPS platform and receive their user_code.
Onboards a merchant or retailer as a user on the platform. On success a unique user_code is returned — save it; every downstream request for that agent passes this user_code.
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
initiator_id | string | required | Registered mobile number of the API user (see Platform Credentials).e.g. 9962981729 |
user_code | string | required | User code of the retailer/agent the service is run for.e.g. 20810200 |
client_ref_id | string | optional | Unique reference id per API call, generated by your system.e.g. REQ-20260101-001 |
pan_number | string | required | PAN card number of the agent.e.g. ABCDE1234F |
mobile | string | required | Verified mobile number of the agent.e.g. 9876543210 |
first_name | string | required | First name of the agent.e.g. Ramesh |
last_name | string | required | Last name of the agent.e.g. Kumar |
email | string | required | Email ID of the agent.e.g. ramesh@example.com |
residence_address | array | required | Residence address of the agent as an array of strings.e.g. 123 MG Road,Bangalore,Karnataka,560001 |
dob | string | required | Date of birth of the agent in YYYY-MM-DD format.e.g. 1990-05-15 |
shop_name | string | required | Shop name of the agent (required for AePS onboarding).e.g. Ramesh Mobile Store |
initiator_idstringRequiredRegistered mobile number of the API user (see Platform Credentials).
example: 9962981729
user_codestringRequiredUser code of the retailer/agent the service is run for.
example: 20810200
client_ref_idstringoptionalUnique reference id per API call, generated by your system.
example: REQ-20260101-001
pan_numberstringRequiredPAN card number of the agent.
example: ABCDE1234F
mobilestringRequiredVerified mobile number of the agent.
example: 9876543210
first_namestringRequiredFirst name of the agent.
example: Ramesh
last_namestringRequiredLast name of the agent.
example: Kumar
emailstringRequiredEmail ID of the agent.
example: ramesh@example.com
residence_addressarrayRequiredResidence address of the agent as an array of strings.
example: 123 MG Road,Bangalore,Karnataka,560001
dobstringRequiredDate of birth of the agent in YYYY-MM-DD format.
example: 1990-05-15
shop_namestringRequiredShop name of the agent (required for AePS onboarding).
example: Ramesh Mobile Store
Headers
| Field | Type | Required | Description |
|---|---|---|---|
developer_key | string | required | Static API key issued to your account after KYC. |
secret-key | string | required | Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))). |
secret-key-timestamp | string | required | Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time. |
content-type | string | required | application/jsone.g. application/json |
developer_keystringRequiredStatic API key issued to your account after KYC.
secret-keystringRequiredDynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).
secret-key-timestampstringRequiredCurrent time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.
content-typestringRequiredapplication/json
example: application/json
Responses
statusnumberPrimary success indicator (0 = success).
messagestringHuman-readable response / error message.
response_status_idnumberGranular status id; see the shared error-codes table.
response_type_idnumberA unique id for every possible response shape (success or error) — useful for client logic branching and analytics.
dataobjectAPI-specific response payload.
user_codestringUnique code for the onboarded agent — save it and pass on every downstream request.
initiator_idstringYour registered initiator id (echoed back).