Passer au contenu principal
POST
Create Rate

Autorisations

x-api-key
string
header
requis

Corps

application/json
fromAsset
string
requis

The symbol of the asset you are converting from.

Exemple:

"FROM_ASSET_SYMBOL"

toAsset
string
requis

The symbol of the asset you are converting to.

Exemple:

"TO_ASSET_SYMBOL"

rate
string
requis

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

Exemple:

"ASSET_PAIR_RATE"

minAmount
string
requis

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

Exemple:

"MIN_AMOUNT"

maxAmount
string

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

Exemple:

"MAX_AMOUNT_OPTIONAL"

Réponse

201 - application/json

201

data
object
message
string
Exemple:

"Rate created successfully"

statusCode
number
Exemple:

201