#microvoltaire-cli

1 messages · Page 1 of 1 (latest)

mystic moon
upbeat tiger
#

Hi @mystic moon, do you know what the best way to do this is?

mystic moon
#

I don't fully understand the ask, can you give a concrete example?

upbeat tiger
#

so I'm doing stripe trigger payment_intent.created

#

on CLI

#

I want to add metadata

#

I can add amount doing something like stripe trigger payment_intent.created --override payment_intent.amount=343

#

but how do I add metadata to the request?

mystic moon
#

looking

#

stripe trigger payment_intent.created --override payment_intent:metadata[aaaa]=bbbb works for me

upbeat tiger
#

zsh says no matches found

#

zsh: no matches found: payment_intent:metadata[aaaa]=bbbb

mystic moon
#

I don't know about zsh, never used it unfortunately, but it must be because of the [ so you'll need to escape them