Skip to main content

Init

Init

Postman Collection

URL

POST : /v1/service/pan/init

Headers

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

Body Params

mobile  (String)   Required
Merchant Mobile Number (Max Length: 10)
psaId  (String)   Required
Merchant psaId (Max Length: 20)
redirectUrl  (String)   Required
Client's callback redirectUrl (Max Length: 100)

Request

Example Request
    curl --location '/v1/service/pan/init' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"mobile" : "639XXXX38",
"psaId" : "PS00XXX",
"redirectUrl" : "https://business.ipayments.org.in/api/callbacks/pan/paysprint"
}'

Response Samples

    {
"code": "0x0200",
"message": "Encdata Successfully Generated",
"status": "SUCCESS",
"data": {
"psaId": "PSA_639XXXX38",
"encdata": "9boguC7vAwsuPLbu4IGNro9cwgVVWT/JaKoP7B+R2JTE3ABO4f0zJD9k72MmCfy7ehUq95JtrBtNrBcLHqw0WhD0+JeAns/ozIPtedian5fadn40GmeBzG0JZlnB8V97",
"url": "https://paysprint.in/service-api/pan-redirect"
}
}

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