Test Card Numbers

How Card Payments Work

Lemonway provides its Partners with a complete solution for processing card payments.

At Lemonway, we offer several card payment options; you can find them here.

Card payments work in four key steps:

  1. Once the basket is confirmed, your customer clicks the payment button on your website or application.
  2. A card transaction with the status Pending is created in your Dashboard (Type = Incoming / Method = Card / Status = Pending).
  3. The payment page opens, where your customer enters their card details (network, number, expiry date, and CVC) and completes the payment.
  4. The transaction is updated with card information (first four and last two digits, issuing country, etc.). Its status changes and Lemonway deducts its fee.

Accepted card networks and supported currencies

NetworkCard typeGeographic areaAccepted currencies
CB (Carte Bancaire)Debit and CreditFranceEUR
VisaDebit and CreditInternationalEUR, GBP, CHF
MastercardDebit and CreditInternationalEUR, GBP, CHF

Activation of some networks may depend on your contract and geographic area. Contact your Account Manager to find out which networks are available in your configuration.

Pay In and Pay Out transactions are always processed in the currency of your Lemonway payment environment. Exchange rates are provided by the card-issuing bank. Other currencies may be activated on request, depending on your volumes.

Available Features and Card Registration

Depending on your contractual configuration, the following features are available:

FeatureDescription
One-shot paymentSingle transaction without saving the card
One-click paymentPayment using a saved (tokenised) card, initiated by the customer without re-entering their details
Card pre-authorisationHolds an amount on the card (for a deposit or when the final amount is unknown) for up to 6 days
Recurring payments (MIT)Merchant-initiated transactions, such as subscriptions, recurring debits and deferred billing
Delayed captureThe actual debit takes place after the authorisation phase
Partial or full refundRefund to the original card, through the Dashboard or API

One-click and MIT features use secure card tokenisation. Lemonway stores card details in accordance with PCI DSS standards and returns a unique identifier (card_id) during the first payment with card registration. This identifier is used for subsequent transactions, so the customer does not need to enter their details again.

Recurring payments (MIT) are subject to specific regulatory requirements, including initial consent and informing the cardholder. Make sure your integration meets these obligations before activation.

Transaction statuses

StatusDescription
SuccessThe transaction has completed, and the amount is credited to the beneficiary's payment account.
PendingThe amount has not yet been credited, but the status may change to Success or Error.
CancelledThe amount has not been credited. The customer did not complete the payment (for example, they closed the browser, did not enter the 3DS code, or the session timed out).

Test Cards (Sandbox Environment)

In the sandbox environment, use the card numbers below to simulate different payment behaviours. For all test cards, use:

  • Expiry date: any future date (for example, 12/26).
  • CVC: any three-digit code (for example, 123).

These test cards are valid only in the sandbox environment and when you are using Lemonway's new card structure. Using a test card in production results in an automatic decline (card.test).

For more information, contact your Account Manager or Lemonway Support.

Successful Payments

Card numberNetworkBehaviour
4242 4242 4242 4242VisaSuccessful payment
5555 5555 5555 4444MastercardSuccessful payment

Successful Payments by Issuing Country

Card numberCountryNetwork
4977 8300 0000 0001FranceVisa
4360 0000 0100 0005FranceVisa / Carte Bancaire (CB)
5130 2900 0000 0009FranceMastercard / Carte Bancaire (CB)
4658 5800 0000 0008United KingdomVisa
4023 6000 0000 0002ItalyVisa
4571 7300 0000 0003DenmarkVisa
4338 3000 0000 0009ArgentinaVisa
4835 9100 0000 0003ChinaVisa

Specific 3D Secure Behaviours

Card number3DS Behaviour
4000 0000 0000 01013DS required and supported (challenge)
4000 0000 0000 01193DS not supported by the card
4000 0000 0000 30553DS v2 - frictionless flow (without fingerprint)
4000 0000 0000 30633DS v2 - frictionless flow (with fingerprint)
4000 0000 0000 32533DS v2 required for SCA; no authentication for MITs
4000 0000 0000 02593DS v2 supported; v1 not supported
4000 0000 0000 32383DS v2 not supported; v1 supported
4000 0000 0000 32203DS v2 - fingerprint fails
4000 0000 0000 32463DS v1 required, but v2 not supported

Special Authorisation Behaviours

Card numberSimulated Behaviour
4000 0000 0000 0002Card declined
4000 0000 0000 0010Authorisation succeeds, but every capture fails
4000 0000 0000 2180Declined -card.do-not-honor
4000 0000 0000 2198Declined - card.possible-fraud
4000 0000 0000 2206Declined - card.no-money (insufficient funds)
4000 0000 0000 2214Declined -card.expired
4000 0000 0000 2222Declined - card.stolen (card reported stolen)
4000 0000 0000 2230Declined - card.failed-cvc (invalid CVC)
4000 0000 0000 2248Declined - card.failed-avs
4000 0000 0000 2255Declined - card.not-authorized
4000 0000 0000 2263Declined - card.inactive
4000 0000 0000 2271Declined - card.lost
4000 0000 0000 2289Declined - card.region-not-authorized
4127 9694 2058 7632Declined - card.blacklisted

Other Special Behaviours

Card numberSimulated Behaviour
4000 0000 0000 0028CVC verification fails
4000 0000 0000 1216Verification succeeds, but every transaction fails
4000 0000 0000 0069Payment succeeds, but a chargeback is initiated immediately
4000 0000 0000 0200Payment succeeds, but a failed chargeback is initiated immediately
4000 0000 0000 0309Payment succeeds, but a retrieval request is initiated immediately
4000 0000 0000 0077Payment succeeds, but every refund is declined
4000 0000 0000 4004Payment succeeds, but a fraud notification is sent
4000 0000 0000 6223Payment succeeds, but every incremental capture fails
4000 0000 0000 0531Authorisation succeeds, but every incremental authorisation fails
4000 0000 0000 3303Authorisation succeeds, but every incremental authorisation fails with card.no-money
4000 0000 0000 6009Verification succeeds, but new authorisations fail with card.no-money
4000 0000 0000 4301Verification succeeds, but new authorisations fail with card.expired
5337 4800 0000 7168The transaction fails with recommendation code do-not-retry