#kevin-amount-number
1 messages · Page 1 of 1 (latest)
kevin-amount-number
Hey @autumn pike what exact code did you write, what exact error did you get?
that's a picture of poorly formatted text
but if you read it it's telling you we expect an integer and you passed a decimal number
Our amounts are always in the smallest currency unit for for USD it's in cents. So amount: 1234 is $12.34
so if you want to charge $283.50 you need to pass amount: 28350
the one above has been multiplied already it was 2.835 which iwas passing so the new amaount is 283.5
sure but that's still not an integer
we don't do sub-cents
you can't charge someone $2.835
for that then what amount should i pass
mmh okay thanks on that