Skip to main content

Get minimum amount

POST getMinAmount

Get the minimum amount for floating rate transactions

note

Most users do not read the information about the minimum amount. Be sure to highlight this information in your UI. If users send less than the minimum amount, their coins will likely be lost.

warning

The method is deprecated. To get the minimum amount, you need to use getFixRateForAmount/getExchangeAmount, but the transaction amount must be within limits.

A full-fledged replacement of this method is also coming soon. getMinAmount still will be available for some time.

HTTP request

https://api.changelly.com/v2/#getMinAmount

Request

Header parameters
NameTypeRequiredDescription
X-Api-KeystringtrueYour API key (SHA256 from Public Key)
X-Api-SignaturestringtrueThe query's serialized body signed by your private key according to the RSA-SHA256 method.

Body parameters

NameTypeRequiredDescription
jsonrpcstringtrueJSON-RPC version.
idstringtrueClient's custom ID.
methodstringtrueAPI method name.
paramsobjecttrueRequest parameters.

params schema:

NameTypeRequiredDescription
fromstringtruePayin currency code (in lowercase).
tostringtruePayout currency code (in lowercase).

Response

Sample response

application/json
{
"jsonrpc": "2.0",
"id": "test",
"result": "0.0008563"
}