Create a new transaction
Creates a new transaction for an entity
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
entityId
The ID of the entity to create the transaction for
Request
This endpoint expects an object.
amount
The amount of the transaction
debitAccountId
ID of the account to debit
creditAccountId
ID of the account to credit
date
When the transaction occurred (defaults to current time if not provided)
currency
The currency of the transaction
description
Description of the transaction
status
Status of the transaction
Allowed values:
metadata
Additional transaction metadata
Response
Transaction created successfully
transaction