Skip to main content

Test Cards

Moyasar provides a sandbox environment for testing credit card payments without the need to have a live account or use real card numbers. This allows you to test your integration and ensure that everything is working correctly before going live with actual payments.

Before You Start​

You can use any of the cards below to simulate different payment scenarios.

warning

Using any card that is not listed below will result in a failed payment.

Card Info​

The following fields must contain syntactically correct values:

FieldValue
NameUse any name made of at least two words
YearAny future year
MonthAny future month relative the expiry year
CVCAny Three digits code (Four digits for Amex)

Mada​

Card NumberStatusMessageResponse Code3DS Note
4201320111111010paidAPPROVED00----
4201320000013020failedUNSPECIFIED FAILURE99----
4201320000311101failedINSUFFICIENT FUNDS51----
4201320131000508failedDECLINED: LOST CARD41----
4201321234411220failedDECLINED05----
4201322267774310failedDECLINED: EXPIRED CARD54----
4201326324640570failedDECLINED: EXCEEDS WITHDRAWAL LIMIT61----
4201321144311528failedDECLINED: STOLEN CARD43----

Visa​

Card NumberStatusMessageResponse Code3DS Note
4111118250252531failed3DS: attempted but not available, please ensure that you have enabled Online Purchase from your bank portal.----ECI 06
4111114005765430paidAPPROVED00Frictionless Authentication
4111111111111111paidAPPROVED00----
4111113343111067failed3DS service error occurred.----3DS fails during enrollement check
4111116611600661failedThe card is not enrolled in 3DS service.--------
4111112205628150failed3DS service error occurred.----3DS fails during authentication attempt
4111115784228433failedThe authentication attempt was rejected by the issuer bank.--------
4111115620358287failedThe authentication is unavailable, please try again later or contact issuer bank if problem persisted.--------
4123120000000000failedUNSPECIFIED FAILURE99----
4123120001090000failedINSUFFICIENT FUNDS51----
4123450131000508failedDECLINED: LOST CARD41----
4123120001090109failedDECLINED05----
4123128518640738failedDECLINED: EXPIRED CARD54----
4123123033308648failedDECLINED: EXCEEDS WITHDRAWAL LIMIT61----
4123125276780003failedDECLINED: STOLEN CARD43----

Mastercard​

Card NumberStatusMessageResponse Code3DS Note
5421080101000000paidAPPROVED00----
5105105105105100failedUNSPECIFIED FAILURE99----
5457210001000092failedINSUFFICIENT FUNDS51----
5204010101000000failedDECLINED: LOST CARD41----
5204730000002514failedDECLINED05----
5105107550274126failedDECLINED: EXPIRED CARD54----
5105106475101067failedDECLINED: EXCEEDS WITHDRAWAL LIMIT61----
5105107304607225failedDECLINED: STOLEN CARD43----

American Express​

Card NumberStatusMessageResponse Code3DS Note
340000000900000paidAPPROVED00----
371111111111114failedUNSPECIFIED FAILURE99----
340033000000000failedINSUFFICIENT FUNDS51----
340012340501000failedDECLINED: LOST CARD41----
340033000000133failedDECLINED05----
340000018441278failedDECLINED: EXPIRED CARD54----
340000753060788failedDECLINED: EXCEEDS WITHDRAWAL LIMIT61----
340000418501838failedDECLINED: STOLEN CARD43----

UnionPay​

Card NumberStatusMessageResponse Code3DS Note
6200000000000005paidAPPROVED00----
6200000000000013failedUNSPECIFIED FAILURE99----
6200000000000021failedINSUFFICIENT FUNDS51----
6200000000000039failedDECLINED: LOST CARD41----
6200000000000047failedDECLINED05----
6200000000000054failedDECLINED: EXPIRED CARD54----
6200000000000062failedDECLINED: EXCEEDS WITHDRAWAL LIMIT61----
6200000000000070failedDECLINED: STOLEN CARD43----