Skip to main content
GET
/
v0
/
business
/
{business_id}
/
transactions
/
{transaction_id}
Get a single Transaction
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/transactions/{transaction_id} \
  --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
  }
}

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"

transaction_id
string<txn_string>
required

The id of the transaction

Example:

"txn_WQMDNUHpBThYSNh4AprDBo"

Query Parameters

includes

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

Response

Successful Response

data
TransactionPublic · object
required