cURL
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 }, "price": 0.0560660109669, "createdAt": "2024-06-04T14:54:17.286Z", "quoteInCrypto": false, "reissueAfterExpiration": true, "netPrice": 0.97671, "id": "665f2a99d6c964829d639812" }
Created
The response is of type object.
object