Hercle
REST
GET/api/v1/deposit-accounts?pageSize={pageSize}

Get Deposit Accounts Paginated

Returns a paginated list of deposit accounts including both fiat (bank account details) and crypto (blockchain addresses) deposit methods.

Auth:Bearer <api_key>
Tags:Banking

Request

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

Query Parameters

NameTypeRequiredDescription
pageSizenumberYesNumber of deposit accounts to return (must be between 5 and 50)
Example: 10
paginationTokenstringNoToken for pagination (e.g., next page token)

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer API_KEY
Example: Bearer your_api_key_here
Content-TypestringYesapplication/json
Example: application/json

Response

Success Response Schema

FieldTypeDescription
payloadarrayArray of deposit account objects
paginationTokenstringToken for retrieving the next page of results

Deposit Account Object

Individual deposit account details for fiat or crypto deposits

FieldTypeDescription
idstringUnique identifier of the deposit account
userIdstringUser ID associated with the deposit account
endUserIdstringEnd user ID associated with the deposit account
namestringName of the deposit account
assetstringAsset type (e.g., EUR, BTC)
addressstringDeposit address (IBAN or blockchain address). Only on crypto and fiat accounts
addressParamsobjectAdditional address parameters, as key-value strings; {} when there are none. Only on crypto and fiat accounts
addressParams.tagstringDestination tag or memo (e.g. XLM, ATOM)
networkstringNetwork type (e.g., Sepa, Bitcoin)
refAccountIdstringReference account ID (virtual account ID for fiat, blockchain address for crypto)
refAccountTypestringType of reference account
refAccountDetailsobject | nullDetailed account information
deletedbooleanWhether the deposit account is deleted

Bank Details Object (Fiat Only)

Detailed bank account information for fiat deposit accounts

FieldTypeDescription
bankNamestringName of the bank
accountHolderNamestringName of the account holder
countrystringCountry code (ISO 3166-1 alpha-2, e.g., DE, GB)
accountNumberstringBank account number
routingCodesarrayArray of routing code objects
ibanstringInternational Bank Account Number
bicstringBank Identifier Code (SWIFT code)

Routing Code Object

Routing code information for bank transfers

FieldTypeDescription
typestringType of routing code (e.g., sortcode, aba)
valuestringValue of the routing code

Crypto Deposit Account Details Object

Blockchain address and details for crypto deposit accounts

FieldTypeDescription
idstringUnique identifier of the crypto deposit account
addressstringBlockchain address for deposits
legacyAddressstring | nullLegacy address format
enterpriseAddressstring | nullEnterprise address
tagstring | nullTag or memo for certain cryptocurrencies
eosAccountNamestring | nullEOS account name
statusstring | nullStatus of the crypto deposit account
activationTxIdstring | nullTransaction ID of the activation transaction

Responses

Deposit accounts retrieved successfully

200 application/json
{
  "payload": [
    {
      "id": "xxxx",
      "userId": "yyyy",
      "endUserId": "zzzz",
      "name": "Deposit EUR",
      "asset": "EUR",
      "address": "DE1234567899",
      "addressParams": {},
      "network": "Sepa",
      "refAccountId": "vac_12345",
      "refAccountType": "VIRTUAL_ACCOUNT",
      "refAccountDetails": {
        "bankName": "Banking Name",
        "accountHolderName": "Account Holder Name",
        "country": "DE",
        "accountNumber": "",
        "routingCodes": [],
        "iban": "DE1234567899",
        "bic": "AAAABBCC"
      },
      "deleted": false
    },
    {
      "id": "xxxx",
      "userId": "yyyy",
      "endUserId": "zzzz",
      "name": "BTC",
      "asset": "BTC",
      "address": "35bSzXvRKLpHsHMrzb82f617cV4Srnt7hS",
      "addressParams": {},
      "network": "Bitcoin",
      "refAccountId": "38",
      "refAccountType": "CRYPTO_ACCOUNT",
      "refAccountDetails": {
        "id": "38",
        "address": "35bSzXvRKLpHsHMrzb82f617cV4Srnt7hS",
        "legacyAddress": "afsZ1JMhhjgSYFYG1bJ9pLKko",
        "enterpriseAddress": null,
        "tag": "",
        "eosAccountName": "Address BTC",
        "status": null,
        "activationTxId": null
      },
      "deleted": false
    }
  ],
  "paginationToken": ""
}

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

Number of deposit accounts to return (must be between 5 and 50)

Token for pagination (e.g., next page token)

https://publicapi.sandbox.hercle.financial/api/v1/deposit-accounts