Accounts
Fetch Ledger Account
Businesses
- Business
- Financial Accounts
- Documents
- Scoped Authentication
- Configuration
- Tasks & Notifications
Financial Activity
- Accounts Receivable
- Accounts Payable
- Bank Transactions
- General Ledger
Accounting Reports
- Profit and Loss
- Balance Sheet
- Cash Flow Statement
Platform Configuration
- Plaid
- SMS
Activity Metrics
- Platform wide activity
- Business Activity
Accounts
Fetch Ledger Account
This endpoint retrieves an account in a business’s general ledger.
GET
/
v1
/
businesses
/
{business_id}
/
ledger
/
accounts
/
{account_id}
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/ledger/accounts/e33a4b0d-8da6-4b2f-b9f9-17bbbeab9efe \
-H "Authorization: Bearer <access_token>"
{
"data": {
"type": "Single_Chart_Account",
"id": "6ac7e685-4859-43a0-9f26-61e57c31f4ea",
"name": "Expenses",
"stable_name": "EXPENSES",
"normality": "DEBIT",
"account_type": {
"value": "EXPENSE",
"display_name": "Expenses"
},
"account_subtype": null
}
}
Path Parameters
ID of the Ledger Account.
Response
Returns the retrieved Ledger Account
{
"data": {
"type": "Single_Chart_Account",
"id": "6ac7e685-4859-43a0-9f26-61e57c31f4ea",
"name": "Expenses",
"stable_name": "EXPENSES",
"normality": "DEBIT",
"account_type": {
"value": "EXPENSE",
"display_name": "Expenses"
},
"account_subtype": null
}
}
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/ledger/accounts/e33a4b0d-8da6-4b2f-b9f9-17bbbeab9efe \
-H "Authorization: Bearer <access_token>"
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/ledger/accounts/e33a4b0d-8da6-4b2f-b9f9-17bbbeab9efe \
-H "Authorization: Bearer <access_token>"
{
"data": {
"type": "Single_Chart_Account",
"id": "6ac7e685-4859-43a0-9f26-61e57c31f4ea",
"name": "Expenses",
"stable_name": "EXPENSES",
"normality": "DEBIT",
"account_type": {
"value": "EXPENSE",
"display_name": "Expenses"
},
"account_subtype": null
}
}