Testing
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.
Test cards
Section titled “Test cards”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.
End-to-end test flow
Section titled “End-to-end test flow”- Create a session with your
sk_test_…key (see Quickstart). - Open the returned
checkout_url. - Pay with a test card above; complete 3-D Secure with
12345. - Confirm your endpoint receives a
session.succeededwebhook and that you verify its signature. - Refund the session through the API and confirm you receive
refund.succeeded.
When everything works end to end, follow the Going live checklist.

