#animesh5991_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/1230481781506052156
๐ 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.
- animesh5991_webhooks, 7 minutes ago, 13 messages
- animesh5991_webhooks, 1 hour ago, 27 messages
- animesh5991_api, 6 days ago, 19 messages
- animesh5991_api, 6 days ago, 23 messages
๐ happy to help
would you mind sharing your request ID?
my colleague explained that the the balance_transaction wouldn't be available until the payment_intent succeeded
in that only i am not able to get it.
you need to listen to the right event
if you listen to the payment_intent.created then you wouldn't get it
you need to listen to the payment_intent.succeeded
I made a request using payment_intent.create then i listened to payment_intent.suceeded event, in which i am not able to find the lastest_charge expanded, i have shared teh event id.
the event ID you shared is for a payment_intent.created but in all cases, the latest_charge won't be expanded by default
evt_3P6t3AJX5V9XswsN0JdsDG6L
you need to call the retrieve PaymentIntent and add the expand: ["latest_charge.balance_transaction"]
okay, got it now