Skip to main content
POST
Create Rate

Autorizações

x-api-key
string
header
obrigatório

Corpo

application/json
fromAsset
string
obrigatório

The symbol of the asset you are converting from.

Exemplo:

"FROM_ASSET_SYMBOL"

toAsset
string
obrigatório

The symbol of the asset you are converting to.

Exemplo:

"TO_ASSET_SYMBOL"

rate
string
obrigatório

The exchange rate for the asset pair. Provided as a string to avoid floating point precision issues.

Exemplo:

"ASSET_PAIR_RATE"

minAmount
string
obrigatório

The minimum amount allowed for this rate/pair. Provided as a string.

Exemplo:

"MIN_AMOUNT"

maxAmount
string

The maximum amount allowed for this rate/pair. Optional. Provided as a string.

Exemplo:

"MAX_AMOUNT_OPTIONAL"

Resposta

201 - application/json

201

data
object
message
string
Exemplo:

"Rate created successfully"

statusCode
number
Exemplo:

201