List all customer accounts
GET {{baseUrl}}/v3/ledger/account/customer/:id?pageSize=10&offset=0
1 credit per API call.
Lists all accounts associated with a customer. Only active accounts are visible.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageSize | number | (Required) Max number of items per page is 50. | |
offset | number | Offset to obtain the next page of data. |
RESPONSES
status: OK
[{"id":"5e68c66581f2ee32bc354087","active":true,"frozen":false,"currency":"BTC","balance":{"accountBalance":"1000000","availableBalance":"1000000"},"customerId":"5e68c66581f2ee32bc354087","accountCode":"03_ACC_01","xpub":"xpub6FB4LJzdKNkkpsjggFAGS2p34G48pqjtmSktmK2Ke3k1LKqm9ULsg8bGfDakYUrdhe2EHw5uGKX9DrMbrgYnVfDwrksT4ZVQ3vmgEruo3Ka"},{"id":"5e68c66581f2ee32bc354087","active":true,"frozen":false,"currency":"BTC","balance":{"accountBalance":"1000000","availableBalance":"1000000"},"customerId":"5e68c66581f2ee32bc354087","accountCode":"03_ACC_01","xpub":"xpub6FB4LJzdKNkkpsjggFAGS2p34G48pqjtmSktmK2Ke3k1LKqm9ULsg8bGfDakYUrdhe2EHw5uGKX9DrMbrgYnVfDwrksT4ZVQ3vmgEruo3Ka"}]