Searches transactions.
Request body
Example request
{
"filter": {
"account": {
"any": [
{
"id": "ext_account_YWJjMTIz",
"external_id": "acct_external_123"
}
]
},
"tags": {
"any": [
{
"key": "department",
"value": "eng*"
}
],
"all": [
{
"key": "department",
"value": "engineering"
}
]
},
"reconciliation_status": "unreconciled"
},
"page_info": {
"limit": 20
}
}Response
Success
Example response
{
"data": [
{
"id": "txn_dHhuX2ZyYWdfMDAx",
"external_id": "bank_txn_123",
"account": {
"id": "ext_account_YWJjMTIz",
"external_id": "acct_external_123"
},
"posted": "2024-01-13T00:00:00Z",
"currency": "USD",
"amount": "-1000",
"allocations": [
{
"invoice_id": "inv_abc123",
"amount": "1000",
"type": "invoice_payin",
"user": {
"id": "user_abc123",
"external_id": "user_ext_001"
}
}
],
"tags": [
{
"key": "department",
"value": "engineering"
}
],
"unallocated_amount": "-1000",
"created": "2024-01-13T00:00:00Z",
"modified": "2024-01-13T00:00:00Z",
"version": 1
}
],
"data_v2": {
"transactions": [
{
"id": "txn_dHhuX2ZyYWdfMDAx",
"external_id": "bank_txn_123",
"account": {
"id": "ext_account_YWJjMTIz",
"external_id": "acct_external_123"
},
"posted": "2024-01-13T00:00:00Z",
"currency": "USD",
"amount": "-1000",
"allocations": [
{
"invoice_id": "inv_abc123",
"amount": "1000",
"type": "invoice_payin",
"user": {
"id": "user_abc123",
"external_id": "user_ext_001"
}
}
],
"tags": [
{
"key": "department",
"value": "engineering"
}
],
"unallocated_amount": "-1000",
"created": "2024-01-13T00:00:00Z",
"modified": "2024-01-13T00:00:00Z",
"version": 1
}
]
}
}Changes
Changed in 5 of the 38 revisions of this API.122
- ○
added the new optional request property
filter/reconciliation_statusnew-optional-request-property
- ○
- ▲
the
data/items/response's property type/format changed from/toobject/for status200response-property-type-changed
- ○
added the new optional request property
filter/tagsnew-optional-request-property
- ○
added the new optional request property
page_infonew-optional-request-property
- ○
the request property
filter/accountbecame optionalrequest-property-became-optional
- ○
added the optional property
data/items/modifiedto the response with the200statusresponse-optional-property-added
- ○
removed
Transactionsubschema #2from thedata/items/response propertyallOflist for the response status200response-property-all-of-removed
- ○
response property
datadeprecatedresponse-property-deprecated
- ○
added the required property
data/items/accountto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/allocationsto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/amountto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/createdto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/currencyto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/external_idto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/idto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/postedto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/tagsto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/unallocated_amountto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/versionto the response with the200statusresponse-required-property-added
- ○
added the required property
data_v2to the response with the200statusresponse-required-property-added
This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
UpdateAllocationDiffEntryto thedata/items/allOf[subschema #2]/diff/items/response propertyanyOflist for the response status200response-property-any-of-added
- ○
- ○
added the required property
data/items/allOf[Transaction]/tagsto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○