List receipts
Enterprise Only
This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.
Method: GET
URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/receipts
Authorization: Bearer <token>
Query Parameters:
| Key | Format | Required | Description |
|---|---|---|---|
workspace_uuid | string | optional | Filter receipts by workspace UUID |
invoice_number | string | optional | Search by invoice number |
Response:
- 200
- 401
- 403
{
"data": [
{
"uuid": "a09367a5-dfc1-43d7-9557-70eb93e01e01",
"workspace": {
"uuid": "3bbd0951-5b04-432b-b2a0-688588b0720e",
"name": "My Workspace",
"hex_color": "#6366f1",
"owner_id": 1,
"access_status": "unlimited",
"created_at": "Jan 15, 2025 10:30 AM"
},
"transaction_id": "txn_1234567890",
"invoice_number": "INV-2025-001",
"amount": 1999,
"tax": 0,
"currency": "USD",
"receipt_url": "https://vendors.paddle.com/invoices/...",
"description": "Pro Plan - Monthly",
"created_at": "Jan 15, 2025",
"paid_at": "Jan 15, 2025",
"paid_at_raw": "2025-01-15 10:30"
}
],
"links": {
"first": "https://example.com/mixpost/api/panel/receipts?page=1",
"last": "https://example.com/mixpost/api/panel/receipts?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 20,
"to": 1,
"total": 1
}
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}