Security
BearerAuth
GET
curl -i -X GET \
'https://public.letsweel.com/v2/businesses/123/transactions/{transaction_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
The date the transaction was cleared in UTC.
Example:"2024-01-01T00:00:00Z"
The date the transaction was authorised in UTC.
Example:"2024-01-01T00:00:00Z"
The amount of the transaction in AUD (positive for credits, negative for debits).
Example:-100
The expense completion status of the transaction.
Enum:"COMPLETE""INCOMPLETE_EXPENSE"
Example:"COMPLETE"
The status of the transaction.
Enum:"AUTHED""CLEARED""REFUNDED""DECLINED"
Example:"CLEARED"
The type of transaction.
Enum:"CARD_TRANSACTION""CHARGE""DEPOSIT_DIRECT_CREDIT""DEPOSIT_DIRECT_DEBIT""BILL""REIMBURSEMENT""EXTERNAL_TRANSFER""MANUAL_TRANSFER""CREDIT"
Example:"CARD_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.
Example:
[ "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.
Example:"2024-01-01T00:00:00Z"
Response
{ "id": "e33b7c61-5124-4ba0-b238-e4c573133715", "cleared_date": "2024-01-01T00:00:00Z", "auth_date": "2024-01-01T00:00:00Z", "merchant_name": "Bunnings Warehouse", "attendees": [ "Jane Doe" ], "budget": { "id": "e33b7c61-5124-4ba0-b238-e4c573133715", "name": "Sales Team", "budget_type": "BUDGET" }, "currency": "AUD", "custom_fields": [ { … } ], "fx_amount": 100, "amount": -100, "gst": 9.09, "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": [ "https://divipay-user-production.s3.amazonaws.com/123/68eae8f6-cb90-4403-ba76-a2cc12c3979j.png" ], "created": "2024-01-01T00:00:00Z", "updated": "2024-01-01T00:00:00Z" }