Smoke test authentication
Without an API key, protected endpoints should return403:
Test idempotency
Send the same create-order request twice with the sameIdempotency-Key. The API should not create a duplicate order.
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
2xxresponse after successful processing. - Replayed payloads do not create duplicate downstream side effects.

