GET
/
v1
/
businesses
/
{business_id}
/
bank-transactions
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/bank-transactions \
  -H "Authorization: Bearer <access_token>"
{
    "data": [
        {
            "type": "Bank_Transaction",
            "id": "784c6fcb-06cd-445c-8eb3-399d5a492b2a",
            "business_id": "f9baa8fd-9413-4bcf-810b-6d32604de649",
            "source": "PLAID",
            "source_transaction_id": "g4DlKyjXqGH3Kp5XlaWMtwLRrE4Z9AiE8B4Ko",
            "source_account_id": "Aaoy8G7VXZHVeqNoL1GvcmkPdqpLRWi9NArdG",
            "imported_at": "2024-05-28T22:25:09.968565Z",
            "date": "2023-04-27T13:00:00Z",
            "direction": "DEBIT",
            "amount": 1200,
            "counterparty_name": "McDonald's",
            "description": "McDonald's",
            "account_name": "Plaid Checking",
            "categorization_status": "CATEGORIZED",
            "category": {
                "type": "Account",
                "id": "50f954d3-ee9a-482d-b987-52af20444fd4",
                "stable_name": "BUSINESS_MEALS",
                "category": "BUSINESS_MEALS",
                "display_name": "Business meals"
            },
            "projected_income_category": "EXPENSE",
            "suggested_matches": [],
            "match": null,
            "transaction_tags": []
        },
        {
            "type": "Bank_Transaction",
            "id": "59a588b6-8568-4f41-b1bd-a721103a4f96",
            "business_id": "f9baa8fd-9413-4bcf-810b-6d32604de649",
            "source": "PLAID",
            "source_transaction_id": "EjLlGyMKXphl8zDWdKXoIXn5GVxgmJu4x79oR",
            "source_account_id": "Aaoy8G7VXZHVeqNoL1GvcmkPdqpLRWi9NArdG",
            "imported_at": "2024-05-28T22:25:10.007577Z",
            "date": "2023-04-26T13:00:00Z",
            "direction": "DEBIT",
            "amount": 8940,
            "counterparty_name": "FUN",
            "description": "SparkFun",
            "account_name": "Plaid Checking",
            "categorization_status": "CATEGORIZED",
            "category": {
                "type": "Account",
                "id": "5f490115-a846-4152-8cc8-9f601361c067",
                "stable_name": "JOB_SUPPLIES",
                "category": "JOB_SUPPLIES",
                "display_name": "Job supplies"
            },
            "projected_income_category": "EXPENSE",
            "suggested_matches": [],
            "match": null,
            "transaction_tags": []
        }
    ],
    "meta": {
        "pagination": {
            "sort_by": "date",
            "sort_order": "ASC",
            "cursor": "eyJ0eXBlIjoiSWRfUGFnaW5hdGlvbl9DdW==",
            "has_more": true
        }
    }
}

Path Parameters

business_id
string

ID of the Business to retrieve bank transactions for.

Response

Returns a list of all Bank Transaction Objects

curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/bank-transactions \
  -H "Authorization: Bearer <access_token>"
{
    "data": [
        {
            "type": "Bank_Transaction",
            "id": "784c6fcb-06cd-445c-8eb3-399d5a492b2a",
            "business_id": "f9baa8fd-9413-4bcf-810b-6d32604de649",
            "source": "PLAID",
            "source_transaction_id": "g4DlKyjXqGH3Kp5XlaWMtwLRrE4Z9AiE8B4Ko",
            "source_account_id": "Aaoy8G7VXZHVeqNoL1GvcmkPdqpLRWi9NArdG",
            "imported_at": "2024-05-28T22:25:09.968565Z",
            "date": "2023-04-27T13:00:00Z",
            "direction": "DEBIT",
            "amount": 1200,
            "counterparty_name": "McDonald's",
            "description": "McDonald's",
            "account_name": "Plaid Checking",
            "categorization_status": "CATEGORIZED",
            "category": {
                "type": "Account",
                "id": "50f954d3-ee9a-482d-b987-52af20444fd4",
                "stable_name": "BUSINESS_MEALS",
                "category": "BUSINESS_MEALS",
                "display_name": "Business meals"
            },
            "projected_income_category": "EXPENSE",
            "suggested_matches": [],
            "match": null,
            "transaction_tags": []
        },
        {
            "type": "Bank_Transaction",
            "id": "59a588b6-8568-4f41-b1bd-a721103a4f96",
            "business_id": "f9baa8fd-9413-4bcf-810b-6d32604de649",
            "source": "PLAID",
            "source_transaction_id": "EjLlGyMKXphl8zDWdKXoIXn5GVxgmJu4x79oR",
            "source_account_id": "Aaoy8G7VXZHVeqNoL1GvcmkPdqpLRWi9NArdG",
            "imported_at": "2024-05-28T22:25:10.007577Z",
            "date": "2023-04-26T13:00:00Z",
            "direction": "DEBIT",
            "amount": 8940,
            "counterparty_name": "FUN",
            "description": "SparkFun",
            "account_name": "Plaid Checking",
            "categorization_status": "CATEGORIZED",
            "category": {
                "type": "Account",
                "id": "5f490115-a846-4152-8cc8-9f601361c067",
                "stable_name": "JOB_SUPPLIES",
                "category": "JOB_SUPPLIES",
                "display_name": "Job supplies"
            },
            "projected_income_category": "EXPENSE",
            "suggested_matches": [],
            "match": null,
            "transaction_tags": []
        }
    ],
    "meta": {
        "pagination": {
            "sort_by": "date",
            "sort_order": "ASC",
            "cursor": "eyJ0eXBlIjoiSWRfUGFnaW5hdGlvbl9DdW==",
            "has_more": true
        }
    }
}