#nicolas-fernandez-falco_api

1 messages ยท Page 1 of 1 (latest)

eager flaxBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1438865012432175175

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

knotty compass
#

๐Ÿ‘‹ happy to help

#

what do you mean by the surcharge amount?

leaden mist
#

Hello!

#

As it sounds. Surcharge amount. Whenever a payment intent is created, we are able to update the payment intent specifying a surcharge amount for processing fees for example. Stripe automatically adds that surcharge amount to the payment intent total. So whenever I'm listening to the succeeded event, I would like to get access and check if the payment intnet had surcharge amount. Now the payment intnet has an amount details object and a totals details object. both of them have the surcharge object with the amount but I was wondering if there was a best practice or somethign specifically I should consider

knotty compass
#

would you mind sharing the doc where this is referenced?

knotty compass
#

so are you talking about the tip amount?

#

or which amount exactly

leaden mist
#

Surcharge

knotty compass
#

oh this is a private feature

#

our team here is not familiar with all private features

leaden mist
#

ohhhh okay!

#

Thanks!

knotty compass
#

sure let me know if you need any more help

leaden mist
#

Sure! Thanks again! Have a great day!