Skip to main content

Agent Onboarding (PPI)

Agent Onboarding (PPI).

Agent Onboarding APIs

Agent Onboarding
APIDescription
Agent Onboarding UrlUse this API to Agent Onboarding

Agent Onboarding (PPI)

Postman Collection

URL

POST : /v1/service/dmt/agent

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

merchantCode  (String)   Required
Merchant unique Code(You will get merchantCode from digio kyc API) (Max Length: 20)
name  (String)   Required
Agent name (Max Length: 20)
mobile  (String)   Required
Agent mobile (Max Length: 10)
email  (String)   Required
Agent email (Max Length: 50)
firmName  (String)   Required
Shop name of Agent (Max Length: 150)
address  (String)   Required
address of Agent (Max Length: 250)
pinCode  (String)   Required
pin code of Agent (Max Length: 6)
state  (String)   Required
state of Agent (Max Length: 100)
aadhaar  (String)   Required
aadhaar no of Agent (Max Length: 12)
pan  (String)   Required
pan no of Agent (Max Length: 10)
latitude  (String)   Required
latitude of Agent (Max Length: 8)
longitude  (String)   Required
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

   {
"code": "0x0200",
"message": "BC Agent Registered Successfully",
"status": "SUCCESS",
"data": {
"outletId": "O99XXXXXX"
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x0207REVERSEDTRANSACTION REVERSED
0x0209REDIRECTREDIRECT URL