#kratos6753
1 messages · Page 1 of 1 (latest)
Hi there. The prefix of a stripe resource ID represents the resource type. So card_ presents a card object (https://stripe.com/docs/api/cards/object#card_object), whereas pm_ presents a payment method object (https://stripe.com/docs/api/payment_methods/object#payment_method_object)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how to add card object as payment method to stripe customer?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this is not helping, what i wanted to know is how to add already created card to customer as payment method.
https://stripe.com/docs/api/sources/attach?lang=node#attach_source it's the same API to attach/add a card to a customer.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok