Use the updateBankAccount
endpoint to update or delete existing bank account information. The information is updated or deleted based on the data that you submit. For example:
Type of data | Operation |
---|---|
New data | Update operation. The new data replace the corresponding existing data. |
Empty string | Delete operation. The empty string replaces the corresponding existing data, i.e. the information on record is deleted. |
Same value or no new value | No change. The corresponding existing data is kept. |
Any optional fields not included in the update | No change. The corresponding existing data is kept. |
The following fields require a 4-eye policy review:
- bankAccountsDeleteUnconfirmed
- bankAccountsUpdateUnconfirmed
A bank account is defined by the merchantCode
and the currency
. There cannot be multiple bank accounts with the same currency set up. These are the only required fields for an update. If a value for a field is not set, the old value is retained.
Request parameters
To update bank account information for a merchant account, make a POST /updateBankAccount
request specifying:
Name | Type | Description | ||
---|---|---|---|---|
accountKey |
String |
|
DEPRECATED | |
merchantCode |
String |
|
A merchant code string holds a value to identify a merchant. Format:
| |
bankAccountData |
Class |
|
A container object for bank account data.
| |
|-bankCity |
String |
|
The (main) city the bank operates from.
| |
|-bankCode |
String |
|
The code identifying the bank.
| |
|-bankName |
String |
|
The name of the bank.
| |
|-bic |
String |
|
Business Identifier Code. | |
|-branchCode |
String |
|
The code identifying the bank branch office.
| |
|-checkCode |
String |
|
Code check. It corresponds to checking digits in an IBAN code. | |
|-countryCode |
String |
|
The This field is mandatory in the following cases:
| |
|-currency |
String |
|
The three-character ISO currency code. | |
|-foundationAccount |
String |
|
The foundation account number (FAN). | |
|-iban |
String |
| ||
|-number |
String |
|
The bank account number. | |
|-owner |
String |
|
Name of the bank account owner. | |
|-ownerCity |
String |
|
Name of the city where the bank account holder resides.
|
Response parameters
If there are no errors in the request, the call returns a pspReference.
If any issues occur during the process, the call returns one or more warning or error messages.
Name | Type | Returned by default | Description |
---|---|---|---|
|
String |
|
A reference to uniquely identify the request. |
|
String |
| Warning message about problems encountered while trying to update the specified bank account details. |
|
String |
| Error message(s) about problems encountered while trying to update the specified bank account details. |