#frekis_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/1302922003522654241
đ 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.
- frekis_api, 4 days ago, 9 messages
- frekis_api, 6 days ago, 7 messages
https://docs.stripe.com/api/payment_intents/create
First we got transaction id inside charges paramater and from new update it is not appear in create intent response
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
what is "transaction ID"? you mean the BalanceTransaction?
i need this txn id so we can check and update further in our db based on charges
parameter is :- charges and inside charges balance_transaction parameter
So now how can i get that balance_transaction ?
when do you want that information? just after creating the PaymentIntent, or later?
no i need later
like in capture payment what we do we saved all amount and taxes in our database so it will easy to make print
when you retrieve the PaymentIntent with the API, add expand: ["latest_charge.balance_transaction"]. and the API response will contain the PaymentIntent, and the Charge, and the BalanceTransaction.
you can learn more about Expand here: https://docs.stripe.com/expand
Expend will not work as expected.
can you gave me any other way like any other api calling so will use that way to get that missing charges parameter value and inside charges balance transactions
yes i tried earlier
and what happened?
can you share the request ID (req_xxx)? you can find it here https://dashboard.stripe.com/test/logs
if you are trying to retrive the balanceTransaction just after creating the PaymentIntent, you need to set capture_method: automatic https://docs.stripe.com/api/payment_intents/create?lang=dotnet#create_payment_intent-capture_method
can expand will work on capture method ?
stripe.paymentIntents.capture
yes