Documentation Index

Fetch the complete documentation index at: https://www.bloxs.io/llms.txt

Use this file to discover all available pages before exploring further.

Add a bankaccount to an estate agent

Prev Next
Post
/api/v1/relations/estateAgents/bankaccounts

Add a new bank account to an estate agent.

Add a Bank Account to an EstateAgent

Adds a new bank account to an existing estate agent's record.

A developer calls this endpoint to register a bank account for an estate agent, for example to enable outgoing payments. The estate agent to add the bank account to is located via reference or externalIdentifier, at least one of which must be supplied.

An estate agent can have at most one preferred bank account at any time: if the new account is added with isPreferredBankAccount set to true, the estate agent's current preferred bank account is automatically set to false. If the estate agent currently has no bank accounts at all, the new account is forced to be preferred, regardless of the value sent.


Request Fields

Field

Type

Required

Description

reference

string

Required (at least one of reference or externalIdentifier must be given)

The internal identifier (Reference/Code) of the estate agent to add the bank account to.

externalIdentifier

string

Required (at least one of reference or externalIdentifier must be given)

The external API identifier of the estate agent to add the bank account to.

bankAccountNumber

string, max 34

Required

The bank account number to add, typically an IBAN. The 34-character maximum accommodates the longest IBAN formats. Must not already exist for this estate agent; adding a duplicate is rejected with an error.

bic

string, max 11

Required

The Bank Identifier Code (BIC/SWIFT code) of the account's bank.

isBankAccountNonIBAN

boolean

Optional

Indicates whether bankAccountNumber is a non-IBAN account number rather than a standard IBAN, relevant for accounts outside the SEPA area.

isPreferredBankAccount

boolean

Optional

Indicates whether this new account should be set as the estate agent's preferred bank account. If set to true, the estate agent's current preferred bank account (if any) is automatically set to false. If this is the estate agent's first bank account, it is always forced to preferred regardless of the value sent.


Response Fields

Field

Type

Required

Description

bankAccountNumber

string, max 34

Required

The bank account number that was added.

bic

string, max 11

Required

The Bank Identifier Code (BIC/SWIFT code) of the account's bank.

isBankAccountNonIBAN

boolean

Optional

Indicates whether bankAccountNumber is a non-IBAN account number rather than a standard IBAN.

isPreferredBankAccount

boolean

Optional

Indicates whether this account is now the estate agent's preferred bank account. Always true if this was the estate agent's first bank account.

Security
Query parameters
reference
string

The internal identifier of the model (i.e. Reference, Code, Name, depends on model).

externalIdentifier
string

The external API identifier of the model.

Body parameters
object
bankAccountNumber
string Required
Min length0
Max length34
bic
string Required
Min length0
Max length11
isBankAccountNonIBAN
boolean
isPreferredBankAccount
boolean
Responses
200

The bank account was added to the estate agent

object
bankAccountNumber
string
Min length0
Max length34
bic
string
Min length0
Max length11
isBankAccountNonIBAN
boolean
isPreferredBankAccount
boolean
400

The bank account data has validation issues

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string