Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create subscriptions (using on_behalf_of parameter) with destination transfers for connected accounts?

Our Goal

We have a platform, where we manage all customers, products and prices. Is it possible to have connected accounts receive payouts from subscriptions charged by the platform account? (Connected accounts can be in all regions).


We wish to add connected accounts, which can receive subscription payments. Ideal scenario is to have all charges settled on the platform account, and then transferred to connected accounts.

Option 1

From docs, the easiest is to use transfer_data[destination].

However, turns out, it's not possible if your connected accounts are from different regions. E.g. a connected account in the US, where as the platform is in Australia.

Option 2

Pass stripe_account header, but the problem here is that customers and prices need to belong to the connected account, which is not an option.

Option 3 (The only solution?)

Hence, the solution is to use a on_behalf_of=connected_account_id parameter, which is covered in the docs. The problem is that stripe.Subscription.create() API, doesn't have such parameter.

Has anyone successfully managed to create subscriptions, using on_behalf_of?

like image 607
user43249 Avatar asked Sep 29 '20 19:09

user43249


Video Answer


1 Answers

At the moment, Stripe doesn't officially support on_behalf_of on Subscription and the only official options available are the first 2 that you mentioned.

For option #3 it's part of a private beta that you could get access to. I'd recommend reaching out to their support team about this

like image 192
koopajah Avatar answered Oct 12 '22 07:10

koopajah