Bank accounts
Create a bank account
Changed on⚠️ This endpoint is deprecated. Use Create a bank account from the Company API v2 instead. Your firm token can call it for any company of your firm through the X-Company-Id header. Learn how to use your firm token with the Company API v2.
Create a bank account
ℹ️ This endpoint requires the following scope: bank_accounts:all
post/api/external/firm/v1/companies/{company_id}/bank_accounts
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/firm/v1/companies/{company_id}/bank_accounts
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: bank_accounts:all
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"
}
}Changes
- warning
added the new
VESenum value to theresponse property for the response status - info
endpoint deprecated
- info
added the new
VESenum value to the request property
- warning