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:BankingSandbox

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)
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

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., sort_code, 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
legacyAddressstringLegacy address format
enterpriseAddressstringEnterprise address
tagstringTag or memo for certain cryptocurrencies
eosAccountNamestringEOS account name
statusstringStatus of the crypto deposit account
activationTxIdstringTransaction 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",
      "network": "Sepa",
      "refAccountId": "vac_12345",
      "refAccountType": "VIRTUAL_ACCOUNT",
      "refAccountDetails": {
        "bankName": "Banking Name",
        "accountHolderName": "Account Holder Name",
        "country": "DE",
        "accountNumber": "",
        "routingCodes": [],
        "iban": "DE1234567899",
        "bic": "AAAABBCC"
      }
    },
    {
      "id": "xxxx",
      "userId": "yyyy",
      "endUserId": "zzzz",
      "name": "BTC",
      "asset": "BTC",
      "network": "Bitcoin",
      "refAccountId": "38",
      "refAccountType": "CRYPTO_ACCOUNT",
      "refAccountDetails": {
        "id": "38",
        "address": "35bSzXvRKLpHsHMrzb82f617cV4Srnt7hS",
        "legacyAddress": "afsZ1JMhhjgSYFYG1bJ9pLKko",
        "enterpriseAddress": null,
        "tag": "",
        "eosAccountName": "Address BTC",
        "status": null,
        "activationTxId": null
      }
    }
  ],
  "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