Rivier/ Reference/ accounting

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

  • namestringrequired
    At most 120 characters.
  • ledgerAccountstringrequired
    At most 40 characters.
  • providerstring
    csv 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.
  • currencystring
    Pattern: ^[a-z]{3}$.
  • externalRefstring
    At most 200 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