Transactions

Create a transaction

Create a transaction on your account

POST https://api.zenstrin.com/transactions

Request Body

Name
Type
Description

description

string

The description of the transaction

id

string

The ID of the service charge. The id parameter represents the unique identifier of a document in the database. Must be a non-empty string. Must not contain any of the following characters: '/', '.', '*', '[', ']', '(', ')'. Must be less than or equal to 1,500 bytes when UTF-8 encoded.

amountPaid*

integer

The transaction amount

type*

string

The type of the transaction. Available options include: ["income", "expense"].

date*

string

The start date of the transaction. The date format is: "YYYY-MM-DD"

unit

string

The id of the unit associated with this transaction.

owner

string

The id of the owner associated with this transaction.

property

string

The id of the property associated with this transaction.

contract

string

The id of the contract associated with this transaction.

vendor

string

The id of the vendor associated with this transaction.

lease

string

The id of the lease associated with this transaction.

tenant

string

The id of the tenant associated with this transaction.

List Transactions

List transaction on your account

GET https://api.zenstrin.com/transactions

Query Parameters

Name
Type
Description

filter

string

The item to filter the results with. Available filters include: ["property", "unit", "tenant", "lease", "owner", "vendor", "contract"]

filterId

string

The ID of the filtered item

startAt

string

The start date to fetch results from. The date format is: "YYYY-MM-DD"

Fetch Transaction

Get the details of a transaction on your account

GET https://api.zenstrin.com/transactions/:transactionId

Path Parameters

Name
Type
Description

serviceCharge*

String

The ID of the service charge

Last updated