Create a test checkout

POST/checkout/create.php
Terminal
curl "https://circus-pay.com/api/checkout/create.php" \
  -H "Authorization: Bearer $CIRCUSPAY_SECRET_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "amount": 1000,
  "currency": "EUR",
  "orderId": "TEST-DEMO-001",
  "testMode": true
}'

A test key forces this mode. The response contains test: true, mode: "test" and a sandbox URL. Check these values before continuing.

Check your integration

  1. Create a new order with a unique reference.
  2. Open the returned sandbox URL and follow its simulation flow.
  3. Check notification reception in your test environment.
  4. Check that multiple notifications do not cause multiple fulfilments.
  5. Test failure and return to the store.