Skip to main content
POST
/
v0
/
business
/
{business_id}
/
transactions
Create Transactions
curl --request POST \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "description": "<string>",
    "transaction_datetime": "2023-11-07T05:31:56Z",
    "amount": 150.75,
    "transaction_id": "<string>",
    "external_account_id": "<string>",
    "metadata_": {}
  }
]
'
{
  "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"

Body

application/json
Maximum array length: 100
description
string
required

The description of the Transaction

Maximum string length: 512
Example:

"Payment from Acme Corp"

transaction_datetime
string<date-time>
required

The datetime the Transaction was created in UTC ISO-8601 format

Example:

"2025-01-15T14:30:00Z"

amount
required

The amount of the Transaction

Example:

150.75

transaction_id
string
required

A value that uniquely identifies the Transaction

Example:

"plaid_txn_abc123"

external_account_id
string<eac_string>
required

The ID of the External Account associated with the Transaction

Example:

"eac_WQMDNUHpBThYSNh4AprDBo"

metadata_
Metadata · object

The metadata of the Transaction

Response

Transactions accepted for processing

data
TransactionPublic · object[]
required