#Pankaj-metadata
1 messages · Page 1 of 1 (latest)
depends what you mean by "using" it really
that's the ID of a PaymentIntent yes.
But I don't want to use it
you can't change that or set it, it's generated by Stripe when you call the API to create the PaymentIntent.
Basically my moto is to update meta description of an order
don't now what "use" means in that context. But that's what metadata is for, indeed. You can set your own metadata on the object and look it up later in webhook bodies or in the API.
moto = motivation?
never heard of that word, sorry. But ok I think I understand you.
anyway, is everything clear now? What can I help with?
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Yes
Can't we update metadata based on metadat we passed on payment creation
Like curl
You can update metadata on the Payment Intent, yep: https://stripe.com/docs/api/payment_intents/update?lang=curl#update_payment_intent-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.
No, you need to pass the pi_xxx ID as a URL parameter
ok Thanks!!!