Skip to main content
GET
Get wallet balances

Authorizations

x-api-key
string
header
required

Path Parameters

customerId
string
required
Example:

"cus_1A2b3C4d5E6f7G8h9I0jKl"

walletId
string
required
Example:

"wlt_1A2b3C4d5E6f7G8h9I0jKl"

Query Parameters

date
string

A past UTC day, as YYYY-MM-DD. The reply holds what the account held at the end of that day. Omit it to read what the account holds now.

Response

What an account holds, at the end of a past UTC day or at this moment.

balances
object[]
required

One element for each asset the account holds.

date
string<date>

The UTC day the balances close, as YYYY-MM-DD. Absent when the balances are the ones the account holds now.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$