User account
User account
Path parameters
-
User id
-
Custody account holder id
POST /users/{user_id}/custody_account_holders/{custody_account_holder_id}/custody_accounts
curl \
-X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/custody_account_holders/{custody_account_holder_id}/custody_accounts \
-H "Content-Type: application/json" \
-d '{"custody_account":{"asset_id":"string"}}'
Request example
{
"custody_account": {
"asset_id": "string"
}
}
Request examples
{
"custody_account": {
"asset_id": "string"
}
}
Response examples (201)
{
"id": "string",
"account_holder_id": "string",
"wallet_address_id": "string",
"address": "string",
"asset": {
"id": "string",
"name": "string",
"description": "string",
"wallet_id": "string",
"network": "string",
"code": "string",
"issuer_address": "string",
"url": "string",
"details": {}
}
}
Response examples (201)
{
"id": "string",
"account_holder_id": "string",
"wallet_address_id": "string",
"address": "string",
"asset": {
"id": "string",
"name": "string",
"description": "string",
"wallet_id": "string",
"network": "string",
"code": "string",
"issuer_address": "string",
"url": "string",
"details": {}
}
}