MasterCard Network Timeout Test Card Numbers

MasterCard · Network Timeout: network_timeout introduces a ~10s delay before the gateway responds. Use it to test client timeouts, webhook retry storms, and queue workers that assume fast responses.

Mastercard test cards use 16-digit BIN ranges distinct from Visa. Use this page when your checkout detects network brand or routes MC-specific decline handling.

When to use: Load tests and resilience checks where your HTTP client timeout is shorter than gateway latency.

CI tip: Run with webhook_url set to measure whether your handler times out before the event arrives.

Typical decline_code in webhook payloads: processing_error.

visa

•••• •••• •••• ••••

Cardholder Name

CVV •••

Expires ••/••

Click card to flip

More MasterCard scenarios

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);