Bank accounts
Create a bank account
Changed onCreate a bank account
ℹ️ This endpoint requires the following scope: bank_accounts:all
post/api/external/v2/bank_accounts
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/bank_accounts
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: bank_accounts:all
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
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",
"balance": "100.15",
"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/v2/journals/7"
},
"ledger_account": {
"id": 42,
"url": "https://app.pennylane.com/api/external/v2/ledger_accounts/8"
}
}Changes
- warning
added the new
VESenum value to theresponse property for the response status - info
added the new optional
headerrequest parameterX-Company-Id - info
added the new
VESenum value to the request property
- warning