Skip to content

Testing

Download .md

Build and test your integration in test mode, where no real money moves. There is one API host: your key prefix selects the mode.

Mode Base URL Key
Test https://api.paymee.online/api/v1 sk_test_…
Live https://api.paymee.online/api/v1 sk_live_…

Test mode is fully separate from live mode: its own sessions and refunds, its own webhook endpoint and signing secret, and its own exchange rates. Switch your dashboard to test mode to configure them. Every test-mode object and event carries livemode: false.

Use these cards on the hosted checkout page in test mode. You enter them on the payment page — Paymee never asks you to send card numbers to the API.

Brand Card number Expiry CVV
Visa 4509 2111 1111 1119 12/26 748
Mastercard 5440 2127 1111 1110 12/26 665

3-D Secure code for every test card: 12345.

Whether a test payment succeeds or is declined is decided by the acquirer’s test system; there are no cards or amounts that force a decline. To check your failure handling without a declined payment, send a session.attempt_failed or session.failed test event to your endpoint.

  1. Create a session with your sk_test_… key (see Quickstart).
  2. Open the returned checkout_url.
  3. Pay with a test card above; complete 3-D Secure with 12345.
  4. Confirm your endpoint receives a session.succeeded webhook and that you verify its signature.
  5. Refund the session through the API and confirm you receive refund.succeeded.

When everything works end to end, follow the Going live checklist.