Hercle
REST
GET/api/v1/payee-addresses?payeeId={payeeId}&pageSize={pageSize}

Get Payee Addresses Paginated

Retrieve a paginated list of payee addresses optionally filtered by date range. Maximum date range is 30 days.

Auth:Bearer <api_key>
Tags:Banking

Request

cURL
curl -G https://publicapi.sandbox.hercle.financial/api/v1/payee-addresses?payeeId={payeeId}&pageSize={pageSize} \
  -H "Authorization: Bearer eyJhb..." \
  

Query Parameters

NameTypeRequiredDescription
payeeIdstringYesFilter payee addresses by payee ID
Example: 123e4567-e89b-12d3-a456-426614174000
pageSizenumberYesNumber of items per page (min: 5, max: 50)
Example: 5
fromstringNoStart date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from end date.
Example: 2023-01-01T00:00:00Z
tostringNoEnd date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from start date.
Example: 2023-01-31T23:59:59Z
paginationTokenstringNoToken for fetching the next page of results
Example: {"Id":{"S":"id-001"}}

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Response

Success Response Schema

FieldTypeDescription
payloadarray
payload[].idstringUnique identifier for the payee address
payload[].payeeIdstringPayee identifier this address belongs to
payload[].namestringName associated with the address
payload[].assetstringAsset code (e.g., BTC, ETH, USD)
payload[].addressstringThe payment or blockchain address
payload[].addressParamsobjectAdditional address parameters
payload[].networkstringNetwork name (e.g., Bitcoin, Ethereum)
payload[].statusnumber
Address status
0CREATED
1PENDING
2REFUSED
payload[].commentstring | nullAdmin comment or note
payload[].auditBystring | nullUsername of auditor
payload[].auditDatestring | nullISO 8601 audit timestamp
payload[].deletedbooleanWhether the address is deleted
payload[].createdAtstringISO 8601 creation timestamp
paginationTokenstringToken for fetching next page

Responses

Paginated list of payee addresses.

200 application/json
{
  "payload": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174001",
      "payeeId": "987e6543-e21b-12d3-a456-426614174000",
      "name": "John Doe",
      "asset": "BTC",
      "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
      "addressParams": {},
      "network": "Bitcoin",
      "status": 0,
      "comment": null,
      "auditBy": null,
      "auditDate": null,
      "deleted": false,
      "createdAt": "2023-01-15T12:00:00Z"
    }
  ],
  "paginationToken": "{\"Id\":{\"S\":\"id-002\"}}"
}

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

Filter payee addresses by payee ID

Number of items per page (min: 5, max: 50)

Start date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from end date.

End date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from start date.

Token for fetching the next page of results

https://publicapi.sandbox.hercle.financial/api/v1/payee-addresses