Agent Onboarding (PPI)
Agent Onboarding (PPI).
Agent Onboarding APIs
Agent Onboarding
API | Description |
---|---|
Agent Onboarding Url | Use this API to Agent Onboarding |
Agent Onboarding (PPI)
Postman Collection
URL
POST : /v1/service/dmt/agentHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantCode (String) Required
Merchant unique Code(You will get merchantCode from digio kyc API) (Max Length: 20)
Merchant unique Code(You will get merchantCode from digio kyc API) (Max Length: 20)
name (String) Required
Agent name (Max Length: 20)
Agent name (Max Length: 20)
mobile (String) Required
Agent mobile (Max Length: 10)
Agent mobile (Max Length: 10)
email (String) Required
Agent email (Max Length: 50)
Agent email (Max Length: 50)
firmName (String) Required
Shop name of Agent (Max Length: 150)
Shop name of Agent (Max Length: 150)
address (String) Required
address of Agent (Max Length: 250)
address of Agent (Max Length: 250)
pinCode (String) Required
pin code of Agent (Max Length: 6)
pin code of Agent (Max Length: 6)
state (String) Required
state of Agent (Max Length: 100)
state of Agent (Max Length: 100)
aadhaar (String) Required
aadhaar no of Agent (Max Length: 12)
aadhaar no of Agent (Max Length: 12)
pan (String) Required
pan no of Agent (Max Length: 10)
pan no of Agent (Max Length: 10)
latitude (String) Required
latitude of Agent (Max Length: 8)
latitude of Agent (Max Length: 8)
longitude (String) Required
longitude of Agent (Max Length: 8)
longitude of Agent (Max Length: 8)
Request
Example Request
curl --location '/v1/service/dmt/agent' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantCode" : "MIDXXXXXXXXXX",
"name" : "Anil XXX",
"mobile" : "6393XXXXXX" ,
"email" : "kumaxxx@xxxxx.com",
"firmName" : "AYZ",
"address" : "HOUSE NO.215 ",
"pinCode" : "224XXX",
"aadhaar" : "5500XXXXXXXX",
"pan" : "ENGXXXXXX",
"state" : "Uttar Pradesh",
"latitude" : "2X.9X9",
"longitude" : "8X.3X32"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "BC Agent Registered Successfully",
"status": "SUCCESS",
"data": {
"outletId": "O99XXXXXX"
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "The merchant code should be unique."
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |
0x0207 | REVERSED | TRANSACTION REVERSED |
0x0209 | REDIRECT | REDIRECT URL |