Skip to main content

Query Recipient

Overview

Query the status and details of an existing recipient using either the system-assigned biz_id or your partner_user_id.

Resource Access

  • HTTP Method: GET
  • Endpoint: /banking/iban/api/recipient/v2/query
  • Authentication: Bearer token required

Query Parameters

ParameterTypeRequiredDescription
biz_idstringConditionalThe unique recipient identifier assigned by the system
partner_user_idstringConditionalThe unique recipient identifier in your system. Required when biz_id is not provided

Note: At least one of biz_id or partner_user_id must be provided.

Request Headers

HeaderValueRequiredDescription
Acceptapplication/jsonYesContent type for the response
AuthorizationBearer {access_token}YesBearer token for authentication
on-behalf-ofstringNoCustomer ID for on-behalf-of operations

Response

Success Response (200 OK)

{
"biz_id": "R202501080950209789",
"partner_user_id": "abcd1234",
"holder_type": "PERSONAL",
"account_type": "RECIPIENT_BANK",
"status": "AVAILABLE",
"bank_detail": {
"currency": "INR",
"account_name": "JOHN DOE",
"account_no": "****5678",
"bank_name": "BANK OF BARODA",
"bank_code": "BARB",
"location": "IN",
"swift_code": "BARBINBBIBK"
},
"recipient_detail": {
"recipient_type": "20",
"recipient_location": "IN",
"email": "recipient@example.com",
"address": "123 Street Name",
"name": "JOHN DOE"
},
"created_at": "2026-01-14T10:00:00.000Z",
"updated_at": "2026-01-14T10:00:00.000Z",
"verification_date": "2026-01-14T12:00:00.000Z"
}

Response Fields

FieldTypeDescription
biz_idstringSystem recipient identifier
partner_user_idstringYour recipient identifier
holder_typestringAccount holder type
account_typestringAccount type
statusstringCurrent recipient status
bank_detailobjectBanking information (account numbers masked)
recipient_detailobjectRecipient personal information
created_atstring (date-time)Creation timestamp
updated_atstring (date-time)Last update timestamp
verification_datestring (date-time)Verification completion timestamp

Recipient Status Values

  • PENDING: Under verification
  • AVAILABLE: Verified and ready for payments
  • DECLINED: Verification failed or additional information needed
  • SUSPENDED: Temporarily suspended

Error Responses

  • 401 Unauthorized: Invalid or missing authentication token
  • 404 Not Found: Recipient not found

Code Examples

cURL

curl -X GET \
'https://gateway.ahrvo.network/banking/iban/api/recipient/v2/query?biz_id=R202501080950209789&partner_user_id=abcd1234' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Python

import requests

url = "https://gateway.ahrvo.network/banking/iban/api/recipient/v2/query"
headers = {
"Accept": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
params = {
"biz_id": "R202501080950209789",
"partner_user_id": "abcd1234"
}

response = requests.get(url, headers=headers, params=params)
print(response.json())

JavaScript (Node.js)

const axios = require('axios');

const url = 'https://gateway.ahrvo.network/banking/iban/api/recipient/v2/query';
const headers = {
'Accept': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
};
const params = {
biz_id: 'R202501080950209789',
partner_user_id: 'abcd1234'
};

axios.get(url, { headers, params })
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error.response.data);
});

Usage Notes

  • Only recipients with AVAILABLE status can receive payments
  • Account numbers are masked for security
  • DECLINED status may include reasons for rejection
  • Use webhooks to monitor recipient status changes
  • Recipients can be updated if status is AVAILABLE or DECLINED

Interactive API Explorer