Skip to main content

Create a receipt

Enterprise Only

This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.

Method: POST

URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/receipts

Authorization: Bearer <token>

Body:

{
"workspace_uuid": "3bbd0951-5b04-432b-b2a0-688588b0720e",
"transaction_id": "txn_1234567890",
"invoice_number": "INV-2025-001",
"amount": 1999,
"tax": 0,
"currency": "USD",
"description": "Pro Plan - Monthly",
"receipt_url": "https://vendors.paddle.com/invoices/...",
"paid_at": "2025-01-15 10:30:00"
}
KeyFormatRequiredDescription
workspace_uuidstringrequiredUUID of the workspace
transaction_idstringrequiredTransaction ID from payment platform
invoice_numberstringrequiredUnique invoice number
amountnumericrequiredPayment amount
taxnumericrequiredTax amount
currencystringrequiredCurrency code (e.g., USD, EUR)
descriptionstringoptionalReceipt description
receipt_urlstringoptionalURL to the receipt/invoice from payment platform
paid_atdaterequiredPayment date and time

Response:

{
"uuid": "a09367a5-dfc1-43d7-9557-70eb93e01e01",
"transaction_id": "txn_1234567890",
"invoice_number": "INV-2025-001",
"amount": 1999,
"tax": 0,
"currency": "USD",
"receipt_url": null,
"description": "Pro Plan - Monthly",
"created_at": "Jan 15, 2025",
"paid_at": "Jan 15, 2025",
"paid_at_raw": "2025-01-15 10:30"
}