Receipt Types
Platform-defined receipt families are available to all tenants. Custom receipt types can be registered via the tenant console.| Type | Name | Required Fields |
|---|---|---|
payment_receipt | Payment Receipt | amount, currency, provider, provider_reference, subject |
security_event_receipt | Security Event Receipt | event_type, severity, subject, outcome |
delivery_receipt | Delivery Receipt | item_reference, recipient, delivery_method, delivered_at |
compliance_receipt | Compliance Receipt | check_type, subject, result, framework |
custom_receipt | Custom Receipt | subject, event |
Canonical Envelope
Every receipt — regardless of type — is wrapped in a canonical envelope before signing:Example: Mint a Payment Receipt
Schema Validation
Thepayload field is validated against the receipt type’s JSON Schema before signing. Missing required fields return 422 Unprocessable Entity with a list of the missing fields.
The
Idempotency-Key header is required. If you submit the same key twice with the same parameters, the original receipt is returned rather than creating a duplicate.Webhook Event
Areceipt.created webhook event is delivered to all configured endpoints after a successful mint:
