#HoàngThịnh-Transfers

1 messages · Page 1 of 1 (latest)

flint grotto
#

hello! how can i help?

proud tapir
#

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

flint grotto
#

then you don't have to manually create a payout on the connected account

proud tapir
#

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

flint grotto
#

what do you mean by info payout?

proud tapir
#

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

flint grotto
#

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

proud tapir
#

I got it

#

but, If I payout auto daily

#

when account payout error

snow parrot
#

👋 stepping in and catching up

proud tapir
#

yep. can I see they in webhook

snow parrot
#

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

proud tapir
#

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?

snow parrot
#

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

proud tapir
#

Thank you for the information