This endpoint allows you to retrieve a list of transactions for a given business. You can filter the transactions by date range, status, and expense completion status.
The transaction-level gst has the same sign as amount: negative for purchases, positive for refunds. Results are ordered by cleared date, then authorised date, newest first.
Security
BearerAuth
- https://public.letsweel.comhttps://public.letsweel.com/v3/businesses/{client_id}/transactions
curl -i -X GET \
'https://public.letsweel.com/v3/businesses/123/transactions?offset=50&limit=50&min_auth_date=2019-08-24&max_auth_date=2019-08-24&min_cleared_date=2019-08-24&max_cleared_date=2019-08-24&expense_status=COMPLETE&status=CLEARED' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The query string for the next page of transactions, or null on the last page.
Example:"offset=50&limit=50"
The query string for the previous page of transactions, or null on the first page.
Example:"offset=0&limit=50"
Response
The purchase has a negative amount and gst. The refund has a positive amount and gst.
{ "count": 2, "next": null, "previous": null, "results": [ { … }, { … } ] }