Creates a purchase or sell 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.
Request
This endpoint expects an object.
clientId
symbolIn
symbolOut
amountIn
amountOut
paymentMethodId
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
Response
successful operation
quoteId
amountIn
amountOut
symbolIn
symbolOut
paymentMethodId
exchangeRate
koyweFee
networkFee
co2
validFor
validUntil