General information about requests to BPG API
Whenever request contains body you should set
Content-Type header to
Floating point numbers
All numbers describing money values are returned as json numbers. Small amounts of BTC may be returned in scientific notation.
When reading numbers returned by API a decimal type should be used to avoid losing precision.
BigDecimalin Java or Scala