#tetthys
1 messages · Page 1 of 1 (latest)
Yeah that can definitely work if it makes sense for you. We allow up to 40 metadata values that are 500 characters each so as long as your data is within those constraints you can pass them in https://stripe.com/docs/api/metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That being said, it might be easier for you to keep a relation of price ID to product/shipping options on your side. Both are usually viable approaches