transactions list
GET {{baseUrl}}/transactions
Returns a list of Transaction
objects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
created_after | string | If provided, will only return objects created after this datetime. | |
created_before | string | If provided, will only return objects created before this datetime. | |
cursor | string | The pagination cursor value. | |
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_deleted_data | boolean | Whether to include data that was marked as deleted by third party webhooks. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
modified_after | string | If provided, will only return objects modified after this datetime. | |
modified_before | string | If provided, will only return objects modified before this datetime. | |
page_size | number | Number of results to return per page. | |
remote_id | string | The API provider's ID for the given object. | |
company_id | string | If provided, will only return transactions for this company. | |
transaction_date_after | string | ||
transaction_date_before | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"id":"0048ea5b-911e-4dff-9364-92070dea62ff","transaction_type":"estimate","remote_id":"239741","remote_data":[{"path":"Ut","data":{"pariatur2_f":{},"inf":{}}},{"path":"anim elit labore aliqua","data":{"est__b1":{},"Duis74":{}}}],"number":"122","transaction_date":"1954-10-17T21:17:13.879Z","account":"3e442c5d-8f51-4103-b5c9-dcee39c30a08","contact":"2c22ce34-5c6e-4fc7-a594-7f26bb4cf78b","total_amount":"1602752405","currency":"NGN","line_items":[{"memo":"Pickleball paddles","unit_price":"25.0","quantity":"10.0","item":"0958cbc6-6040-430a-848e-aafacbadf4ae","account":"2b38c085-2620-4269-b5ec-75dd9095ed2c","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","total_line_amount":"195908720237996941949","tax_rate":"9c7ade32-f50d-1912-8351-4668eed1bf0e","remote_id":"irure Ut nulla"},{"memo":"Pickleball paddles","unit_price":"25.0","quantity":"10.0","item":"0958cbc6-6040-430a-848e-aafacbadf4ae","account":"2b38c085-2620-4269-b5ec-75dd9095ed2c","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","total_line_amount":"286635533959986098543974624143","tax_rate":"urn:uuid:94cedea4-564b-29bb-5759-55ec73862db7","remote_id":"anim do quis elit"}],"remote_was_deleted":true},{"id":"0048ea5b-911e-4dff-9364-92070dea62ff","transaction_type":"estimate","remote_id":"239741","remote_data":[{"path":"qui sint proident dolor exercitation","data":{"Ut_b6":{}}},{"path":"ad ipsum","data":{"aliquip_af":{},"Duis_7":{}}}],"number":"122","transaction_date":"2016-04-22T15:57:24.643Z","account":"3e442c5d-8f51-4103-b5c9-dcee39c30a08","contact":"2c22ce34-5c6e-4fc7-a594-7f26bb4cf78b","total_amount":"","currency":"MDC","line_items":[{"memo":"Pickleball paddles","unit_price":"25.0","quantity":"10.0","item":"0958cbc6-6040-430a-848e-aafacbadf4ae","account":"2b38c085-2620-4269-b5ec-75dd9095ed2c","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","total_line_amount":"9171995175","tax_rate":"urn:uuid:9a81c19b-608f-d28d-27cd-618c69e1922c","remote_id":"voluptate Lorem incididunt"},{"memo":"Pickleball paddles","unit_price":"25.0","quantity":"10.0","item":"0958cbc6-6040-430a-848e-aafacbadf4ae","account":"2b38c085-2620-4269-b5ec-75dd9095ed2c","tracking_category":"f1214c24-2702-4617-b74b-3ddecfc0d384","total_line_amount":"12981442047191486910004083646860","tax_rate":"d1d035b6-e55f-9914-ac44-849a8d822330","remote_id":"elit dolor esse nisi dolore"}],"remote_was_deleted":false}]}