Add one of your own bank accounts
POST/v1/orgs/{orgId}/own-accounts
Registers one of the organization's own accounts at another bank. Requires two-factor authentication.
When to use it
Before a withdrawal. These accounts never appear among recipients.
Before you call it
- Permission
withdrawals:create - Second factorRequired for browser sessions. An API key with the scope replaces it.
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
Request body
| Field | What it does |
|---|---|
bankBankAccountInput | No description in the spec yet. |
bank.labelstring | Nickname, e.g. Operating account (default: bank name and last four) |
bank.owner_namestring | No description in the spec yet. |
bank.bank_namestring | No description in the spec yet. |
bank.routing_numberstringrequired | No description in the spec yet. |
bank.account_numberstringrequired | No description in the spec yet. |
bank.account_typeenum | No description in the spec yet. One of Default |
bank.railsenum[] | No description in the spec yet. One of |
bank.bank_addressAddress | No description in the spec yet. |
bank.bank_address.street_line_1stringrequired | No description in the spec yet. |
bank.bank_address.street_line_2string | No description in the spec yet. |
bank.bank_address.citystringrequired | No description in the spec yet. |
bank.bank_address.statestringrequired | No description in the spec yet. |
bank.bank_address.zipstringrequired | No description in the spec yet. |
bank.beneficiary_addressAddress | No description in the spec yet. |
bank.beneficiary_address.street_line_1stringrequired | No description in the spec yet. |
bank.beneficiary_address.street_line_2string | No description in the spec yet. |
bank.beneficiary_address.citystringrequired | No description in the spec yet. |
bank.beneficiary_address.statestringrequired | No description in the spec yet. |
bank.beneficiary_address.zipstringrequired | No description in the spec yet. |
walletWalletInput | No description in the spec yet. |
wallet.labelstring | No description in the spec yet. |
wallet.networkstringrequired | No description in the spec yet. |
wallet.addressstringrequired | No description in the spec yet. |
make_defaultboolean | No description in the spec yet. Default |
Response 201
Added
| Field | What it does |
|---|---|
idstring (uuid)required | No description in the spec yet. |
typeenumrequired | No description in the spec yet. One of |
is_defaultbooleanrequired | The account preselected when paying this recipient |
labelstringrequired | No description in the spec yet. |
bank_namestring | No description in the spec yet. |
routing_numberstring | No description in the spec yet. |
account_last4string | No description in the spec yet. |
account_typestring | No description in the spec yet. |
railsstring[]required | No description in the spec yet. |
networkstring | No description in the spec yet. |
addressstring | No description in the spec yet. |
Errors to handle
| Code | What it means and what to do |
|---|---|
duplicate_account409 | this wallet is already saved for this recipient |
invalid_routing_number422 | enter a valid 9-digit ABA routing number |
Every error is a Problem document. Branch on code; quote request_id to support.