Reputation: 10211
Hi guys I am somewhat new to programming. Does anyone have experience using Stripe Marketplaces? I spent all day trying to wrap my head around it but they are really confusing.
Here is their site: https://stripe.com/us/marketplaces
This is the supposed API call(Where does this go in my code?):
curl https://api.stripe.com/v1/transfers \
-u sk_test_jId8tWpQJuUpj7dtRQnkyH3t: \
-d amount=400 \
-d currency=usd \
-d recipient=rp_103haf2rmKZAYQkmezEC4eza \
-d bank_account=ba_mBSw34rzSCcT5i0zd34tpPl \
-d "description=Transfer to [email protected]"
I have implemented stripe checkout for Rails: https://stripe.com/docs/checkout/guides/rails
That was very fast and easy but it won't work as I will have to distribute funds after collecting them.(Stripe Connect won't work for what I am doing & I am guessing Stripe Marketplaces is built on top of Stripe Checkout?).
Stripe Marketplaces is rather new and all tutorials out there are for simple stripejs, stripeconnect or stripe checkout but there are none for implementing stripe marketplaces that I could find.
Upvotes: 2
Views: 792
Reputation: 4288
"Marketplaces" is a use case, not a feature.
You can more easily build a marketplace using the Stripe API to collect payment, take your cut, and transfer the remaining balance to your sellers' bank accounts.
Building the marketplace is up to you. Stripe just makes the billing and accounting easier.
Upvotes: 2