#Eli P - metadata
1 messages · Page 1 of 1 (latest)
Hi, are you able to share the request id that is erroring? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Sure. req_7PNJZBBLTIniGh
Thank you, you can only attach key-value data on the metadata. To learn more, please visit: https://stripe.com/docs/api/metadata
Are you saying the value cannot be another json object?
That is correct
What about an array?
The link you sent does not say anything about what can be stored
No. In the introduction, you'll see the following:
You can use this parameter to attach key-value data to these Stripe objects. You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long.
I just went onto stripe dashboard and stored a json object just fine in metadata
Oh.. Unless it was just stored as a string
Ok. Thanks
You can use this parameter to attach key-value data to these Stripe objects. You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long.
It doesn’t say what type the value has to be
I'll pass this feedback along to the team, thank you.