#charles-s_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1356713317330325686
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
I'm not sure I fully grasp your set up with Credits for Connected Accounts. Can you maybe share an example or something so that we're on the same page?
Sure, let's say I am running a promotion and I want to give a user money which they can spend in the platform, but cannot payout to their bank/card (i.e. I cannot just deposit the money in their stripe connect account). Does that make sense?
Gotcha. In that case, they become a "Customer" for your platform Stripe account correct?
Yes that is right, every buyer is associated to a Customer and every seller is associated to a connect account.
Are you using Invoicing for payments? If so, you could rely on Customer Credit balance for these - https://docs.stripe.com/invoicing/customer/balance
Yeah I noticed this page, I but I don't think it's applicable as there is no invoicing in my integration
If you use the PaymentIntents API directly though, then you'd want to track these credits in your own database instead.
Gotcha. Then you'd want to just track the promotion on the application level (in your own database) and calculate the amount based on the balance these "Customers" have available
Ok cool, that is what I thought - but is it ok to keep all the money allocated for the credits in an account separate from the platform account? Just worried about bugs "overspending" credits and being unable to settle transactions between buysers + sellers
I'm not sure what you mean by that. The "credits/promotion management" is basically taking place outside Stripe in the flow above.
Your system calculates what credit applies to which customers etc. So I don't think it matters where your funds are located from Stripe's perspective.
The promo stuff is basically abstracted from Stripe. You're just telling us the amount to charge after the discount/promo
Well the funds backing the credit need to be in Stripe, because if they are used for a purchase they need to flow to the seller's connect account. But it sounds like I am able to do whatever I want internally with the money movement. I just didn;t want to get flagged or something.
What do you mean by 'get flagged or something'?
It looks like you stepped away. Please note that we can't assist with compliance/ risk related questions related to holding funds and what that might entail. You'd want to talk to our support team. Our support team will be able to assist you better than I can: https://support.stripe.com/contact