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

Modified on: Tue, 6 Oct, 2020 at 11:02 AM

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.


Related articles and Documentation

How do I migrate subscriptions from Stripe to Chargebee while continuing to use Stripe as my payment gateway?
For ACH payments, how do I pass a bank account to Chargebee using the API?

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×