Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

How to retrieve the Stripe payment method id for stripe payment intent API?

This article covers

I need a payment_method_id to create a payment_intent in Stripe. If I look at the Chargebee payment_source, I find only a reference id. How to get the payment_method_id?

How to find stripe's payment method id from Chargebee payment_source

Summary

If you are trying to create a payment intent with Chargebee's hosted components and fields to retrieve the stripe reference ID you could use the Retrieve a customer or Subscription API.

Note: Using the above you can retrieve the stripe customer_id and payment_method of a customer to map Chargebee's payment source. You will be able to find this under the customer object. Here's a screenshot for your reference

This step is useful when you try to obtain the stripe payment intent API to get 3DS completed identifier.

Click here to know more on Stripe's payment intent API.

Was this article helpful?