API Reference

Test Cards

Testing Environment

📘

To obtain Sadad sandbox account, please register an account on Sandbox Registration.

Then, E-mail the Sadad support team at [email protected] to activate it.

After Implementing the Sadad integration, you can use the below-mentioned test cards to simulate the transactions and ensure everything is working before production.

Test Cards

🚧

Test gateway

Sometimes, the test gateways are not stable in the sandbox environment, and they get down from time to time from the gateway side not from Sadad's side. You can keep trying from time to time until the gateway is getting up.

You can find below the test card details for the Sadad payment methods.

KNET

🚧

KNET Test Environment

KNet test gateway is not working for all countries.

Bank NameCard NumberExpiration DatePIN
KNet Test Card [KNET1]888888- Any 10 digits09/25Any 4 digits

👍

Card Holder Name

For Card Holder Name field you can use any name.

Credit Cards

Test Cards Card Number 3-D Secure Enrolled
Mastercard
5123450000000008 Y
2223000000000007 Y
5111111111111118 N
2223000000000023 N
Visa
4508750015741019 Y
4012000033330026 N
American Express
345678901234564 Y
371449635398431 N
Diners Club
30123400000000 Y
36259600000012 N
JCB
3528000000000007 Y
3528111100000001 N
Discover 6011003179988686 Y
6011963280099774 N
Maestro 5000000000000000005 Y
5666555544443333 N
UATP
(UATP cards do not support CSC/CVV and 3DS)
135492354874528 N
135420001569134 N

 

Expiry Date Transaction Response Gateway Code
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

 

CSC/CVV CSC/CVV Response Gateway Code
100
MATCH
101
NOT_PROCESSED
102
NO_MATCH
For American Express cards
1000 MATCH
1010 NOT_PROCESSED
1020 NO_MATCH

 

Billing Address Street AVS Response Gateway Code
10001 Alpha St
ADDRESS_MATCH
10002 Gamma St
NOT_VERIFIED
10003 November St
NO_MATCH
10004 Romeo St
SERVICE_NOT_AVAILABLE_RETRY
10005 Sierra St
SERVICE_NOT_SUPPORTED
10006 Uniform St
NOT_AVAILABLE
10007 Whiskey St
ZIP_MATCH
10008 X-ray St
ADDRESS_ZIP_MATCH
10009 Kilo St NAME_MATCH
10010 Oscar St NAME_ADDRESS_MATCH
10011 Lima St NAME_ZIP_MATCH
10012 Zero St NOT_REQUESTED