External accounts
This document details the Balance Custody v1 External Accounts API, allowing management of external accounts with endpoints to list and retrieve details for approved accounts.
Supported Currencies
Currently the API supports 10 currencies. Below is a list of these currencies, the ticker symbol that must be used when interacting with this API, as well as the units in which the fee rates will be returned:
Bitcoin (
btc
) -Satoshi / byte
Bitcoin Cash (
bch
) -Satoshi / byte
Litecoin (
ltc
) -Litoshi / byte
Dash (
dash
) -Duff / byte
Ethereum (
eth
) -Gwei
Ethereum Classic (
etc
) -Gwei
Ripple (
xrp
) -XRP / tx
Stellar Lumens (
xlm
) -XLM / op
Paxos (
pax
) -Gwei
USD Coin (
usdc
) -Gwei
Paxos Gold (
paxg
) -Gwei
Stasis EURS (
eurs
) -Gwei
BR.Mint (
brlm
) -Gwei
Canadian Natural Dollar (
cdag
) -Gwei
Monero (
xmr
) -piconero
QCAD (
qcad
) -Gwei
Currently QCAD is in preview, access to QCAD
must be requested from your point of contact at Balance.
API URL
You will receive your integration URL from your point of contact at Balance, and will look like:
Authentication
Due to the nature of the information exposed, every endpoint in this API requires authentication.
For more information on authentication go to Authentication Docs.
API Endpoints
These curl
examples work out of the box as the API does not require any headers to be set.
GET /api/v1/external_accounts
GET /api/v1/external_accounts
List all approved external accounts. Only pagination parameters are accepted.
Pagination
To request more results provide either a before
or after
parameter containing the cursor
from the external account you want data prior to or following. For example, to request data after the result in the example below: GET /api/v1/external_accounts?after=MTI=
A page_size
parameter may be provided to control the size of the response. This must be between 1 and 100 and if omitted defaults to 10.
Request
Response
Returns all external accounts with their affiliated fees JSON struct.
Status: 200
Data:
GET /api/v1/external_accounts/:id
GET /api/v1/external_accounts/:id
Show details for a single external account. No parameters accepted.
Request
Response
Returns a single external account.
Status: 200
Data:
Errors
Errors in this API are the same as the ones specified in the wallet API docs.
Last updated