Sites WayDevelopers

Testing

Test mode, test cards and what to check before going live.

With a test key everything works as in live โ€” payments, refunds, webhooks, settlements and statements โ€” on a simulator. No card network is involved and no money moves.

  • Pay with the test cards. Any future expiry date and any CVC are accepted.
  • A real card number never works in test, and a test card never works in live.
  • Test and live data never mix: a test key never sees a live payment.

Before going live, check that your integration:

  1. Confirms payments from your server (webhook or GET /v1/payments/{id}), never from the customer's return alone.
  2. Verifies every webhook signature.
  3. Sends an Idempotency-Key with every payment and refund, and reuses it when it retries.
  4. Handles a declined card (4000 0000 0000 0002) and a 3-D Secure challenge (4000 0000 0000 3220).