Create a sub-account
POST/account/subaccount
Creates a sub-account under the entity. For business (RBAC) callers this
requires the treasury.sub_account.create permission (Admin role only),
and the created sub-account is placed under the entity's primary account.
Only the CLIENT_FUNDS tag may be supplied at creation for business
callers; any other tag is rejected with INVALID_ACCOUNT_TAG_COMBINATION
(400).
Request
Responses
- 200
- 400
- 401
- 403
OK
Request validation failed, or a non-CLIENT_FUNDS tag was supplied (INVALID_ACCOUNT_TAG_COMBINATION)
Missing/invalid JWT or entity selection (RBAC_ENTITY_SELECTION_REQUIRED)
Caller lacks the treasury.sub_account.create permission (RBAC_PERMISSION_DENIED)