#hayashi_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/1303917855833587762
š Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Starting from API version 2024-04-10 [0], PaymentIntents now hasĀ automatic_asyncĀ as the default capture method when capture method is not specified during PaymentIntents creation. I see that you're using API version 2024-06-20 in your requests
Ā
If you are usingĀ automatic_async, what this means is for all payments, theĀ Ā balance_transactionĀ Ā isĀ nullĀ on the following objects :
- attached Charge object of the API response
charge.succeededwebhookpayment_intent.succeededwebhook
You can see find out more about why you would want to useĀ automatic_asyncĀ and how to be notified when the balance transaction is available here :Ā Ā https://docs.stripe.com/payments/payment-intents/asynchronous-captureĀ
Ā
Alternatively, you can explicitly pass inĀ capture_method="automatic"Ā [1] if you wish to receive the balance_transaction immediately
Ā
[0]Ā Ā https://docs.stripe.com/upgrades#2024-04-10Ā
[1]Ā Ā https://docs.stripe.com/api/payment_intents/create#create_payment_intent-capture_method