Quotes
Creates a purchase or sale quote
Only one of the input parameters “amountIn” and “amountOut” must be provided. for on ramps receives additionally clientId and paymentMethodId. Returns a quoteId that can be use to create an order (is not necessary, but if provided and still valid, fewer values will be necessary to create the order). If executable is true, we store it and return a UUID.
POST
/
quotes
Body
application/json
clientId
string
symbolIn
string
symbolOut
string
amountIn
number
amountOut
number
paymentMethodId
string
This is a crucial attribute when creating 'on-ramp' orders. It acts as an identifier for the payment method that will be used to receive funds. Its purpose is to ensure alignment between the system and the client regarding the transaction mechanism, paving the way for efficient transaction processing and tracking. For 'off-ramp' orders, providing this attribute is not required.
executable
boolean
Response
200 - application/json
quoteId
string
amountIn
number
amountOut
number
symbolIn
string
symbolOut
string
paymentMethodId
string
exchangeRate
number
koyweFee
number
networkFee
number
co2
number
validFor
number
validUntil
number