# Create an account for a person (deprecated) Creates an account for the person specified in the request URL. The person in the request URL will be assigned the role of account owner. Consult with your Partner Manager to determine which values you should use for . Note that you may only open an account for a person after they have successfully completed the identification process. Upon creation, the will always be set to zero. If you are creating a specific type of account with a default limit in place as agreed with Solaris, then use the GET Retrieve an account endpoint to obtain this value. Endpoint: POST /v1/persons/{person_id}/accounts Version: 1.0 ## Path parameters: - `person_id` (string, required) ## Request fields (application/json): - `type` (string) The type of account. Enum: "BASIC_ACCOUNT", "BILLING_ACCOUNT", "CALL_MONEY", "CASH_DEPOSIT", "CHECKING_BUSINESS", "CHECKING_BUSINESS_CREDITLINE", "CHECKING_FIXED_MATURITY", "CHECKING_OVERDRAFT", "CHECKING_OVERDRAFT_FLEXIBLE", "CHECKING_PERSON_CREDIT_LINE", "CHECKING_PERSON_INSTALMENT_LOAN", "CHECKING_PERSONAL", "CHECKING_PERSONAL_OVERDRAFT", "CHECKING_SOLE_PROPRIETOR", "CLEARING_ACCOUNT", "COLLECTION_ACCOUNT", "DECOUPLED_CARD_BUSINESS", "DEPOSIT_FIXED_TERM_BUSINESS", "DEPOSIT_TIME_PASSIVE", "EMONEY_PARKING", "EMONEY_PREPAID", "EMONEY_PREPAID_POOLING", "ESCROW_LIABILITY", "EXTERNAL_ACCOUNT", "FACTORING", "GENERAL_LEDGER", "GUARANTEE", "INDIVIDUAL_SPECIFIC_PROVISIONS", "LIABILITY_ASSUMPTION", "LOAN_ACCOUNT_CREDIT_LINE", "LOAN_ACCOUNT_MUNICIPALITIES", "LOAN_BALLOON", "LOAN_BULLET", "LOAN_RATE_FIXED", "LOAN_RATE_VARIABLE", "LORO", "SDD_DEPOSIT", "SETTLEMENT", "SME_LOAN", "SURETY", "TAGESGELD_ACTIVE" - `purpose` (string) The purpose of the account. Use unless otherwise instructed. Example: "primary" - `bic` (string) The BIC to apply to the account. Choose the BIC that applies to the country where you wish to open the account. Enum: "SOBKDEBBXXX", "SOBKDEB2XXX", "SOBKITM2XXX", "SOBKFRP2XXX", "SOBKESM2XXX" ## Response 201 fields (application/json): - `id` (string) Unique ID of the account. Example: "efe320cbe121418c982b6af45bc9cacc" - `iban` (string) The account's IBAN. Example: "DE43110101005555555555" - `bic` (string) The account's BIC. Example: "SOBKDEB2XXX" - `type` (string) The type of account. Enum: "BASIC_ACCOUNT", "BILLING_ACCOUNT", "CALL_MONEY", "CASH_DEPOSIT", "CHECKING_BUSINESS", "CHECKING_BUSINESS_CREDITLINE", "CHECKING_FIXED_MATURITY", "CHECKING_OVERDRAFT", "CHECKING_OVERDRAFT_FLEXIBLE", "CHECKING_PERSON_CREDIT_LINE", "CHECKING_PERSON_INSTALMENT_LOAN", "CHECKING_PERSONAL", "CHECKING_PERSONAL_OVERDRAFT", "CHECKING_SOLE_PROPRIETOR", "CLEARING_ACCOUNT", "COLLECTION_ACCOUNT", "DECOUPLED_CARD_BUSINESS", "DEPOSIT_FIXED_TERM_BUSINESS", "DEPOSIT_TIME_PASSIVE", "EMONEY_PARKING", "EMONEY_PREPAID", "EMONEY_PREPAID_POOLING", "ESCROW_LIABILITY", "EXTERNAL_ACCOUNT", "FACTORING", "GENERAL_LEDGER", "GUARANTEE", "INDIVIDUAL_SPECIFIC_PROVISIONS", "LIABILITY_ASSUMPTION", "LOAN_ACCOUNT_CREDIT_LINE", "LOAN_ACCOUNT_MUNICIPALITIES", "LOAN_BALLOON", "LOAN_BULLET", "LOAN_RATE_FIXED", "LOAN_RATE_VARIABLE", "LORO", "SDD_DEPOSIT", "SETTLEMENT", "SME_LOAN", "SURETY", "TAGESGELD_ACTIVE" - `purpose` (string) The purpose of the account. Example: "primary" - `currency` (string) The currency of the account. Example: "EUR" - `balance` (object) The funds that the customer currently has on their account. Includes bookings with a valuta date no later than the current date. - `balance.value` (integer) The amount value. Example: 1000 - `balance.unit` (string) The unit of the given value in cents. Example: "cents" - `balance.currency` (string) The currency of the given value. Only EUR is currently supported. Example: "EUR" - `available_balance` (object) The funds that the customer has at their disposal. This includes bookings (positive bookings with a valuta date up to the current date, negative bookings regardless of valuta date) and is corrected on reservations and the account limit. - `locking_status` (string) Indicates whether the account is currently locked. Enum: "NO_BLOCK", "BLOCK", "CREDIT_BLOCK", "DEBIT_BLOCK" - `locking_reasons` (array) Read-only indicator of the reason a block was applied to the account. If the account is not blocked, then this value will contain an empty array. Enum: "AML_FOLLOW_UP_OVERDUE", "COMPANY_FOUNDATION", "COMPLIANCE", "CUSTOMER_WISH", "DECOUPLED_CARD_DUNNING", "DECOUPLED_CARD_TERMINATION", "IDENTIFICATION_FAILED", "IDENTIFICATION_DOCUMENT_EXPIRED", "IN_CLOSURE", "INSOLVENCY", "LOAN_RESERVATION", "MISSING_TAX_INFORMATION", "OTHER", "SEIZURE" - `account_limit` (object) The allowed level of negative balance on the account. This value is factored into the calculation of the account's . - `person_id` (string) Person ID of the account owner. Example: "0ba2211cab11af6094d60ead81f2bd9dcper" - `business_id` (string) ID of the business to which the account belongs (if applicable). Example: "52e6a9b8a559d842ed7d8901b0e1bf4bcbiz" ## Response 400 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `code` (string) Example: "build_pagination_headers_failure" - `title` (string) Example: "Failed to build pagination headers." - `detail` (string) Example: "Cannot connect to database." ## Response 403 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `code` (string) Example: "unauthorized_action" - `title` (string) Example: "Unauthorized Action" - `detail` (string) Example: "Unauthorized action is not allowed." ## Response 404 fields (application/json): - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `code` (string) Example: "model_not_found" - `title` (string) Example: "Model Not Found" - `detail` (string) Example: "Couldn't find 'Solaris::Identification' for id 'bbbcccfff388923eb899a5852df6cidt'." ## Response 500 fields (application/json): - `id` (string) Example: "e8915041-9d8c-4d96-9dd1-04e8522ecdbf" - `status` (string) Example: "500" - `code` (string) Example: "generic_error" - `title` (string) Example: "Generic Error" - `detail` (string) Example: "There was an error."