#nsad_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nsad_api, 2 days ago, 21 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1245898460406878318
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hello! If you're already using the Stripe SDK library, there is no need for you to manually include an idempotency key. It's included by default in our SDK libraries. You can read more about idempotency here : https://docs.stripe.com/api/idempotent_requests.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, nice
Another thing i was think in create a marketplace instead product is subscription, the system like Onlyfans for example, the platform receive a percentage for each sells that the seller sells
The best way is create one product in stripe that the platform create, and use price_data to change the value of subscription for each seller?
or each seller need create one product and one price in stripe?
it sounds like you want to do a direct charge subscription model. For the direct charges model, regardless of who creates the product and price, it needs to exist on the connected account. If you as the platform wants to make an API request on behalf of the connected account, you need to use the StripeAccount header : https://docs.stripe.com/connect/authentication
You can read more about subscriptions using direct charges here : https://docs.stripe.com/connect/subscriptions#use-direct-charges-to-create-a-subscription
Yes, i will verify this
But in your option, its better use one product, that the platform manage, and each seller just change the price_data?
Or create each product, each price to sellers?
Either one will work. If you pre-recreated the price, the price ID will be fixed. It might be helpful for your own data analytics. For ad-hoc price using price_data, the price ID created will be different
Okay, thanks so much for your help, have a good night!