Returns Quote Details
Receives a quoteId value. One can be produced uing the previous quote service (post /quotes). Returns quote data.
GET
/rest/quotes/{quoteId}
quoteId*
curl --request GET \
--url https://api-test.koywe.com/rest/quotes/{quoteId}
{
"amountIn": "238228",
"amountOut": "1",
"co2": "number",
"exchangeRate": "235816",
"koyweFee": 2358.16,
"networkFee": "54",
"paymentMethodId": "632d7fe6237ded3a748112cf",
"quoteId": "63da8100c6d0af192f9f9e8c",
"symbolIn": "CLP",
"symbolOut": "BNB",
"validFor": "10",
"validUntil": "1675264266"
}
Path Parameters
quoteIdrequired
string
The quote's identifier.
Response
200 - application/json
amountIn
number
amountOut
number
co2
number
exchangeRate
number
koyweFee
number
networkFee
number
paymentMethodId
string
quoteId
string
symbolIn
string
symbolOut
string
validFor
number
validUntil
number
curl --request GET \
--url https://api-test.koywe.com/rest/quotes/{quoteId}
{
"amountIn": "238228",
"amountOut": "1",
"co2": "number",
"exchangeRate": "235816",
"koyweFee": 2358.16,
"networkFee": "54",
"paymentMethodId": "632d7fe6237ded3a748112cf",
"quoteId": "63da8100c6d0af192f9f9e8c",
"symbolIn": "CLP",
"symbolOut": "BNB",
"validFor": "10",
"validUntil": "1675264266"
}