curl --request POST \
--url https://app.sandbox.rio.trade/api/orders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"quoteId": "60d5ec9af682fbd39a1fa614",
"notes": "Note",
"payoutBankAccountId": "60d5ec9af663fbd39a1fa523",
"userAddressId": "50d5ec9af663fbd39a1fa629",
"wireMessage": "Message"
}'
{
"quoteId": "60d5ec9af682fbd39a1fa614",
"userId": "65a99abb6a92bda6e52bf7af",
"status": "created",
"crypto": "USDC",
"destinationOfFunds": {
"blockchainAddress": "TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi",
"accountHolderName": "John Doe",
"accountNumber": "1234567890",
"CCI": "00111233001112345678",
"CLABE": "014027000000000008"
},
"side": "buy",
"fiat": "USD",
"createdAt": "2024-06-04T16:38:43.994Z",
"cryptoAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.16,
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.1803336531356813,
"platformFeeFiat": 20
},
"price": 0.055452766725000005,
"notes": "Note",
"expiredQuotes": [
"<string>"
],
"id": "665f4313b96e4fb76f5a1403",
"payoutAddressId": "673b5cf6302b8444c78dd3d3",
"attributes": [
"fixedPrice"
],
"payoutTransferLimit": 475000,
"paymentsReceived": [],
"payoutsSent": [],
"informationalFees": {
"serviceFeeFiat": 0,
"serviceFeeFiatTax": 0
}
}
curl --request POST \
--url https://app.sandbox.rio.trade/api/orders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"quoteId": "60d5ec9af682fbd39a1fa614",
"notes": "Note",
"payoutBankAccountId": "60d5ec9af663fbd39a1fa523",
"userAddressId": "50d5ec9af663fbd39a1fa629",
"wireMessage": "Message"
}'
{
"quoteId": "60d5ec9af682fbd39a1fa614",
"userId": "65a99abb6a92bda6e52bf7af",
"status": "created",
"crypto": "USDC",
"destinationOfFunds": {
"blockchainAddress": "TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi",
"accountHolderName": "John Doe",
"accountNumber": "1234567890",
"CCI": "00111233001112345678",
"CLABE": "014027000000000008"
},
"side": "buy",
"fiat": "USD",
"createdAt": "2024-06-04T16:38:43.994Z",
"cryptoAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C",
"country": "MX",
"amountFiat": 1000,
"amountCrypto": 54.16,
"fees": {
"processingFeeFiat": 0,
"transferFeeFiat": 0.1803336531356813,
"platformFeeFiat": 20
},
"price": 0.055452766725000005,
"notes": "Note",
"expiredQuotes": [
"<string>"
],
"id": "665f4313b96e4fb76f5a1403",
"payoutAddressId": "673b5cf6302b8444c78dd3d3",
"attributes": [
"fixedPrice"
],
"payoutTransferLimit": 475000,
"paymentsReceived": [],
"payoutsSent": [],
"informationalFees": {
"serviceFeeFiat": 0,
"serviceFeeFiatTax": 0
}
}
Created
The response is of type object
.