#jeff00seattle_97574

1 messages · Page 1 of 1 (latest)

gritty summitBOT
feral wind
#

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

neon mist
#

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

feral wind
#

If you can modify your Customer upfront to have metadata then yes that's a way!

neon mist
#

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?

feral wind
#

You can simply call an Update PaymentIntent API and set the key balance on metadata, no?