2
votes

Stripe API has method for retrieving transfers by transferID Transfer::retrieve($transferId); but always return that transfer doesn't exist when I try to retrieve transfer for connected Account.

I want to send email to particular connected account when the founds will be transfered to his bank account.

How to achieve this?

1

1 Answers

2
votes

In the Ruby API, you can achieve this by passing in the stripe_account, like this:

Stripe::Transfer.retrieve(transfer_id, {:stripe_account => acct_id})

If you want to trigger an action on your side based on funds being transferred, you might want to use webhooks.