The Fetch Beneficiary API is used for fetching beneficiary details.
URL: https://domain/api/onboarding/ v1/beneficiary/fetch
HTTP Method: GET
Request parameters
Body
Sample request
Request packet (Encrypted)
{
“token”: “h/0YSUdGzgNsMcmfYAvIIPgF3Z80/kMJkW/7l9wG9L+bXt//P/HBG0NsuoPtbn6ugjzNOLl/wQPJFbCKMqQJtSSQs4JVYBohia1TPP1yJULHN+TLIVKFRZsg0GokTPI+ZKpNPcrKrQSa70qV/RtVWMv6CmqRHaG1gQvgAYKjNyOpip7G3Io5IDEF4b2cXOlH4G1hbOtjAHQ/7ZS9KrkmJA==”}
Request packet (Decrypted)
{
"messageCode": "2020",
"clientTxnId": "20771458URNFETCH131331u19",
"requestDateTime": "20161031214559",
"urn": 1435,
"activationStatus": "ALL",
"transferType": "FT"
}
Response parameters
The format of the beneficiaryDataList is:
- beneficiaryId Numeric(15)
- benifiaryName String (100)
- bankName String (150)
- bankAccountNumber String (150)
- ifscCode String (50)
- upiVpa String (100)
- emailId String (100)
- status (0: Inactive | 1: Active)
- beneficiaryType (0: OTHER | 1: SELF)
- coolingOff (0: beneficiary in cooldown | 1: not in cooldown)
- createdTime (yyyy-mm-dd HH:MM:SS)
- modifiedTime (yyyy-mm-dd HH:MM:SS)
- beneficiaryTypeCode numeric(2)
- accountNumber String(15)
- beneficiaryMobileNumber numeric(20)
- beneficiaryLimitPerTxn numeric(10)
- beneficiaryLimitOutstandingDailyLimit numeric(10)
- beneficiaryLimitOutstandingMonthlyLimit numeric(10)
- beneficiaryMaxCountTransactionsPerDayOutstandingLimit numeric(10)
- beneficiaryMaxCountTransactionsPerMonthOutstandingLimit numeric(10)
API error codes
Error Code | Description |
---|---|
00 | SUCCESS |
1055 | MALFORMED_REQUEST |
1085 | PRODUCT NOT ALLOWED |
1052 | SYSTEM_ERROR |
1032 | INVALID_CLIENT_CHANNEL |
1081 | OPERATION NOT ALLOWED |
1080 | IP_NOT_ALLOWED |
1049 | INVALID SECURE CODE |
1051 | CHECKSUM FAILURE |
1093 | INVALID CLIENT TXN ID |
1320 | REQUEST_DATETIME_IS_MANDATORY |
1031 | INVALID BANK ID |
1264 | BANK ID NOT PRESENT |
1262 | CLIENT ID NOT PRESENT |
1310 | XCONSUMERKEY NOT PRESENT |
1030 | INVALID MESSAGE |
1311 | SECURE CODE NOT PRESENT |
1361 | INVALID ACCOUNT NUMBER |
10079 | TRANSFER TYPE NOT PRESENT |
10074 | ACTIVATION STATUS NOT PRESENT |
Sample response
Packet sample (Encrypted)
{
“token”: “h/0YSUdGzgNsMcmfYAvIIPgF3Z80/kMJkW/7l9wG9L+bXt//P/HBG0NsuoPtbn6ugjzNOLl/wQPJFbCKMqQJtSSQs4JVYBohia1TPP1yJULHN+TLIVKFRZsg0GokTPI+ZKpNPcrKrQSa70qV/RtVWMv6CmqRHaG1gQvgAYKjNyOpip7G3Io5IDEF4b2cXOlH4G1hbOtjAHQ/7ZS9KrkmJA==”}
Packet sample (Decrypted)
{
"customerId": "62508sachin2479",
"responseCode": "00",
"messageCode": 2021,
"responseMessage": "SUCCESS",
"bankId": 7020,
"clientTxnId": "207458URNACC3722134061",
"responseDateTime": "2023/10/10 12:54:39",
"clientId": "1",
"beneficiaryDataList": [
{
"beneficiaryId": 51465570,
"beneficiaryName": "New Bene",
"bankName": "AXIS",
"bankAccountNumber": "21486224170", \
"ifscCode": "IDFB0010204", \
"upiVpa": "null",
"mobileNumber": "null",
"emailId": "null",
"walletProgram": "null",
"status": 0,
"coolingOff": 1,
"beneficiaryType": 1,
"beneficiaryTypeCode":1,
"accountNumber":244543443,
"beneficiaryMobileNumber":"919855993322",
"beneficiaryLimitPerTxn":2000,
"beneficiaryLimitOutstandingDailyLimit":300,
"beneficiaryLimitOutstandingMonthlyLimit":2000,
"beneficiaryMaxCountTransactionsPerDayOutstandingLimit":4,
"beneficiaryMaxCountTransactionsPerMonthOutstandingLimit":5,
"createdTime": "2023-10-03 19:11:09.0",
"modifiedTime": "2023-10-03 19:11:09.0"
}
]
}