WebSocket
Get Payee Addresses Paginated
Returns an array of addresses associated with a specific payee.
Auth:API Key
Tags:
Banking
Payees
Addresses
Command Name
GetPayeeAddressesPaginatedCommand Arguments
| Field | Type | Required | Description |
|---|---|---|---|
ClientId | string | Required | Custom client ID for tracking (max 36 characters) Example: "my-client-123" |
PayeeId | string | Required | Payee ID Example: "payeeId-001" |
From | string | null | Required | Start date in ISO format (e.g., 2025-01-01T00:00:00Z). Can be null to omit start date filtering. Example: "2025-01-01T00:00:00Z" |
To | string | null | Required | End date in ISO format (e.g., 2025-12-31T23:59:59Z). Can be null to omit end date filtering. Example: "2025-12-31T23:59:59Z" |
Page | number | Required | Page number for pagination (0-based)0 |
PageSize | number | Required | Number of results per page (must be between 5 and 50) Example: 20 |
ClientIdRequired
Type:
string
Description:
Custom client ID for tracking (max 36 characters)
Example:
"my-client-123"PayeeIdRequired
Type:
string
Description:
Payee ID
Example:
"payeeId-001"FromRequired
Type:
string | null
Description:
Start date in ISO format (e.g., 2025-01-01T00:00:00Z). Can be null to omit start date filtering.
Example:
"2025-01-01T00:00:00Z"ToRequired
Type:
string | null
Description:
End date in ISO format (e.g., 2025-12-31T23:59:59Z). Can be null to omit end date filtering.
Example:
"2025-12-31T23:59:59Z"PageRequired
Type:
number
Description:
Page number for pagination (0-based)
0PageSizeRequired
Type:
number
Description:
Number of results per page (must be between 5 and 50)
Example:
20Command Invocation
Command Arguments Example:
[
"my-client-123",
"payeeId-001",
"2025-01-01T00:00:00Z",
"2025-12-31T23:59:59Z",
0,
20
]Invocation Example:
connection.invoke('GetPayeeAddressesPaginated', 'my-client-123', 'payeeId-001', '2025-01-01T00:00:00Z', '2025-12-31T23:59:59Z', 0, 20)Response Event
Event Name
executionEventsSubject
banking.payee.addresses.snapshotPaginated payee addresses snapshot response containing an array of address records
| Field | Type | Description |
|---|---|---|
id | string | Address ID |
payeeId | string | ID of the associated payee |
name | string | Descriptive name for the address |
asset | string | Asset type for the address (e.g., BTC, ETH) |
address | string | The actual blockchain or payment address |
addressParams | object | Additional parameters for the address (network specific) |
network | string | Network for the address (e.g., Bitcoin, Ethereum) |
status | number | Address status 0→ CREATED1→ PENDING2→ REFUSED |
comment | string | Optional comment or description |
auditBy | string | ID of the user who audited the address |
auditDate | string | Timestamp of the last audit |
deleted | boolean | Indicates if the address has been deleted |
createdAt | string | Timestamp of address creation |
Example Response
{
"data": [
{
"id": "id-001",
"payeeId": "payeeId-001",
"name": "USDC Wallet",
"asset": "USDC",
"address": "address_001",
"addressParams": {
"tag": "stable"
},
"network": "Ethereum",
"status": 2,
"comment": "USDC receiving wallet",
"auditBy": "System",
"auditDate": "2025-09-11T17:50:59.000Z",
"deleted": false,
"createdAt": "2025-09-11T17:50:59.000Z"
},
{
"id": "id-002",
"payeeId": "payeeId-001",
"name": "BTC Main Wallet",
"asset": "BTC",
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"addressParams": {},
"network": "Bitcoin",
"status": 2,
"comment": "Primary BTC address",
"auditBy": "admin@example.com",
"auditDate": "2025-09-12T10:30:00.000Z",
"deleted": false,
"createdAt": "2025-09-12T10:30:00.000Z"
}
]
}Code Examples
const signalR = require('@microsoft/signalr');
const apiKey = 'YOUR_API_KEY_HERE';
const connection = new signalR.HubConnectionBuilder()
.withUrl('https://publicapi.sandbox.hercle.financial/ExecutionLiveServer/v1', {
accessTokenFactory: () => apiKey,
})
.build();
connection.start()
.then(() => {
console.log('Connected to WebSocket');
// Invoke command
connection.invoke('GetPayeeAddressesPaginated', "my-client-123", "payeeId-001", "2025-01-01T00:00:00Z", "2025-12-31T23:59:59Z", 0, 20)
.then(() => {
console.log('Command sent successfully');
})
.catch(err => {
console.error('Command failed:', err);
});
})
.catch(err => {
console.error('Connection failed:', err);
});
// Listen for events
connection.on('executionEvents', (data) => {
console.log('Received event:', data);
});SignalR API Tester
Test this command in the sandbox environment
Disconnected
Your API key is only used locally and never stored