incorrect_number HTTP 402 Stripe Declines Stripe Declines Error: incorrect_number –
The Stripe API returns this error when the provided card number is invalid or does not match the card on file. This error occurs at the API level during payment processing and does not indicate a server-side issue. It means that the card details are incorrect, preventing the transaction from being processed.
Root Causes
Invalid Card Number
The provided card number is incorrect or does not match the card on file.
Card Not Found
The card associated with the provided number has been deleted or is no longer active.
Resolution
1.Verify Card Number
Check that the card number is correct and matches the card on file.
2.Update Card Details
If using an outdated card number, update it in your Stripe dashboard or payment gateway.
Code Examples
stripe.PaymentMethod.create(source=source, amount=1000) # Replace source with a valid PaymentMethod
const paymentMethod = await stripe.paymentMethods.create({ source: 'tok_visa', amount: 1000 });
Stripe\PaymentMethod::create(['source' => 'tok_visa', 'amount' => 1000]);
curl -X POST https://api.stripe.com/v1/payment_methods -d "source=tok_visa&amount=1000"
FAQ
What does this error mean? ▾
This error indicates that the card number is incorrect or does not match the card on file.
How do I resolve this issue? ▾
Verify the card number and update it if necessary. Check your Stripe dashboard for any issues with your payment method.
Independent reference. Always verify against the official Stripe Declines documentation.