Add a bank account
post/accounting/bank/accounts
Before you call
- Credential
Authorization: Bearer $KEY- Scope
accounting:admin- Sdk
accounting.bank.create- Cli
accounting bank create
Request bodyapplication/json, required
- namestringrequiredAt most 120 characters.
- ledgerAccountstringrequiredAt most 40 characters.
- providerstringcsv takes pasted statements; truelayer links an account at the connected bank (externalRef from the bank feed's accounts); mock is the sample feed and exists only in test mode One of: mock, csv, truelayer.
- currencystringPattern: ^[a-z]{3}$.
- externalRefstringAt most 200 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