This endpoint allows you to retrieve a single transaction. The transaction-level gst has the same sign as amount: negative for purchases, positive for refunds.
- https://public.letsweel.comhttps://public.letsweel.com/v3/businesses/{client_id}/transactions/{transaction_id}
curl -i -X GET \
'https://public.letsweel.com/v3/businesses/123/transactions/{transaction_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The date the transaction was cleared in UTC.
The date the transaction was authorised in UTC.
The amount of the transaction in AUD (positive for credits, negative for debits).
The GST amount of the transaction, with the same sign as amount: negative for purchases and other money leaving the business, positive for refunds and other money coming back. A value of 0 or null is returned as is. Line item gst_amount values are not signed.
The expense completion status of the transaction.
The status of the transaction.
The type of transaction.
The URLs of the receipts for the transaction. These are temporary, pre-signed links that expire 8 hours after the response is generated. Download the files before then, or request the transaction again to obtain fresh URLs. Do not store these URLs, as they will stop working once they expire.
[ "https://divipay-user-production.s3.amazonaws.com/123/68eae8f6-cb90-4403-ba76-a2cc12c3979j.png" ]
The date and time when the transaction was created in UTC.
A card purchase. Money left the business, so amount and gst are both negative.
{ "id": "e33b7c61-5124-4ba0-b238-e4c573133715", "created": "2024-01-01T23:05:00Z", "updated": "2024-01-02T08:00:00Z", "cleared_date": "2024-01-02T08:00:00Z", "auth_date": "2024-01-01T23:05:00Z", "merchant_name": "Officeworks", "attendees": [], "budget": { "id": "e33b7c61-5124-4ba0-b238-e4c573133715", "name": "Sales Team", "budget_type": "BUDGET" }, "currency": "AUD", "custom_fields": [], "fx_amount": 9.99, "amount": -9.99, "gst": -0.91, "expense_status": "COMPLETE", "status": "CLEARED", "transaction_type": "CARD_TRANSACTION", "user": { "id": 123, "first_name": "John", "last_name": "Doe", "name": "John Doe" }, "line_items": [ { … } ], "receipt_urls": [] }