#LEO LIU
1 messages ยท Page 1 of 1 (latest)
@vale grotto How can we help?
im reviewing your API spec https://stripe.com/docs/api/payment_methods/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the description is "Retrieves a PaymentMethod object attached to the StripeAccount"
could you specify what is the StripeAccount?
Hi there, I'm taking over.
Hey Jack
The Stripe account here refer to the Stripe account where this payment method is created in.
If you use your secret key to create a payment method, this payment method will be created in your Stripe account.
oic
so double confirm that whether the pmid is attached to a customer or not, we can get the payment method details by invoking this API
is it right?๐
especially when the pm_xxx comes from Apple Pay payment
To get the list of payment methods that are attached to a customer, you shall call this API instead https://stripe.com/docs/api/payment_methods/customer_list#list_customer_payment_methods
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.