Create a new account.

For admin and client expects different request body, check schemas.
For admin: not allowed if admin has no "create_accounts" permission. Also admin need "create_accounts_with_initial_balance" permission to create account with not zero balance.

List of possible error codes:
| Code |Status| Target |Description |
|-------------------------|------|----------------|-----------------------------------------------------------|
| ACCOUNT_EXISTS_FOR_TYPE | 400 | common | Current user already have account of selected type |

Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!