Hercle
REST
GET/api/v1/addresses/deposit

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
namestringUser-defined name for the address
userIdstringID of the user who owns the address
endUserIdstring | nullEnd user ID associated with the address
assetstringAsset code (e.g., BTC, ETH, USD)
addressstringThe deposit address
addressParamsobjectAdditional address parameters
networkstringNetwork name (e.g., Bitcoin, Ethereum)
deletedbooleanIndicates if the address has been deleted
creationDatestringISO 8601 formatted creation date of the address
refAccountIdstring | nullReference account ID if applicable
refAccountTypestring | nullReference account type if applicable
refAccountDetailsobject | nullAdditional details for the reference account

Bank Details Object (Fiat Only)

Detailed bank account information for fiat deposit addresses

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 addresses

FieldTypeDescription
idstringUnique identifier of the crypto deposit account
addressstringBlockchain address for deposits
legacyAddressstringLegacy address format
enterpriseAddressstring | nullEnterprise address
tagstringTag or memo for certain cryptocurrencies
eosAccountNamestringEOS account name
statusstring | nullStatus of the crypto deposit account
activationTxIdstring | nullTransaction ID of the activation transaction
messagestringStatus message regarding the crypto deposit account

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": "0001-01-01T00:00:00",
    "refAccountId": "vac_123456789",
    "refAccountType": "VIRTUAL_ACCOUNT",
    "refAccountDetails": {
      "bankName": "Deutsche Bank",
      "accountHolderName": "John Doe",
      "country": "DE",
      "accountNumber": "532013000",
      "routingCodes": [
        {
          "type": "sort_code",
          "value": "123456"
        }
      ],
      "iban": "DE89370400440532013000",
      "bic": "COBADEFFXXX"
    }
  },
  {
    "id": "aaaa",
    "name": "BTC",
    "userId": "bbbb",
    "endUserId": "cccc",
    "asset": "BTC",
    "address": "cccc",
    "addressParams": {},
    "network": "Bitcoin",
    "deleted": false,
    "creationDate": "0001-01-01T00:00:00",
    "refAccountId": null,
    "refAccountType": null,
    "refAccountDetails": null
  }
]

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