#MrCSJ
1 messages · Page 1 of 1 (latest)
Can you share reason why you would like to do so?
we are designing our technology plan, i want to get this detail info to adjust our plan, it's just a info not a real case.
One way I can think of is to create a SetupIntent without customer and collect the payment method. Once the SetupIntent is completed, you can get the payment method ID (pm_xxx) with SetupIntent Retrieval API: https://stripe.com/docs/api/setup_intents/retrieve
ok, i get this info. but you know some pmid (types: apple pay) that can be charged without attach to a customer. in this situation , if i use this api https://stripe.com/docs/api/payment_methods/retrieve?lang=curl , i think i can got the card info about this pmid?
All the question i asked is about the Apple pay pmid
Ah yes! I misread your question. You may get the payment method details from PaymentMethod Retrieval API: https://stripe.com/docs/api/payment_methods/retrieve
In the response, Apple Pay's type will be card, but you can look for card.wallet in the response to check if it's an Apple Pay payment method with a given PM ID: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet
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.
okay, so i can get more detail card info(such as fingerprint 、last4、issuer) by retrive the pmid without attach this pmid to a customer?
For Apple Pay, you can get details without attaching to a customer including fingerprint and card.last4, but not issuer
ok, besides the fingerprint and card.wallet.dynamic_last4 , i can also get exp_year and exp_month info?
Hi I'm taking over
yeah thank u
Yes you can get the exp_year and exp_month from the card object. You can check the API reference for details https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
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 i get it, thank u again. And this topic can be closed. Thank u
Welcome!