#jeff00seattle_97574
1 messages · Page 1 of 1 (latest)
There are only the supported fields for each Search API which you can find in the Doc. I don't think balance is supported out there in searching Customer
Yes, I am aware Query fields for customers, https://stripe.com/docs/search#query-fields-for-customers
I was wondering if there is a way to expand search using supported fields or...
Possibly declare unsupported fields, such as my example balance, to be declared as part of metadata?
@feral wind Thank you, appreciate your response
If you can modify your Customer upfront to have metadata then yes that's a way!
so, if my goal is to add to the field metadata with key balance. What approach would I perform using Stripe API to copy the customer's field balance value to metadata["balance"] for all customers ' instances?
Or establish a linked value relationship between field balance and metadata key balance?