Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The Manage Offer API doc states the amount is an integer.
Really??!?! In all the SDKs, the amounts are strings.
Is the doc here wrong?
Note: It's wrong in several places in that doc including other offer APIs and payments APIs
This page documents the core API which takes integers. You must divide by 10^7 to get the actual numbers. All of the SDKs use strings which are the actual amounts.
So the doc isn't wrong, just a bit confusing to the reader.
Required, but never shown