Hercle
REST
GET/api/v1/payees?pageSize={pageSize}

Get Payees Paginated

Retrieve a paginated list of payees 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/payees?pageSize={pageSize} \
  -H "Authorization: Bearer eyJhb..." \
  

Query Parameters

NameTypeRequiredDescription
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: 2025-01-01T00:00:00Z
tostringNoEnd date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from start date.
Example: 2025-12-31T23:59:59Z
paginationTokenstringNoToken for fetching the next page of results

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Response

Success Response Schema

FieldTypeDescription
payloadarray
payload[].idstringUnique identifier for the payee
payload[].userIdstringUser identifier who owns the payee
payload[].endUserIdstringEnd user ID if applicable
payload[].typenumber
Payee type
0Individual
1Company
payload[].namestringFirst name of the payee
payload[].surnamestringLast name of the payee
payload[].companystringCompany name
payload[].countrystringCountry code (ISO 3166-1 alpha-2)
payload[].statestringState or province
payload[].citystringCity name
payload[].addressstringStreet address
payload[].postalCodestringPostal or ZIP code
payload[].disabledbooleanWhether the payee is disabled
payload[].deletedbooleanWhether the payee is deleted
payload[].createdAtstringISO 8601 timestamp of creation
paginationTokenstringToken for fetching next page

Responses

Paginated list of payees.

200 application/json
{
  "payload": [
    {
      "id": "payee-001",
      "userId": "user-123",
      "endUserId": "enduser-456",
      "type": 0,
      "name": "John",
      "surname": "Doe",
      "company": "Company Inc.",
      "country": "US",
      "state": "CA",
      "city": "San Francisco",
      "address": "123 Market St",
      "postalCode": "94103",
      "disabled": false,
      "deleted": false,
      "createdAt": "2023-01-15T12:34:56Z"
    }
  ],
  "paginationToken": "{\"Id\":{\"S\":\"id-002\"}}"
}

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

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/payees