#sarvesh3742_api
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/1270699829349060681
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
you can either choose one of the 6 options we provide
or manually enter one of the test accounts we provide from the link I shared
we want to get back the following details from the webhook payment_intent.succeeded
Paid with: Card/Bank whatever selected by user
Name on card: {Name on Card}
Card Number: {Card # in this format ************9402}
Account ID: {Account Branch ID}
Account Name etc
how to get this information from webhook?
you can retrieve the latest_charge and read https://docs.stripe.com/api/charges/object#charge_object-payment_method_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
do we need to save this info from paymentIntent:: create?
"latest_charge": "py_3Pl7ZBIVC3RzWkZ30IXPSjZs",
I can only see this in webhook response but no more details about it for above info
how to restrive?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.