Webhooks
Webhooks
Postman Collection
Headers
Content-Type (String) required
application/json
application/json
Signature (String)
Basic Signature
Basic Signature
Response Samples
- SUCCESS
- PENDING
- FAILED
{
"event": "aeps.transaction.success",
"code": "0x0200",
"message": "Transaction is success",
"data": {
"orderRefId": "RACW12008031XXXXXXXXXXX",
"clientRefId": "RACW12008031XXXXXXXXXXX",
"merchantCode": "TEOJD49XXXXXXX",
"bankName": "Federal Bank",
"rrn": "434114387XXXX",
"transactionStatus": true,
"transactionStatusMessage": "success",
"accountNumber": "",
"ipaymentId": "CWBA60892790612241XXXXXXXX",
"transactionMode": "",
"transactionAmount": 20,
"txnType": "CW",
"mobile": "880970XXXX",
"bankAccountBalance": 65.7,
"aadhaar": "XXXXXXXX4898"
}
}
{
"event": "aeps.transaction.pending",
"code": "0x0206",
"message": "Transaction is pending",
"data": {
"orderRefId": "RACW145259014XXXXXXX",
"merchantCode": "TEOJD120XXXXX",
"bankiin": "607198",
"bankName": "Andhra Pradesh Grameena Vikash Bank",
"txnType": "CW",
"mobile": "906354XXXX",
"aadhaar": "XXXXXXXX1609",
"amount": "20",
"status": "pending"
}
}
{
"event": "aeps.transaction.failed",
"code": "0x0202",
"message": "Transaction is failed",
"data": {
"orderRefId": "RACW14525901421XXXXXXX",
"clientRefId": "RACW14525901421XXXXXXX",
"merchantCode": "TEOJD1203XXXX",
"bankName": "Andhra Pradesh Grameena Vikash Bank",
"rrn": "500417XXXXXX",
"transactionStatus": "failed",
"transactionStatusMessage": "failed",
"accountNumber": "0",
"ipaymentId": "CWBT637195704012XXXXXXXX",
"transactionMode": "NA",
"transactionAmount": 20,
"txnType": "CW",
"mobile": "90635XXXXX",
"bankAccountBalance": 0,
"aadhaar": "XXXXXXXX1609",
"status": "failed"
}
}
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 |