x

Connect v2 - Amount Field Question

It is the first time in a square implement web, and I have a doubt about the amount field, according to what I read value is given in cents.
that is to say
$ 1 = 100 cents
It means that if I want to charge 120.45 then I go in that field
$ 120.45 * 100 = 12045 cents is equivalent to $ 120.45 ???

because when decimal delivery, the platform sends me an error message.
Could help me with this question?

 

PD: I'm using connect v2 in my website

Tags (1)
1,198 Views
Message 1 of 3
Report
1 Best Answer
Square

Best Answer

You are right. Our amount field is in cents. So this field is always an integer. The reference in our documentation is here.


Sean
he/him/his
Product Manager | Square, Inc.

View Best Answer >

1,551 Views
Message 3 of 3
Report
2 REPLIES 2
Square

Hi @Lidia, and welcome to the Seller Community. I'll run your question by our API Team, and then follow up with you shortly. 


Sean
he/him/his
Product Manager | Square, Inc.
1,188 Views
Message 2 of 3
Report
Square

Best Answer

You are right. Our amount field is in cents. So this field is always an integer. The reference in our documentation is here.


Sean
he/him/his
Product Manager | Square, Inc.
1,552 Views
Message 3 of 3
Report