Link an account at the connected bank to a bank account in the books
post/accounting/bank/accounts/link
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:admin- Sdk
accounting.bank.link- Cli
accounting bank link
Request bodyapplication/json, required
- externalRefstringrequiredan account the connected bank offers At most 200 characters.
- bankAccountIdstring (uuid)an existing bank account to link; without it a new one is made
- namestringAt most 120 characters.
- ledgerAccountstringthe ledger account a new bank account is kept on At most 40 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring