# JSON Schemas

Open specs for receipts, execute requests and responses, webhook events and pass rules, as JSON Schema 2020-12. The API serves them at https://api.arettic.com/schemas/{name}.json (index: GET https://api.arettic.com/schemas); the site mirrors them at https://arettic.com/schemas/{name}.json. Licensed CC BY 4.0.

| Schema | Version | URL | Describes |
|---|---|---|---|
| Receipt | 1.0.0 | https://arettic.com/schemas/receipt.json | A purchase's receipt: every item attempt, its check, charge and refund. |
| Execute request | 1.0.0 | https://arettic.com/schemas/execute-request.json | The body of POST /v1/execute. |
| Execute response | 1.0.0 | https://arettic.com/schemas/execute-response.json | Every successful answer of POST /v1/execute: item, batch, job, approval, test mode. |
| Webhook event | 1.0.0 | https://arettic.com/schemas/webhook-event.json | The body of every webhook delivery, with the data of each event type. |
| Pass rules | 1.0.0 | https://arettic.com/schemas/pass-rules.json | The pass rule of every task type, as served by GET /v1/task-types and /v1/formula. |

This page as HTML: https://arettic.com/schemas · Markdown: https://arettic.com/schemas.md · JSON: https://arettic.com/schemas.json
