v1
latestOpenAPI 3.0.12026-07-144840447.2 KBBank accounts
Create a bank account
Create a bank account
ℹ️ This endpoint requires the following scope: bank_accounts:all
post/api/external/firm/v1/companies/{company_id}/bank_accounts
Path parameters
company_idinteger required
Existing company identifier (id)
Request body
Example request
{
"bank_establishment_id": 25,
"name": "Main Account",
"iban": "FR1420041010050500013M02606",
"bic": "BNPAFRPPXXX"
}Response
Returns the created bank account
Example response
{
"id": 42,
"name": "Main account",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z",
"bank_establishment": {
"id": 42
},
"journal": {
"id": 42,
"url": "https://app.pennylane.com/api/external/firm/v1/companies/234/journals/7"
},
"ledger_account": {
"id": 42,
"url": "https://app.pennylane.com/api/external/firm/v1/companies/234/ledger_accounts/8"
}
}