2

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?

4

1 に答える 1

2

Ruby API では、次のように strip_account を渡すことでこれを実現できます。

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

送金される資金に基づいて自分の側でアクションをトリガーしたい場合は、webhooksを使用することをお勧めします。

于 2016-01-19T18:37:33.810 に答える