Create a bank account
Create a new bank account record with specified details including account number, BIC, type, name, owner details, and optional initial balance information.
Body Required
Request model for creating a new bank account
-
The account number of the bank account.
-
The Business Identifier Codes (BIC) for the bank that manages the bank account.
-
The type of the bank account, which is one of the following:
bban
: Basic Bank Account Number is a country-specific bank account number format.iban
: International Bank Account Number format.
Values are
bban
oriban
. -
A user-defined name of the bank account, as it is shown in 24SevenOffice.
-
Details for the bank account owner.
Additional properties are allowed.
POST
/bankaccounts
curl \
-X POST https://rest.api.24sevenoffice.com/v1/bankaccounts \
-H "Content-Type: application/json" \
-H "Authorization: string" \
-d '{"number":"90000000001","bic":"DNBANOKKXXX","type":"bban","name":"ABC bank account","owner":{"name":"ABC Corporation","organizationNumber":"123456789","contact":{"name":"John Doe","email":"doe@example.com"}}}'
Request examples
# Headers
Authorization: string
# Payload
{
"number": "90000000001",
"bic": "DNBANOKKXXX",
"type": "bban",
"name": "ABC bank account",
"owner": {
"name": "ABC Corporation",
"organizationNumber": "123456789",
"contact": {
"name": "John Doe",
"email": "doe@example.com"
}
}
}
Response examples (201)
[
{
"id": "123-456-789",
"bic": "DNBANOKKXXX",
"name": "ABC bank account",
"type": "bban",
"owner": {
"name": "ABC Corporation",
"contact": {
"name": "John Doe",
"email": "doe@example.com"
},
"organizationNumber": "123456789"
},
"number": "90000000001",
"createdAt": "2022-01-01T18:00:00.000Z",
"modifiedAt": "2022-01-01T18:00:00.000Z"
}
]