I’m trying to create a custom action for a payment checkout API.
The API only accepts values without decimal. Example if the amount is 1000, the API will read this as 10.00.
I tried formatting the number to currency, but if I want to show to users the amount of 1,000.00, the input value should be 1,000, but the API will read this as 10.00. If I put 1000.00 as input value, the API will not read this because of the included decimal.