简体   繁体   中英

cofirming a payout has reached external bank account

when money is to be transferred from platform to connect account's external bank account, i am doing a transfer from platform balance to connected account. on doing transfer a tr_xxxxx id is generated, as read in the docs transfer means only sending the amount from platform account to connect account, but the amount gets transferred to bank using payout after 2 days. then a payout id is generated.

so, i am unable to get how to track a transfer, that whether a particular transfer has reached an external bank or not.

I followed up with Stripe support team, they said to expand the payout object and then get the transfer id out of it.. but i tried expanding all the stripe objects but neither i am able to retrieve payout_id from transfer_id nor transfer_id from payout_id.

what flow should i follow such that i can see if a transfer was successful, if failed, i will have to reverse the transfer too, to the platform balance.

You should use webhooks to listen for failed payouts , and handle them when the payout.failed event is sent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM