Aeps (Redirection)
Aeps (Redirection).
Aeps Generate APIs
Plesae do first complete digi kyc. then generate url
Aeps Generate
API | Description |
---|---|
Generate Url | Use this API to generate url |
Aeps Redirection
Postman Collection
URL
POST : /v1/service/aeps/generate/urlHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
merchantLoginId (String) Required
Merchant unique Code(You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
Merchant unique Code(You will get merchantLoginId from Merchant Onboarding API) (Max Length: 20)
redirectUrl (String) Required
redirect url (Max Length: 200)
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
- SUCCESS
- FAILED
{
"code": "0x0209",
"message": "Redirect url",
"status": "REDIRECT",
"data": {
"url": "https://api.xxxx.in/merchant/txn?enc=oMp8xfCep6R7Z0CEVDwCkbnzxGs%2BqfnNmUuc34CjA3MJ062OFndBAyDSSCq1kITX6%2B%2BPYRw2Ln85LStVPw%3D%3D"
}
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Some error"
}
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 |