EdfaPay Logo

Test Cards & Sandbox

Test cards for the EdfaPay staging environment, covering a frictionless approval, a 3-D Secure challenge, and a decline. Plus how to obtain sandbox credentials and run Apple Pay sandbox flows.

Test Cards

Use these only in the staging environment supplied by EdfaPay support — they do not work against production.

Card brandNumberExpiryCVVOutcome
Mastercard (3-DS frictionless)5123 4500 0000 000801 / 39100Approved
Visa (3-DS challenge)4111 1111 1111 111101 / 39123Approved after challenge
Decline4000 0000 0000 000201 / 39123Declined by issuer

Staging only

These cards are for the sandbox baseUrl issued by EdfaPay. Never use them against https://app-api.edfapay.com.

Getting Sandbox Access

The staging base URL is issued per-merchant. Contact integration@edfapay.com to obtain sandbox credentials and your merchant configuration, then point initialize(baseUrl:) at it.

Apple Pay Sandbox

For Apple Pay sandbox flows, follow Apple's Sandbox Testing guide and use the sandbox test cards Apple issues to your sandbox iCloud account. EdfaPay merchant-id mapping is configured per-merchant in the staging dashboard.