GET
/
api
/
orders
/
{id}

Requirements to consume the endpoint.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the order to be obtained.

Response

200 - application/json
amountCrypto
number

The amount in cryptocurrency

amountFiat
number

The amount in fiat currency

amountFiatReceived
number

The amount of fiat received

attributes
string[]

List of attributes associated with the order

country
enum<string>

The country of the user

Available options:
MX,
PE,
US
createdAt
string

The date and time the order was created

crypto
enum<string>

The type of cryptocurrency involved in the order

Available options:
USDC,
USDC_POLYGON_NXTB,
SOL_USDC_PTHX,
USDT_POLYGON,
USDT_ERC20,
TRX_USDT_S2UZ
cryptoAddress
string

The address of the cryptocurrency

depositAddress
string

The deposit address

destinationOfFunds
object

Details about the destination of funds

expiredQuotes
string[]

List of expired quotes

fees
object

Object containing detailed information about various fees

fiat
enum<string>

The type of fiat currency used

Available options:
USD,
MXN,
PEN
id
string

The ID of the order

invoice
object

order invoice details, only applies to Mexican orders.

netPrice
number

The net price of the cryptocurrency

notes
string

Any additional notes

paymentInstructions
object

Account information for the bank to which funds will be sent to in a buy order or the blockchain address the funds will be sent to in a sell order

paymentReceivedAt
string

The date and time the payment was received

paymentsReceived
object[]

Information of any payments that were received by Rio for the order

payoutAddressId
string

The unique identifier of the payout address

payoutBankAccountId
string

The unique identifier of the bank account to which the payout will be sent

payoutsSent
object[]

Information of any payouts that were made by Rio for the order

payoutTransferLimit
number

The limit for payout transfer

price
number

The price of the cryptocurrency

quoteId
string

The unique identifier of the quote

side
enum<string>

The side of the order

Available options:
buy,
sell
status
enum<string>

The current status of the order

Available options:
created,
cancelled,
processing,
sourcingLiquidity,
cryptoAddressAdded,
liquiditySourced,
awaitingBankPayoutDetails,
awaitingBinanceSettlement,
binanceSettlementFailed,
incorrectBinanceSettlement,
depositRegistered,
depositConfirmed,
paymentOriginMismatch,
paid,
filled,
refundInitiated,
addressCheckPassed,
depositAddressCreated,
complete,
failedPayment,
bankPayoutDetailsAdded,
awaitingPayment,
awaitingOriginOrderCompletion,
awaitingTransferReissue,
awaitingPayout,
awaitingAsyncPayout,
awaitingAsyncPayment,
awaitingBridgeRouting,
failedFill,
failedTransfer,
failedQuote,
failedProcessorRouting,
failedLiquidityRouting,
failedFees,
incorrectAmountPaid,
insufficientLiquidityFailed,
depositAddressFailed,
addressCheckFailed,
refundFailed,
refundComplete,
bridgeOrderCreationFailed,
bridgeOrderRoutingFailed,
bridgeTransferFailed,
depositAmountMismatchFailed,
failedUnknown,
expired
USBankTransferMethod
enum<string>

Indicates bank transfer method, applies only to the United States.

Available options:
ach_push,
wire
userId
string

The unique identifier of the user

version
number

The version of the order

withdrawalTxId
string

The unique identifier for the withdrawal transaction on the blockchain

withdrawalTxIds
string[]

List of unique identifiers of withdrawal transactions on the blockchain.