Add Bank Accounts

POST {{base_url}}/banking/v2/accounts

This endpoint can be used to manually import bank accounts and link them to a company.

Attributes

FieldTypeDescription
bankIdintegerUnique identifier for the bank
currencystringAccount currency
nicknamestringNickname
accountJSON objectAccount information
account -> schemenamestringIBAN or Account and sort code
account -> identificationstringUnique id per bank account
account -> namestringAccount name
account -> secondaryIdentificationstringAny optional extra information about account
externalIdstringAn Id linked to an external source

Error Messages

ConditionResponse StatusResponse Body
No request body400 Bad Request{ error: "Missing/invalid JSON” }
Missing/invalid currency403 Forbidden{ error: "Missing/invalid currency” }
Missing/Invalid bankId404 Not Found{ error: "Missing/invalid bankId” }

Request Body

{"values"=>[{"bankId"=>6, "currency"=>"GBP", "nickname"=>"Business Account", "account"=>[{"schemeName"=>"IBAN", "identification"=>"GB84BANKIDENTIFICATION", "secondaryIdentification"=>"POS", "name"=>"Debit Account"}], "externalId"=>"BANK_NAME_ID"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Api-Keystring
X-Partner-Idstring
Authorizationstring
X-Company-Idstring