#orderandchaos-at-work_api

1 messages ยท Page 1 of 1 (latest)

gloomy flameBOT
#

๐Ÿ‘‹ 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/1349528334677180426

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

marble crater
#

But I can only provide the name and the customerId when recording the event, there's no way to differentiate the teams.

arctic axle
#

Hi! So you want to have a single Stripe Customer (business) with multiple Stripe Subscriptions (one per team at the business) , and you want to know how to submit meter events on a per-Subscription basis?

marble crater
#

Yes

#

They could even be on the same subscription ie two (or more) of the same price on the same sub one for each team

#

Can make it work if they have to be separate subs, but would like to support both options ideally

arctic axle
marble crater
#

Interesting, I can see how we could support that. Little unpleasant but potentially achievable.

To be clear, you're confirming that it's assumed to be one type of metered price per customerId, right?

arctic axle
#

The Meter is associated with a [ Customer, Price ] pair, and cannot be specified beyond that.

marble crater
#

Yeah, perfect thanks so much.

arctic axle
#

You're very welcome!

marble crater
#

Saved me a lot of time trawling docs, ty!

arctic axle
#

Good. ๐Ÿ™‚

gloomy flameBOT