Creating subaccount
Create subaccount
Name
Value
Name
Type
Description
Name
Type
Description
{
"data": {
"type": "accounts",
"attributes": {
"label": "Sub-account Christian Whitney"
}
}
}Last updated
{
"data": {
"type": "accounts",
"attributes": {
"label": "Sub-account Christian Whitney"
}
}
}Last updated
{
"data": {
"id": "dc9c1c6e-3fa6-4fce-8c5f-714dfcecf3ee",
"type": "accounts",
"attributes": {
"master": false,
"currencyCode": "USDT",
"label": "Sub-account Adam Goodman",
"bankReference": "BDR7013714686525702",
"balance": "0.000000",
"totalBalance": "0.000000",
"bankWithdrawalAvailable": false,
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
"meta": {},
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": 422,
"title": "Invalid attribute",
"code": "address_invalid",
"detail": "Network does not match account currency",
"source": {
"pointer": "/data/attributes/networkId"
}
}
]
}{
"errors": [
{
"status": 404,
"title": "Record not found",
"code": "network_not_found",
"detail": "Network not found"
}
]
}