Skip to main content

Smoke test authentication

Without an API key, protected endpoints should return 403:
Expected body:

Test idempotency

Send the same create-order request twice with the same Idempotency-Key. The API should not create a duplicate order.
Repeat the same command with the same key.

Test webhooks

Use a development HTTPS endpoint that preserves request headers and raw body. Verify:
  • The endpoint receives X-ArchiveOrder-Signature.
  • Your handler rejects requests with a missing or invalid signature.
  • Your handler returns a 2xx response after successful processing.
  • Replayed payloads do not create duplicate downstream side effects.