Rivier/ Reference/ accounting

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

  • externalRefstringrequired
    an account the connected bank offers At most 200 characters.
  • bankAccountIdstring (uuid)
    an existing bank account to link; without it a new one is made
  • namestring
    At most 120 characters.
  • ledgerAccountstring
    the ledger account a new bank account is kept on At most 40 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown