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
Orders API
Get order
GET
/
api
/
orders
/
{id}
curl --request GET \
--url https://app.sandbox.rio.trade/api/orders/{id} \
--header 'x-api-key: <api-key>'
{
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17584797034499297,
"platformFeeFiat": 20
},
"destinationOfFunds": {
"blockchainAddress": "TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi",
"accountHolderName": "John Doe",
"accountNumber": "1234567890",
"CCI": "00111233001112345678",
"CLABE": "014027000000000008"
},
"quoteId": "6660be85d6c964829d63fd05",
"userId": "65a99abb6a92bda6e52bf7af",
"status": "created",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"createdAt": "2024-06-05T19:38:20.264Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 55.54,
"price": 0.0568673040717,
"netPrice": 0.05554,
"notes": "Description Pt.1",
"payoutBankAccountId": "660c10c6eb4fbb235708b8e8",
"expiredQuotes": [],
"USBankTransferMethod": "ach_push",
"cryptoAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C",
"id": "67811d310936d148349f5676",
"payoutAddressId": "673b5cf6302b8444c78dd3d3",
"attributes": [
"fixedPrice"
],
"payoutTransferLimit": 475000,
"paymentsReceived": [
{
"amount": 100000,
"accountHolderName": "John Doe",
"accountNumber": "<string>",
"CCI": "<string>",
"CLABE": "<string>",
"receivedAt": "2025-01-10T13:14:42.855Z",
"blockchainAddress": "<string>",
"blockchainTxId": "<string>"
}
],
"payoutsSent": [
{
"amount": 4748.36,
"blockchainTxId": "0x66ECBd38905CC32249ddd6f4f0B4A3DdDDCbd608",
"sentAt": "2025-01-10T13:14:48.240Z",
"SPEITrackingNumber": "<string>",
"CEPLink": "<string>",
"reference": "<string>"
}
],
"paymentInstructions": {
"bankName": "NVIO",
"companyName": "RAMPA BLOCKCHAIN SAPI DE CV",
"companyAddress": "Ave. Lázaro Cardenas 2400, Residencial San Agustin 1 Sector, San Pedro Garza Garcia, CP 66260, Mexico",
"bankAddress": "Sandbox Bank Address, 12345, Sandbox City, Sandbox Country",
"accountNumber": "<string>",
"routingNumber": "123456789",
"reference": "9f5676",
"CLABE": "710969000021237966",
"RUC": "<string>",
"RFC": "RBL2206107N8",
"CCI": "00111233001112345678",
"blockchainAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C"
},
"paymentReceivedAt": "2025-01-10T13:14:42.855Z",
"invoice": {
"PDFLink": "<string>",
"XMLLink": "<string>"
},
"informationalFees": {
"serviceFeeFiat": 0,
"serviceFeeFiatTax": 0
}
}
Requirements to consume the endpoint.
User approved
The user must be approved in at least one country.
Authorizations
Path Parameters
Id of the order to be obtained.
Response
200
application/json
OK
The response is of type object
.
curl --request GET \
--url https://app.sandbox.rio.trade/api/orders/{id} \
--header 'x-api-key: <api-key>'
{
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.17584797034499297,
"platformFeeFiat": 20
},
"destinationOfFunds": {
"blockchainAddress": "TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi",
"accountHolderName": "John Doe",
"accountNumber": "1234567890",
"CCI": "00111233001112345678",
"CLABE": "014027000000000008"
},
"quoteId": "6660be85d6c964829d63fd05",
"userId": "65a99abb6a92bda6e52bf7af",
"status": "created",
"crypto": "USDC",
"side": "buy",
"fiat": "USD",
"createdAt": "2024-06-05T19:38:20.264Z",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 55.54,
"price": 0.0568673040717,
"netPrice": 0.05554,
"notes": "Description Pt.1",
"payoutBankAccountId": "660c10c6eb4fbb235708b8e8",
"expiredQuotes": [],
"USBankTransferMethod": "ach_push",
"cryptoAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C",
"id": "67811d310936d148349f5676",
"payoutAddressId": "673b5cf6302b8444c78dd3d3",
"attributes": [
"fixedPrice"
],
"payoutTransferLimit": 475000,
"paymentsReceived": [
{
"amount": 100000,
"accountHolderName": "John Doe",
"accountNumber": "<string>",
"CCI": "<string>",
"CLABE": "<string>",
"receivedAt": "2025-01-10T13:14:42.855Z",
"blockchainAddress": "<string>",
"blockchainTxId": "<string>"
}
],
"payoutsSent": [
{
"amount": 4748.36,
"blockchainTxId": "0x66ECBd38905CC32249ddd6f4f0B4A3DdDDCbd608",
"sentAt": "2025-01-10T13:14:48.240Z",
"SPEITrackingNumber": "<string>",
"CEPLink": "<string>",
"reference": "<string>"
}
],
"paymentInstructions": {
"bankName": "NVIO",
"companyName": "RAMPA BLOCKCHAIN SAPI DE CV",
"companyAddress": "Ave. Lázaro Cardenas 2400, Residencial San Agustin 1 Sector, San Pedro Garza Garcia, CP 66260, Mexico",
"bankAddress": "Sandbox Bank Address, 12345, Sandbox City, Sandbox Country",
"accountNumber": "<string>",
"routingNumber": "123456789",
"reference": "9f5676",
"CLABE": "710969000021237966",
"RUC": "<string>",
"RFC": "RBL2206107N8",
"CCI": "00111233001112345678",
"blockchainAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C"
},
"paymentReceivedAt": "2025-01-10T13:14:42.855Z",
"invoice": {
"PDFLink": "<string>",
"XMLLink": "<string>"
},
"informationalFees": {
"serviceFeeFiat": 0,
"serviceFeeFiatTax": 0
}
}
Assistant
Responses are generated using AI and may contain mistakes.