#HoàngThịnh-Transfers
1 messages · Page 1 of 1 (latest)
I working with payment transfer stripe
but I see money from transfer move to balance to pay have to need about 2 days
I don't know when money from payment transfer move to balance to me can create payout
currently I only see in webhook balance.availabel return balance of dashboard
this is api I am working: https://stripe.com/docs/connect/destination-charges#transfer-amount
hi @flint grotto
why not use automatic daily payouts [0] instead?
then you don't have to manually create a payout on the connected account
because, i want get info payout for user
if payout error I will show that error to them can update more data for bank
when payout
what do you mean by info payout?
ex: when A tips for B
B will receipt a notify
he receitped x$ from A
how can do it by webhook
or other info stripe
if you want to know when the money transferred to the connected account becomes available for payout, i would suggest you listen for the payment_intent.succeeded event. Upon receipt of that event, make a request to retrieve the Charge [0][1] and expand [2] the response to include transfer.destination_payment.balance_transaction
[0] https://stripe.com/docs/api/payment_intents/object#payment_intent_object-charges-data
[1] https://stripe.com/docs/api/charges/retrieve
[2] https://stripe.com/docs/api/expanding_objects
the corresponding Balance Transaction in the response will contain available_on which shows when the funds will be available to be paid out : https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-available_on
👋 stepping in and catching up
yep. can I see they in webhook
Can you summarize what's your issue?
As my colleague said, you have the available_on inside a charge to know when it becomes available in balance
Can you ask me one more question?
is there any way I can check my transfer and payment faster in test mode instead of waiting at least 2 days?
if I use auto daily payout and it fails or succeeds. will I get webhooks from the stripe?
No unfortunately, in test mode for payout you would still have to wait
If you use Auto Payout, yes you should get webhook on success or failure
Thank you for the information