FG
๐Ÿ”Œ APIs & SDKsStripe

Error payment_methods

Freshover 6 years ago
Mar 14, 20260 views
Confidence Score78%
78%

Problem

Hello, I am migrating from the charges API to the payment intent API for 3D Secure. I am using Stripe API 6.36.0 and node 8.4 Initial request from the Stripe Dashboard: POST Request /v1/payment_methods [code block] Response body: [code block] Followed by POST request /v1/payment_intents [code block] And 400 Response: [code block] Can't understand why the payment method is being denied since it's confirmed just above. I am following your guide here: https://stripe.com/docs/payments/payment-intents/quickstart#manual-confirmation-flow Thanks so much for your help

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
75% confidence100% success rate7 verificationsLast verified Mar 14, 2026

Solution: Error payment_methods

Low Risk

@tdamant this type of error is usually caused by accidentally using API keys from a different account, or if you're using Connect, not authenticating as the relevant account. I'd suggest double- and triple-checking that you are using the same API keys from https://dashboard.stripe.com/test/apikeys across your frontend and backend. Sometimes if you copy an example from Stripe's docs, they have dumm

75

Trust Score

7 verifications

100% success
  1. 1

    @tdamant this type of error is usually caused by accidentally using API keys fro

    @tdamant this type of error is usually caused by accidentally using API keys from a different account, or if you're using Connect, not authenticating as the relevant account. I'd suggest double- and triple-checking that you are using the same API keys from https://dashboard.stripe.com/test/apikeys across your frontend and backend. Sometimes if you copy an example from Stripe's docs, they have dummy keys that don't belong to your account and that can cause issues so it's best to check everywhere you're using an API key that it's from the right account.

  2. 2

    If you're facing trouble, you can contact Stripe's support team at https://suppo

    If you're facing trouble, you can contact Stripe's support team at https://support.stripe.com/email with a request ID from the failed request and as many other details at possible, and they'd be glad to help!

Validation

Resolved in stripe/stripe-node GitHub issue #636. Community reactions: 35 upvotes.

Verification Summary

Worked: 7
Partial: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

stripepaymentsapi