Skip to main content
POST
Create Rate

Autorizaciones

x-api-key
string
header
requerido

Cuerpo

application/json
fromAsset
string
requerido

The symbol of the asset you are converting from.

Ejemplo:

"FROM_ASSET_SYMBOL"

toAsset
string
requerido

The symbol of the asset you are converting to.

Ejemplo:

"TO_ASSET_SYMBOL"

rate
string
requerido

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

Ejemplo:

"ASSET_PAIR_RATE"

minAmount
string
requerido

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

Ejemplo:

"MIN_AMOUNT"

maxAmount
string

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

Ejemplo:

"MAX_AMOUNT_OPTIONAL"

Respuesta

201 - application/json

201

data
object
message
string
Ejemplo:

"Rate created successfully"

statusCode
number
Ejemplo:

201