currency_not_supported HTTP 402 Stripe Declines

Stripe Error: currency_not_supported –

The 'currency_not_supported' error is triggered at the API level when a payment attempt is made with a card that does not support the specified currency. This error does not mean that the card is declined due to insufficient funds or other reasons.

Official documentation ↗

Root Causes

1.

Unsupported Currency

The card issuer does not support the currency specified in the payment request.

2.

Incorrect Currency Code

The currency code used in the payment request is incorrect or invalid.

Resolution

1.Check Card Issuer's Supported Currencies

Verify that the card issuer supports the specified currency.

2.Update Currency Code in Payment Request

Ensure that the correct currency code is used in the payment request.

Code Examples


            stripe.api_key = 'YOUR_STRIPE_API_KEY'
charge = stripe.Charge.create(amount=100, currency='usd', source='tok_visa')
          

            const stripe = require('stripe')('YOUR_STRIPE_API_KEY');
const charge = await stripe.charges.create({ amount: 100, currency: 'usd', source: 'tok_visa' });
          

            $stripe = new /paymentGateway/'Stripe';
$charge = $stripe->createCharge(['amount' => 100, 'currency' => 'usd', 'source' => 'tok_visa']);
          

            curl -X POST https://api.stripe.com/v1/charges?amount=100&currency=usd&source=tok_visa -H 'Authorization: Bearer YOUR_STRIPE_API_KEY'
          

FAQ

What does 'currency_not_supported' mean in Stripe?

The 'currency_not_supported' error occurs when the card doesn't support the specified currency.

How do I resolve the 'currency_not_supported' error in Stripe?

Check that the card issuer supports the specified currency and update the currency code in the payment request if necessary.

Independent reference. Always verify against the official Stripe Declines documentation.