Skip to main content

Aeps (Redirection)

Aeps (Redirection).

Aeps Generate APIs

Plesae do first complete digi kyc. then generate url

Aeps Generate
APIDescription
Generate UrlUse this API to generate url

Aeps Redirection

Postman Collection

URL

POST : /v1/service/aeps/generate/url

Headers

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

Body Params

merchantLoginId  (String)   Required
Merchant unique Code(You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
redirectUrl  (String)   Required
redirect url (Max Length: 200)

Request

Example Request
    curl --location '/v1/service/aeps/generate/url' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"merchantLoginId" : "MID69374XXXXX",
"redirectUrl": "https://xxx.com/redirect"
}'

Response Samples

   {
"code": "0x0209",
"message": "Redirect url",
"status": "REDIRECT",
"data": {
"url": "https://api.xxxx.in/merchant/txn?enc=oMp8xfCep6R7Z0CEVDwCkbnzxGs%2BqfnNmUuc34CjA3MJ062OFndBAyDSSCq1kITX6%2B%2BPYRw2Ln85LStVPw%3D%3D"
}
}

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