The amount field is a decimal number represented as a string to avoid floating point issues while generating and parsing the JSON.

This also applies to the request's body. When sending an amount, it should always be represented as a string.