#B33fb0n3
1 messages · Page 1 of 1 (latest)
the one that I marked with a white background
hey there, taking a look at this
Sorry, can you explain what you're trying to do exactly?
hey, I am trying to change the amount details. But in Update a PaymentIntent I can't find any key for it
The amount_details isn't something you set directly, that's not supported. It's automatically populated to provide information about on-reader tipping choices when you're using Terminal payments:
https://stripe.com/docs/terminal/features/collecting-tips/overview#how-tips-are-displayed-on-receipt-or-on-reader
so I can't use it for tips?
Not explicitly, no. It's used for showing you what a customer chose to tip on the reader when you use that pattern.
If you're using Terminal for payments and are collecting tips on-reader, that's where you look to get the value afterward
ah ok, got it. Thanks! Wish you a great day 🙂