Simulate KNET and card payments in the sandbox before you go live.
Use these test cards on the Sandbox payment page (https://sandbox.sadadpay.net/pay/{KEY}) to simulate successful and failed payments. No real money is charged.
Sandbox only
Test cards work only in the Sandbox environment. They are declined in Live.
Test gateways can be unstable
The bank test gateways are sometimes unavailable. This happens on the gateway side, not on SADAD Pay. If a test payment page does not load, wait a few minutes and try again.
How to run a test payment
- Create an invoice in Sandbox, from the merchant portal or with
POST /api/Invoice/insert. - Open the invoice payment link (
https://sandbox.sadadpay.net/pay/{KEY}). - Choose KNET or Card, and enter one of the test cards below.
- Complete the payment, then check the invoice status with
GET /api/Invoice/getbyid.

The sandbox payment page. Choose a payment method, such as KNET, to continue to the test gateway.

After a successful test payment, the invoice shows as Paid with the transaction details.
KNET
| Card | Card number | Expiry date | PIN | Result |
|---|---|---|---|---|
| KNET Test Card (KNET1) | 8888 8800 0000 0001 | 09/30 | Any 4 digits | Approved |
KNET test gateway location
The KNET test gateway does not work from all countries. If the KNET page does not load, try again later or test with a credit card instead.
Cardholder name
You can enter any name in the cardholder name field.

The KNET test page. Enter a KNET test card from the table above.
Credit and debit cards
| Brand | Card number | 3-D Secure enrolled |
|---|---|---|
| Mastercard | 5123 4500 0000 0008 | Yes |
| Mastercard | 2223 0000 0000 0007 | Yes |
| Mastercard | 5111 1111 1111 1118 | No |
| Mastercard | 2223 0000 0000 0023 | No |
| Visa | 4508 7500 1574 1019 | Yes |
| Visa | 4012 0000 3333 0026 | No |
| American Express | 3456 789012 34564 | Yes |
| American Express | 3714 496353 98431 | No |
| Diners Club | 3012 3400 0000 00 | Yes |
| Diners Club | 3625 9600 0000 12 | No |
| JCB | 3528 0000 0000 0007 | Yes |
| JCB | 3528 1111 0000 0001 | No |
| Discover | 6011 0031 7998 8686 | Yes |
| Discover | 6011 9632 8009 9774 | No |
| Maestro | 5000 0000 0000 0000 005 | Yes |
| Maestro | 5666 5555 4444 3333 | No |
| UATP | 1354 9235 4874 528 | No |
| UATP | 1354 2000 1569 134 | No |
Which brands can I accept?
Test cards are provided for all major brands. The brands your customers can actually pay with depend on the payment methods enabled on your SADAD Pay account. UATP cards do not use a CVV or 3-D Secure.
Simulate different results
The expiry date you enter decides the result of a card payment:
| Expiry date | Result |
|---|---|
| 01/39 | Approved |
| 05/39 | Declined |
| 04/27 | Expired card |
| 08/28 | Timed out |
| 01/37 | Acquirer system error |
| 02/37 | Unspecified failure |
| 05/37 | Unknown error |
The CVV you enter decides the result of the CVV check:
| CVV | CVV (American Express) | Result |
|---|---|---|
| 100 | 1000 | Match |
| 101 | 1010 | Not processed |
| 102 | 1020 | No match |
Quick success test
For a normal successful card payment, use expiry date 01/39 and CVV 100 (or 1000 for American Express).
After testing
When your test payments work as expected, follow the Go-Live Checklist and switch to your Live account. See Sandbox & Live Accounts.

