curl --request POST \
--url https://app.sandbox.rio.trade/api/quotes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "66290ac8bd3903485989f82e",
"crypto": "TRX_USDT_S2UZ",
"fiat": "MXN",
"side": "buy",
"amountFiat": 1000,
"country": "MX"
}'
{
"userId": "66290ac8bd3903485989f82e",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"paymentMethod": "card",
"expiresAt": "2024-06-04T14:59:17.286Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.76,
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17836118224825653,
"platformFeeFiat": 20
},
"marketPrice": 0.0560660109669,
"createdAt": "2024-06-04T14:54:17.286Z",
"quoteInCrypto": false,
"reissueAfterExpiration": true,
"netPrice": 0.97671,
"id": "665f2a99d6c964829d639812",
"twoWaySettlementType": "default",
"twoWaySettlementDateOffset": 1,
"twoWaySettlementDate": "2024-06-04T15:02:13.097Z",
"effectiveTwoWaySettlementDateOffset": 1,
"paymentDueDate": "2024-06-04T15:02:13.097Z",
"orderType": "market",
"limitNetPrice": 18.75,
"timeInForceStartsAt": "2024-06-04T15:02:13.097Z",
"timeInForceEndsAt": "2024-06-04T15:02:13.097Z"
}
curl --request POST \
--url https://app.sandbox.rio.trade/api/quotes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"userId": "66290ac8bd3903485989f82e",
"crypto": "TRX_USDT_S2UZ",
"fiat": "MXN",
"side": "buy",
"amountFiat": 1000,
"country": "MX"
}'
{
"userId": "66290ac8bd3903485989f82e",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"paymentMethod": "card",
"expiresAt": "2024-06-04T14:59:17.286Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.76,
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17836118224825653,
"platformFeeFiat": 20
},
"marketPrice": 0.0560660109669,
"createdAt": "2024-06-04T14:54:17.286Z",
"quoteInCrypto": false,
"reissueAfterExpiration": true,
"netPrice": 0.97671,
"id": "665f2a99d6c964829d639812",
"twoWaySettlementType": "default",
"twoWaySettlementDateOffset": 1,
"twoWaySettlementDate": "2024-06-04T15:02:13.097Z",
"effectiveTwoWaySettlementDateOffset": 1,
"paymentDueDate": "2024-06-04T15:02:13.097Z",
"orderType": "market",
"limitNetPrice": 18.75,
"timeInForceStartsAt": "2024-06-04T15:02:13.097Z",
"timeInForceEndsAt": "2024-06-04T15:02:13.097Z"
}
Created
The response is of type object
.