This endpoint creates a new company bank account.
Upon being created, two verification deposits are automatically sent to the bank account, and the bank account's verification_status is 'awaiting_deposits'.
When the deposits are successfully transferred, the verification_status changes to 'ready_for_verification', at which point the verify endpoint can be used to verify the bank account.
After successful verification, the bank account's verification_status is 'verified'.
WarningWhether the new bank account becomes the company's default funding method is controlled by the
is_defaultfield (defaults totrue). Whentrue, the new account becomes the default and the previous default remains enabled (it is no longer disabled, as it was in earlier versions). Whenfalse, the current default is left unchanged unless the company has no existing default. See the field description for more detail.When submitting credentials that match an account the company already has:
- If
is_defaultistrueand the existing account is not already the default, the existing account is promoted to default and returned (HTTP 200).- If
is_defaultistrueand the existing account is already the default, the account is returned unchanged (HTTP 200).- If
is_defaultisfalseand the existing account is not the default, the account is returned unchanged (HTTP 200).- If
is_defaultisfalseand the existing account is currently the company's default, a 422 error is returned. To change the default, set a different bank account as the default instead.Note: Unlike earlier API versions, this version does not disable the previous default when a new one is created. As a result, POST does not return 422 for unprocessed payments on the existing default — that guard only applies when disabling a funding method (DELETE endpoint).
scope: company_bank_accounts:write