#Malf-Webhook
1 messages · Page 1 of 1 (latest)
I believe that source on Balance Transaction is the Charge Id
What you are seeing in your webhook, is a Balance object (different)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When balance.available I want to use \Stripe\Transfer::create([ to send an amount to a connected account. But with the information given from balance.available it is complicated to connect that transaction to an payment_intent.
Do you have an suggestion on how I can proceed?
I think you should listen to different webhook. balance.available is too general for that
What timing do you want to listen to, to make a Transfer?
Like after a Payment is made?
When funds is available I want to transfer it to a connected account.
I had it working in testmode with payment_intent.succeeded webhook, but did not take into account the 7days payout time
Have you tried listing the Balance Transaction and filter out the available_on parameter? https://stripe.com/docs/api/balance_transactions/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When you have received the balance.available webhook, perform an API call to List Balance Transaction API
I understand