Skip to main content
POST
Record custom account transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

customAccountId
string<uuid>
required

The UUID of the custom account to record the transaction on.

Body

multipart/form-data
transaction
string
required

JSON string with required amount (integer cents), direction (DEBIT for expense or CREDIT for income), date (YYYY-MM-DD or ISO 8601 timestamp), and description. Optional fields: external_id (idempotency key), merchant_name, customer_id, customer_external_id, vendor_id, vendor_external_id, categorization (single Category object), memo, metadata, reference_number, and tags.

files
file[]

Optional receipt files (up to five); each file must have a unique filename.

Response

An existing transaction with the same external_id was returned.

data
object
required