#icurrytheteam
1 messages · Page 1 of 1 (latest)
hi! what do you call a 'vendor' exactly, what is that in Stripe in terms of an API object?
All "vendors" have a Stripe Connect Express account.
I have a site of users that can purchase a subscription to a "vendor". An application fee is applied and part of the transaction or payment transfers to our platform while the rest goes to the vendor. I have a database to see which vendors our users have subscribed to. Note, each user that purchases something is also registered as a Stripe Customer.
Does this make sense?
do you create the Subscriptions on the Express accounts themselves using the Stripe-Account header, or on your platform and use the transfer_data parameters ?
transfer data parameters
then there's no direct way to query this in the API, all the subscription just exist on your platform account. You'd need to mainly track this in metadata or through your own databases
for example maybe add a metadata field that includes the account ID acct_xxx of the Express account associated with the Subscription, and then you can use https://stripe.com/docs/api/subscriptions/search to find subscriptions for that ID