Skip to main content
GET
/
v0
/
business
/
{business_id}
/
transactions
List Transactions for a Business
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "external_id": "1234567890",
      "amount": 123,
      "datetime": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "posted": true,
      "type": "business",
      "reviewed": true,
      "id": "<string>",
      "external_account_id": "<string>",
      "metadata_": {},
      "invoice_payments": null,
      "refund_payments": null,
      "bill_payments": null
    }
  ],
  "pagination": {
    "next_page_token": "<string>",
    "previous_page_token": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getasset.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required

The id of the business

Example:

"biz_GA6EG2qFxA97NZHtxeLPUy"

Query Parameters

type
enum<string> | null

Filter transactions by the type of the Transaction

Available options:
business,
personal
reviewed
boolean | null

Filter transactions by whether they are reviewed

start_datetime
string<date-time> | null

Include transactions after this period (inclusive) in ISO-8601 format

end_datetime
string<date-time> | null

Include transactions before this period (inclusive) in ISO-8601 format

account_ids

Filter transactions by External Account IDs, comma-separated

ids

Comma-separated list of Transaction IDs to retrieve. Maximum limit is 100.

external_ids

Comma-separated list of external IDs to filter by

includes

Comma-separated list of related objects to include. Supported: invoice_payments.invoice, refund_payments, bill_payments

sort_by
enum<string>
default:datetime
Available options:
datetime,
description
order
enum<string>
default:desc
Available options:
asc,
desc
page_token
string | null

The page token to for the next or previous page

page_size
integer
default:100
Required range: 1 <= x <= 100

Response

Successful Response

data
TransactionPublic · object[]
required
pagination
PaginationResponse · object
required