Create a receipt
POST/panel/receipts
Creates a receipt for the workspace identified by workspace_uuid.
Send amount and tax as numbers in major currency units (for example 199.99, not 19999). They are returned as decimal strings ("199.99").
quantity is always 1 and cannot be set by the client.
Request
Responses
- 201
- 401
- 403
- 422
Receipt created (201). Returns the receipt object unwrapped (no data envelope).
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
The request body failed validation.