API Documentation
API List
- Address API
- Bank accounts API
- Bank payments API
- Bank payouts API
- Crypto payments API
- Onboarding API
- Orders API
- Quotes API
- Users API
- Webhooks API
Quotes API
Get Quote by ID
GET
/
api
/
quotes
/
{id}
Copy
Ask AI
curl --request GET \
--url https://app.sandbox.rio.trade/api/quotes/{id} \
--header 'x-api-key: <api-key>'
Copy
Ask AI
{
"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"
}
Authorizations
Path Parameters
Id of the quote to be obtained.
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://app.sandbox.rio.trade/api/quotes/{id} \
--header 'x-api-key: <api-key>'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.