Cheqi provides APIs for creating receipts and reading receipts for customers
Cheqi API (v1)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cheqi.io/_mock/apis/api-docs
Generated server url
https://test.api.cheqi.io
Bodyapplication/jsonrequired
Items Enum"RECEIPT_CREATED""RECEIPT_FINALIZED""RETURN_REQUESTED""CREDIT_NOTE_CREATED"
- Mock serverhttps://docs.cheqi.io/_mock/apis/api-docs/webhook/subscription
- Generated server urlhttps://test.api.cheqi.io/webhook/subscription
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cheqi.io/_mock/apis/api-docs/webhook/subscription \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"events": [
"RECEIPT_CREATED"
],
"receiptFormat": "JSON",
"notificationUrl": "string"
}'Response
application/json
{ "createdWebhooks": [ { … } ], "failedEvents": [ "string" ] }