Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Ledger Account ID
Example:
123
Response
Returns the ledger account
curl --request GET \
--url https://app.pennylane.com/api/external/v2/ledger_accounts/{id} \
--header 'Authorization: Bearer <token>'
{
"id": 124,
"number": "512",
"label": "Secondary Account",
"vat_rate": "any",
"country_alpha2": "FR",
"enabled": true
}
Get a ledger account
ℹ️ This endpoint requires one of the following scopes:
ledger
curl --request GET \
--url https://app.pennylane.com/api/external/v2/ledger_accounts/{id} \
--header 'Authorization: Bearer <token>'
{
"id": 124,
"number": "512",
"label": "Secondary Account",
"vat_rate": "any",
"country_alpha2": "FR",
"enabled": true
}
The access token received from the authorization server in the OAuth 2.0 flow.
Ledger Account ID
123
Returns the ledger account
Was this page helpful?