curl --request GET \
--url https://app.sandbox.rio.trade/api/quotes/{id} \
--header 'x-api-key: <api-key>'
{
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17832524656482562,
"platformFeeFiat": 20
},
"userId": "66290ac8bd3903485989f82e",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"paymentMethod": "card",
"expiresAt": "2024-06-04T15:07:13.097Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.77,
"price": 0.0560773092573,
"createdAt": "2024-06-04T15:02:13.097Z",
"quoteInCrypto": false,
"reissueAfterExpiration": true,
"netPrice": 0.97671,
"id": "665f2c75d6c964829d6398f4"
}
curl --request GET \
--url https://app.sandbox.rio.trade/api/quotes/{id} \
--header 'x-api-key: <api-key>'
{
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17832524656482562,
"platformFeeFiat": 20
},
"userId": "66290ac8bd3903485989f82e",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"paymentMethod": "card",
"expiresAt": "2024-06-04T15:07:13.097Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.77,
"price": 0.0560773092573,
"createdAt": "2024-06-04T15:02:13.097Z",
"quoteInCrypto": false,
"reissueAfterExpiration": true,
"netPrice": 0.97671,
"id": "665f2c75d6c964829d6398f4"
}
Id of the quote to be obtained.
OK
The response is of type object
.