#mason-terry_payment-method-wallet-type
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1334565742758334604
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mason-terry_api, 1 day ago, 15 messages
- mason-terry_api, 2 days ago, 10 messages
HI ๐
That event is older than 30 days so I cannot see it. Do you have a more recent event I can review?
evt_1Qkpb1A7KvtJszZfiOXFX9PR
Thanks, taking a look now.
Okay so Apple Pay (and Google Pay) will always save as the underlying credit card, which is why these payment methods have type: "card"
But, what you can check, is the wallet property. For this payment method, you have the following data in the wallet property
{
"apple_pay": {
"type": "apple_pay"
},
"dynamic_last4": "3972",
"type": "apple_pay"
}
when I look at this https://docs.stripe.com/api/payment_methods/object I don't see the wallet property
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But you can see the event object right?
I think I found it, I believe it will be found in "card.wallet.type"
You can clearly see this data, right?
Ah, correct. I was looking farther down. It's because the shape of the object is so different depending on what type of payment method it is.
card.wallet.type will tell you what type of digital wallet was used
And then the property for that specific wallet will have more details
okay thank you