Hercle
REST
GET/api/v1/addresses/depositDeprecated

Get Deposit Addresses

Retrieve a list of deposit addresses associated with the account, both fiat and crypto.

Auth:Bearer <api_key>
Tags:Addresses

Request

cURL
curl -G https://publicapi.sandbox.hercle.financial/api/v1/addresses/deposit \
  -H "Authorization: Bearer eyJhb..." \
  

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Response

Success Response Schema

FieldTypeDescription
idstringUnique identifier for the address
namestringName the platform assigns to the address (not set by the client); for crypto addresses the provider asset ID, e.g. USDT_ERC20
userIdstringID of the user who owns the address
endUserIdstringEnd user ID associated with the address; empty string when there is none (never null)
assetstringAsset code (e.g., BTC, ETH, USD)
addressstringThe deposit address
addressParamsobjectExtra address parameters as string key/value pairs; empty object when there are none. Fiat virtual-account addresses can also carry their bank routing codes here
addressParams.tagstringDestination tag / memo, for assets that use one (e.g. XRP, XLM, ATOM)
networkstringNetwork name (e.g., Bitcoin, Ethereum)
deletedbooleanIndicates if the address has been deleted
creationDatestringISO 8601 formatted creation date of the address
refAccountIdstringID of the linked account (for VIRTUAL_ACCOUNT, the virtual account ID); empty string when there is none
refAccountTypestringType of the linked account: VIRTUAL_ACCOUNT (fiat) or CRYPTO_ACCOUNT; empty string when there is none
refAccountDetailsstringDetails of the linked account as a JSON-encoded string; empty string when there is none. Parse it to get the Bank Details object (VIRTUAL_ACCOUNT) or the Crypto Deposit Account Details object (CRYPTO_ACCOUNT)

Bank Details Object (Fiat Only)

Decoded refAccountDetails when refAccountType is VIRTUAL_ACCOUNT. Addresses registered when the virtual account was activated use these camelCase keys; addresses whose bank details came back when the address was created use PascalCase keys instead (BankName, Iban, RoutingCodes[].Type, ...)

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 addresses

FieldTypeDescription
IdstringIdentifier of the crypto deposit account (same value as refAccountId)
AddressstringBlockchain address for deposits
LegacyAddressstring | nullLegacy address format
EnterpriseAddressstring | nullEnterprise address
TagstringTag or memo for certain cryptocurrencies; empty string when not used
EosAccountNamestringEOS account name
Statusstring | nullStatus of the crypto deposit account
ActivationTxIdstring | nullTransaction ID of the activation transaction

Responses

A list of deposit addresses.

200 application/json
[
  {
    "id": "xxxx",
    "name": "EUR",
    "userId": "yyyy",
    "endUserId": "zzzz",
    "asset": "EUR",
    "address": "zzzz",
    "addressParams": {},
    "network": "Sepa",
    "deleted": false,
    "creationDate": "2025-01-15T10:30:00.000Z",
    "refAccountId": "vac_123456789",
    "refAccountType": "VIRTUAL_ACCOUNT",
    "refAccountDetails": "{\"bankName\":\"Deutsche Bank\",\"accountHolderName\":\"John Doe\",\"country\":\"DE\",\"accountNumber\":\"532013000\",\"routingCodes\":[{\"type\":\"sortcode\",\"value\":\"123456\"}],\"iban\":\"DE89370400440532013000\",\"bic\":\"COBADEFFXXX\"}"
  },
  {
    "id": "aaaa",
    "name": "BTC",
    "userId": "bbbb",
    "endUserId": "cccc",
    "asset": "BTC",
    "address": "cccc",
    "addressParams": {},
    "network": "Bitcoin",
    "deleted": false,
    "creationDate": "2025-01-15T10:30:00.000Z",
    "refAccountId": "",
    "refAccountType": "",
    "refAccountDetails": ""
  }
]

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

https://publicapi.sandbox.hercle.financial/api/v1/addresses/deposit