Amex 3DS Challenge Test Card Numbers
Amex · 3DS Challenge: 3DS challenge requires customer authentication. MockCard includes next_action.redirect_to_url on the payment_intent, matching Stripe 3DS patterns.
American Express uses 15-digit card numbers and separate CVV rules. MockCard generates Amex-shaped test data so formatting validators pass before you hit a real gateway.
When to use: Test redirect flows, return_url handling, and abandonment when the user closes the challenge window.
CI tip: Combine with the chaos 3ds_abandoned scenario on Pro for abandonment after challenge starts.
Typical decline_code in webhook payloads: authentication_required.
Click card to flip
Amex 3ds challenge test card example
Generated by the MockCard API on November 2, 2026. Every MockCard number is fictitious and Luhn-valid; the outcome comes from the scenario field, so any Amex number below returns 3ds_challenge when you send that scenario.
- Card number
- 3754 141485 21313
- Expiry
- 11/28
- CID
- 4917
- Name
- JANE SMITH
Request
curl -X POST https://www.mockcard.io/api/v1/generate \
-H "Content-Type: application/json" \
-H "X-Api-Key: $MOCKCARD_API_KEY" \
-d '{"brand": "amex", "scenario": "3ds_challenge"}'Response · HTTP 402
{
"error": {
"code": "authentication_required",
"message": "Your card requires 3D Secure authentication to complete this payment.",
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "http://localhost:3000/3ds/challenge?token=eyJ3ZWJob29rX3VybCI6bnVsbCwicmV0dXJuX3VybCI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMC8zZHMvY29tcGxldGUiLCJhbW91bnQiOjEwMDAsImN1cnJlbmN5IjoiaW5yIiwiYnJhbmQiOiJhbWV4IiwibGFzdDQiOiI2MDAzIiwiZXhwX21vbnRoIjoiMTIiLCJleHBfeWVhciI6IjIwMjgiLCJleHAiOjE3OTM2MjM0ODF9.264ca6a01f00984976270dbd8fc57cae3fc680f6932e4ce151bacedeecd3960c",
"return_url": "http://localhost:3000/3ds/complete"
}
},
"decline_code": null
}
}Webhook event: payment_intent.requires_action
{
"id": "evt_mock_dbfad59b6a48",
"data": {
"object": {
"id": "pi_mock_3ad62614ec25",
"amount": 1000,
"object": "payment_intent",
"status": "requires_action",
"currency": "inr",
"next_action": {
"type": "redirect_to_url",
"redirect_to_url": {
"url": "http://localhost:3000/3ds/challenge?token=eyJ3ZWJob29rX3VybCI6bnVsbCwicmV0dXJuX3VybCI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMC8zZHMvY29tcGxldGUiLCJhbW91bnQiOjEwMDAsImN1cnJlbmN5IjoiaW5yIiwiYnJhbmQiOiJhbWV4IiwibGFzdDQiOiI2MDAzIiwiZXhwX21vbnRoIjoiMTIiLCJleHBfeWVhciI6IjIwMjgiLCJleHAiOjE3OTM2MjM0ODF9.264ca6a01f00984976270dbd8fc57cae3fc680f6932e4ce151bacedeecd3960c",
"return_url": "http://localhost:3000/3ds/complete"
}
},
"last_payment_error": null,
"payment_method_details": null
}
},
"type": "payment_intent.requires_action",
"object": "event",
"created": 1793619881,
"delivery": null,
"livemode": false
}Same scenario, other networks
Need webhook race conditions or 3DS abandonment? See payment failure testing and the API docs. Compare plans on pricing.
API example
const res = await fetch("https://mockcard.io/api/v1/generate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Api-Key": process.env.MOCKCARD_API_KEY ?? "",
},
body: JSON.stringify({
brand: "visa", // visa | mastercard | rupay | amex
scenario: "success", // success | insufficient_funds | 3ds_challenge …
}),
});
const card = await res.json();
// { card_number, expiry_month, expiry_year, cvv, brand, scenario }
console.log(card.card_number, card.cvv);