Overview
Counterparts that represent an entity’s vendors or suppliers can have bank account information associated with them. The bank account information can be used to pay the invoices (payables) issued by those counterparts.Add a bank account to a counterpart
To add a bank account to a counterpart, callPOST /counterparts/{counterpart_id}/bank_accounts and provide the bank account details.
All bank accounts require the currency and country. Other necessary fields depend on the country and the type of fund transfers - domestic or international.
| International transfers | EU banks | UK banks | US banks |
|---|---|---|---|
ibanbic | ibanbic | account_numbersort_codeiban (optional)bic (optional) | account_holder_nameaccount_numberrouting_numberbic (optional) |
- IBAN + BIC
- UK bank
- US bank
id assigned to this bank account, along with other details:
Set the default bank account
Once the bank accounts are added to a counterpart, you can set a default bank account for each currency by making aPOST request to the /counterparts/{counterpart_id}/bank_accounts/{bank_account_id}/make_default endpoint:
The default counterpart bank account is set for each currency. Each counterpart can only have one default bank account per currency. The
is_default field indicates which bank accounts are the default for each currency.If a new counterpart bank account is added to a currency with no default bank account set, the newly added bank account is automatically set as the default for that currency.List all bank accounts
To get information about all bank accounts associated with the specified counterpart, callGET /counterparts/{counterpart_id}/bank_accounts.
Retrieve a bank account
To get information about a specific bank account associated with the specified counterpart, callGET /counterparts/{counterpart_id}/bank_accounts/{bank_account_id}.
Edit a bank account
To edit an existing bank account of the specified counterpart, callPATCH /counterparts/{counterpart_id}/bank_accounts/{bank_account_id}.
Delete a bank account
To delete an existing bank account from the list of bank accounts associated with the specified counterpart, call/counterparts/{counterpart_id}/bank_accounts/{bank_account_id}. Only non-default bank accounts can be deleted.