#johnblythe
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Are you asking about livemode parameter returned by an endpoint? If so, yes.
The parameter is set based on what type of API key was used to make the request (i.e. Test API key OR Live API Key)
i am (i think ๐ ). we have an interface for staff to create products and prices. i'd like those to be made in test mode. after confirming that things test out fine the hope is that they'd be able to promote it (via the same interface, connected through the API) rather than having to give everyone access to Stripe's dashboard directly. does that make sense?
or the copy to live mode functionality, is that in the API and i'm overlooking it?
Ah okay okay!
"Copy to live mode" is a dashboard only feature. You'd need to create these products and prices again by calling the API in live mode.
blarg. ok, so we'd do something like fetch the test product data, remove things like id, and then post that data to the live mode API to replicate it that way, eh?
yup, that should work
alrighty, ty
NP! ๐ Happy to help
๐ have a good one-
You too!