#stanyakimov

1 messages · Page 1 of 1 (latest)

mossy gustBOT
cyan kettle
#

Hi there

#

Not sure I understand the issue exactly. You can't set a % here -- you have to set an integer. So you would calculate percent and then you'll need to round as necessary and pass the integer.

cyan kettle
#

Yeah I think you are confused about the input here -- it is passed in the lowest denomination of the currency. So for USD for instance you pass it in cents. So if you take 2% of $10 then you pass 20 to the API to represent $0.20 as the Application Fee

naive geyser
#

Ahaa

#

Well that was good enough I guess! 😁

#

Alright, thanks for the help dude! Wish you a good day!