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

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.