transactions retrieve
GET {{baseUrl}}/transactions/:id
Returns a Transaction
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"0048ea5b-911e-4dff-9364-92070dea62ff","transaction_type":"estimate","remote_id":"239741","remote_data":[{"path":"ex id qui veniam","data":{"ea_64":{},"laboris29":{},"ex122":{}}},{"path":"fugiat laborum officia ullamco","data":{"quis_b":{},"sed_5c":{},"magna_ad":{}}}],"number":"122","transaction_date":"1959-09-24T16:14:11.939Z","account":"3e442c5d-8f51-4103-b5c9-dcee39c30a08","contact":"2c22ce34-5c6e-4fc7-a594-7f26bb4cf78b","total_amount":"388358645968","currency":"BAM","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":"66843067352.44","tax_rate":"urn:uuid:f4d86321-81d7-3404-bb88-1e4d5ad38627","remote_id":"Duis"},{"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":"7957951476188045334","tax_rate":"urn:uuid:3b56e17e-f22c-4625-56ae-587267c34da3","remote_id":"aute dolor et in"}],"remote_was_deleted":true}