v1 (legacy). This page documents the API before the v2 update. The v1
format is not enabled for new accounts and must be enabled on your account by
your account manager. New integrations should use the
current documentation. To update an existing integration,
follow the migration guide.
Required for buy orders. It is the ID of the address to which we will send the funds. For US sell orders, it is the address from which you will send the funds.
Current status of the order. These are the statuses an order moves through on a normal flow, and which ones it sees depends on whether it is a buy or a sell and on whether payment is deferred. Other statuses can appear depending on the circumstances of the order.
The type of order. market means that the order is executed at the current market price, while limit means that the order is executed at a specified limit net price.
Limit price for limit orders, expressed like netPrice as units of what you receive per unit of what you pay (crypto per fiat on a buy, fiat per crypto on a sell). Only applicable when orderType is limit.
Informational fees for the order (does not affect quote)
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rio","colors":{"primary":"#44b7d8","light":"#3595f2","dark":"#44b7d8"},"logo":{"light":"https://mintcdn.com/riotransfer-041f224d/2jIPo0UYgGim4y7X/logo/logo.svg?fit=max\u0026auto=format\u0026n=2jIPo0UYgGim4y7X\u0026q=85\u0026s=fcab53c19c8608da62e98b5898926a62","dark":"https://mintcdn.com/riotransfer-041f224d/2jIPo0UYgGim4y7X/logo/logo.svg?fit=max\u0026auto=format\u0026n=2jIPo0UYgGim4y7X\u0026q=85\u0026s=fcab53c19c8608da62e98b5898926a62"},"favicon":"https://mintcdn.com/riotransfer-041f224d/7a_IqQ9iL3CQx-yS/favicon.svg?fit=max\u0026auto=format\u0026n=7a_IqQ9iL3CQx-yS\u0026q=85\u0026s=ca861c6a48356e5aa6990b6d265900f3","navbar":{"links":[{"href":"mailto:support@rio.trade","label":"Rio Support"}],"primary":{"type":"button","label":"Rio Platform","href":"https://app.rio.trade/en/login"}},"footer":{"socials":{"x":"https://x.com/rio-transfer","linkedin":"https://www.linkedin.com/company/rio-transfer"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"riotransfer-041f224d","hasAudioNarration":false,"actualSubdomain":"riotransfer-041f224d","customDomains":["docs.rio.trade"],"gitSource":{"type":"github","owner":"riocrypto","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad008d1547ea277a5d584e2","collectionId":"50fa8c8f-3bc1-4e8a-bc11-4e6fc8dd28ab","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad008d1547ea277a5d584e2"},"entitlements":{},"buildId":"6ad008d1547ea277a5d584e2","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":69},{"language":"default","tag":"API List","count":67},{"language":"default","tag":"Guides","count":24},{"language":"default","tag":"Workflows","count":15},{"language":"default","tag":"Users API","count":14},{"language":"default","tag":"Stablecoins","count":11},{"language":"default","tag":"Bank accounts API","count":9},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Address API","count":8},{"language":"default","tag":"Bank payments API","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"v1/api-reference/orders/create-order","slug":"/v1/api-reference/orders/create-order","pageMetadata":{"openapi":"v1/api-reference/orders-docs.json post /api/orders","title":"Create order","description":"","href":"/v1/api-reference/orders/create-order"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,Heading,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`v1 (legacy).`}),` This page documents the API before the v2 update. The v1\nformat is not enabled for new accounts and must be enabled on your account by\nyour account manager. New integrations should use the\n`,_jsx(_components.a,{href:`/introduction`,children:`current documentation`}),`. To update an existing integration,\nfollow the `,_jsx(_components.a,{href:`/migration`,children:`migration guide`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`requirements-to-consume-the-endpoint`,children:`Requirements to consume the endpoint.`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Create and modify role`,icon:`user-lock`,children:_jsx(_components.p,{children:`The user must have the role to create and modify.`})}),_jsx(Card,{title:`User approved`,icon:`check`,children:_jsx(_components.p,{children:`The user must be approved in at least one country.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"v1/api-reference/orders-docs.json post /api/orders","title":"Create order","description":"","href":"/v1/api-reference/orders/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements to consume the endpoint.","slug":"requirements-to-consume-the-endpoint","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create order","description":"","responses":{"201":"9a373412-313f-4ccd-a7bb-cdf107243ba3","401":"f599d1cf-a1e9-4ea1-82f3-76fe0b69c885"},"requestBody":"d5818300-db6a-4012-a103-3da46e34e3e5","method":"post","type":"path","servers":["dddad635-da56-4195-942f-430412efad22"],"security":["2b3c2253-de49-46ad-8b42-0f522180cb8d"],"path":"/api/orders","baseUrlOptions":["https://app.sandbox.rio.trade"],"title":"Create order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"type":"string","description":"Id of the quote to be associated with this order.","example":"60d5ec9af682fbd39a1fa614","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string"},"notes":{"description":"An optional description to be added to the order for your future reference.","type":"string","example":"Note","uniqueKey":"notes","typeLabel":"string"},"payoutBankAccountId":{"description":"Required for sell orders. This is the ID of the bank account where the funds will be deposited.","type":"string","example":"60d5ec9af663fbd39a1fa523","uniqueKey":"payoutBankAccountId","typeLabel":"string"},"userAddressId":{"description":"Required for buy orders. It is the ID of the address to which we will send the funds. For US sell orders, it is the address from which you will send the funds.","type":"string","example":"50d5ec9af663fbd39a1fa629","uniqueKey":"userAddressId","typeLabel":"string"},"clientReferenceId":{"description":"Your own unique reference identifier for tracking this order in your system.","type":"string","maxLength":100,"example":"03d5ec9af663fbd39a1fa","uniqueKey":"clientReferenceId","typeLabel":"string"}},"required":["quoteId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quoteId":"60d5ec9af682fbd39a1fa614","notes":"Note","payoutBankAccountId":"60d5ec9af663fbd39a1fa523","userAddressId":"50d5ec9af663fbd39a1fa629","clientReferenceId":"03d5ec9af663fbd39a1fa"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9a373412-313f-4ccd-a7bb-cdf107243ba3":{"content":{"application/json":{"schema":{"type":"object","properties":{"quoteId":{"type":"string","description":"Unique identifier of the associated quote","example":"60d5ec9af682fbd39a1fa614","uniqueKey":"quoteId","typeLabel":"string"},"userId":{"type":"string","description":"Unique identifier of the user who created the order","example":"65a99abb6a92bda6e52bf7af","uniqueKey":"userId","typeLabel":"string"},"status":{"enum":["awaitingTimeInForceToStart","awaitingLimitPriceCondition","timeInForceEnded","created","addressCheckPassed","awaitingPayment","processing","paid","incorrectAmountPaid","sourcingLiquidity","liquiditySourced","filled","complete","depositAddressCreated","awaitingBankPayoutDetails","bankPayoutDetailsAdded","depositConfirmed","awaitingPayout","bankPaymentDetailsAdded","awaitingAsyncPayment","awaitingAsyncPayout","cancelled","expired"],"description":"Current status of the order. These are the statuses an order moves through on a normal flow, and which ones it sees depends on whether it is a buy or a sell and on whether payment is deferred. Other statuses can appear depending on the circumstances of the order.","type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"crypto":{"enum":["USDC","USDC_POLYGON_NXTB","SOL_USDC_PTHX","XLM_USDC_5F3T","USDC_BASECHAIN_ETH_5I5C","USDCE_TEMPO_MXYR","USDT_POLYGON","USDT_ERC20","TRX_USDT_S2UZ","USDT_BSC","SOL_USDT_EWAY","EUROC_ETH_F5NG","EURC_SOL","EURC_B609K9QB_Y213"],"description":"Type of cryptocurrency involved in the order","type":"string","uniqueKey":"crypto","typeLabel":"enum\u003cstring>"},"destinationOfFunds":{"type":"object","description":"Details about the destination of funds","properties":{"blockchainAddress":{"type":"string","description":"The blockchain address","example":"TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi","uniqueKey":"destinationOfFunds.blockchainAddress","typeLabel":"string"},"blockchainMemo":{"type":"string","description":"The memo for the blockchain transaction (USDC Stellar orders only).","example":"1234567890","uniqueKey":"destinationOfFunds.blockchainMemo","typeLabel":"string"},"accountHolderName":{"type":"string","description":"The account holder name","example":"John Doe","uniqueKey":"destinationOfFunds.accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"The account number","example":"1234567890","uniqueKey":"destinationOfFunds.accountNumber","typeLabel":"string"},"CCI":{"type":"string","description":"20-digit code used to identify bank accounts, only applies in Peru","example":"00111233001112345678","uniqueKey":"destinationOfFunds.CCI","typeLabel":"string"},"CLABE":{"type":"string","description":"18-digit code used to identify bank accounts, only applies in Mexico","example":"014027000000000008","uniqueKey":"destinationOfFunds.CLABE","typeLabel":"string"}},"uniqueKey":"destinationOfFunds","typeLabel":"object"},"side":{"enum":["buy","sell"],"description":"Indicates whether the order is a buy or sell order","type":"string","uniqueKey":"side","typeLabel":"enum\u003cstring>"},"fiat":{"enum":["USD","MXN","PEN","COP"],"description":"Type of fiat currency used in the order","type":"string","uniqueKey":"fiat","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","description":"Timestamp indicating when the order was created","example":"2024-06-04T16:38:43.994Z","uniqueKey":"createdAt","typeLabel":"string"},"cryptoAddress":{"type":"string","description":"Cryptocurrency address associated with the order","example":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","uniqueKey":"cryptoAddress","typeLabel":"string"},"country":{"enum":["MX","PE","CO"],"description":"Country of residence of the user who created the order","type":"string","uniqueKey":"country","typeLabel":"enum\u003cstring>"},"amountFiat":{"type":"number","description":"Amount of fiat currency involved in the order","example":1000,"uniqueKey":"amountFiat","typeLabel":"number"},"amountCrypto":{"type":"number","description":"Amount of cryptocurrency involved in the order","example":54.16,"uniqueKey":"amountCrypto","typeLabel":"number"},"fees":{"type":"object","description":"Details about the fees","properties":{"processingFeeFiat":{"type":"number","description":"The processing fee in fiat","example":0,"uniqueKey":"fees.processingFeeFiat","typeLabel":"number"},"transferFeeFiat":{"type":"number","description":"The transfer fee in fiat","example":0.1803336531356813,"uniqueKey":"fees.transferFeeFiat","typeLabel":"number"},"platformFeeFiat":{"type":"number","description":"The platform fee in fiat","example":20,"uniqueKey":"fees.platformFeeFiat","typeLabel":"number"}},"uniqueKey":"fees","typeLabel":"object"},"marketPrice":{"type":"number","description":"The price of the cryptocurrency","example":0.055452766725000005,"uniqueKey":"marketPrice","typeLabel":"number"},"notes":{"type":"string","description":"Any additional notes","example":"Note","uniqueKey":"notes","typeLabel":"string"},"expiredQuotes":{"type":"array","description":"List of expired quotes","items":{"type":"string","uniqueKey":"expiredQuotes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"expiredQuotes","typeLabel":"string[]"},"id":{"type":"string","description":"The ID of the order","example":"665f4313b96e4fb76f5a1403","uniqueKey":"id","typeLabel":"string"},"payoutAddressId":{"type":"string","description":"The unique identifier of the payout address","example":"673b5cf6302b8444c78dd3d3","uniqueKey":"payoutAddressId","typeLabel":"string"},"attributes":{"type":"array","description":"List of attributes associated with the order","items":{"type":"string","uniqueKey":"attributes.items.[INDEX]","typeLabel":"string"},"example":["fixedPrice"],"uniqueKey":"attributes","typeLabel":"string[]"},"payoutTransferLimit":{"type":"number","description":"The limit for payout transfer","example":475000,"uniqueKey":"payoutTransferLimit","typeLabel":"number"},"paymentsReceived":{"type":"array","description":"List of payments received","items":{"type":"object","properties":{"amount":{"type":"number","description":"The amount received","example":100000,"uniqueKey":"paymentsReceived.items.[INDEX].amount","typeLabel":"number"},"accountHolderName":{"type":"string","description":"The name of the account holder","example":"John Doe","uniqueKey":"paymentsReceived.items.[INDEX].accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"The account number","example":null,"uniqueKey":"paymentsReceived.items.[INDEX].accountNumber","typeLabel":"string"},"CCI":{"type":"string","description":"20-digit code used to identify bank accounts, only applies in Peru","example":null,"uniqueKey":"paymentsReceived.items.[INDEX].CCI","typeLabel":"string"},"CLABE":{"type":"string","description":"18-digit code used to identify bank accounts, only applies in Mexico","example":"123456789012345678","uniqueKey":"paymentsReceived.items.[INDEX].CLABE","typeLabel":"string"},"receivedAt":{"type":"string","description":"The date and time the payment was received","example":"2025-01-10T13:14:42.855Z","uniqueKey":"paymentsReceived.items.[INDEX].receivedAt","typeLabel":"string"}},"uniqueKey":"paymentsReceived.items.[INDEX]","typeLabel":"object"},"example":[],"uniqueKey":"paymentsReceived","typeLabel":"object[]"},"payoutsSent":{"type":"array","description":"List of payouts sent","items":{"type":"object","properties":{"amount":{"type":"number","description":"The amount sent","example":4748.36,"uniqueKey":"payoutsSent.items.[INDEX].amount","typeLabel":"number"},"blockchainTxId":{"type":"string","description":"The blockchain transaction ID","example":"0x66ECBd38905CC32249ddd6f4f0B4A3DdDDCbd608","uniqueKey":"payoutsSent.items.[INDEX].blockchainTxId","typeLabel":"string"},"sentAt":{"type":"string","description":"The date and time the payout was sent","example":"2025-01-10T13:14:48.240Z","uniqueKey":"payoutsSent.items.[INDEX].sentAt","typeLabel":"string"},"SPEITrackingNumber":{"type":"string","description":"Unique identifier for a SPEI transaction (also known as clave de rastreo) (sell order only)","uniqueKey":"payoutsSent.items.[INDEX].SPEITrackingNumber","typeLabel":"string"},"CEPLink":{"type":"string","description":"URL to view the CEP generated for the transaction (sell order only)","uniqueKey":"payoutsSent.items.[INDEX].CEPLink","typeLabel":"string"},"reference":{"type":"string","description":"The reference for the payment (sell order only)","uniqueKey":"payoutsSent.items.[INDEX].reference","typeLabel":"string"}},"uniqueKey":"payoutsSent.items.[INDEX]","typeLabel":"object"},"example":[],"uniqueKey":"payoutsSent","typeLabel":"object[]"},"type":{"type":"string","description":"The type of order. `market` means that the order is executed at the current market price, while `limit` means that the order is executed at a specified limit net price.","enum":["market","limit"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"parentOrderId":{"type":"string","description":"The ID of the parent order. This is only applicable for if the order was spawned from a partial fill.","example":"6660beaccc4633bc6412318a","uniqueKey":"parentOrderId","typeLabel":"string"},"limitNetPrice":{"type":"number","description":"Limit price for `limit` orders, expressed like `netPrice` as units of what you receive per unit of what you pay (crypto per fiat on a buy, fiat per crypto on a sell). Only applicable when `orderType` is `limit`.","example":0.0555,"uniqueKey":"limitNetPrice","typeLabel":"number"},"timeInForceStartsAt":{"type":"string","description":"The date and time from which the order is scheduled to be executed (optional).","example":"2024-06-04T15:02:13.097Z","uniqueKey":"timeInForceStartsAt","typeLabel":"string"},"timeInForceEndsAt":{"type":"string","description":"The date and time until which the order is scheduled to be executed (optional).","example":"2024-06-04T15:02:13.097Z","uniqueKey":"timeInForceEndsAt","typeLabel":"string"},"twoWaySettlementDate":{"type":"string","description":"The date on which the order is settled.","example":"2024-06-04T15:02:13.097Z","uniqueKey":"twoWaySettlementDate","typeLabel":"string"},"effectiveTwoWaySettlementDateOffset":{"type":"number","description":"The number of billable days until the order is settled. This is only applicable for if the `twoWaySettlementType` is `TPlusOffset`.","example":1,"uniqueKey":"effectiveTwoWaySettlementDateOffset","typeLabel":"number"},"informationalFees":{"type":"object","description":"Informational fees for the order (does not affect quote)","properties":{"serviceFeeFiat":{"type":"number","description":"The service fee in the order’s fiat currency","example":0,"uniqueKey":"informationalFees.serviceFeeFiat","typeLabel":"number"},"serviceFeeFiatTax":{"type":"number","description":"The tax amount on the service fee in the order’s fiat currency","example":0,"uniqueKey":"informationalFees.serviceFeeFiatTax","typeLabel":"number"}},"uniqueKey":"informationalFees","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quoteId":"60d5ec9af682fbd39a1fa614","userId":"65a99abb6a92bda6e52bf7af","status":"awaitingTimeInForceToStart","crypto":"USDC","destinationOfFunds":{"blockchainAddress":"TS9kqAVq4PR7xNoQDJXSP6Kgz8GFbwUbzi","blockchainMemo":"1234567890","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},"marketPrice":0.055452766725000005,"notes":"Note","expiredQuotes":["\u003cstring>"],"id":"665f4313b96e4fb76f5a1403","payoutAddressId":"673b5cf6302b8444c78dd3d3","attributes":["fixedPrice"],"payoutTransferLimit":475000,"paymentsReceived":[],"payoutsSent":[],"type":"market","parentOrderId":"6660beaccc4633bc6412318a","limitNetPrice":0.0555,"timeInForceStartsAt":"2024-06-04T15:02:13.097Z","timeInForceEndsAt":"2024-06-04T15:02:13.097Z","twoWaySettlementDate":"2024-06-04T15:02:13.097Z","effectiveTwoWaySettlementDateOffset":1,"informationalFees":{"serviceFeeFiat":0,"serviceFeeFiatTax":0}}}},"exampleType":"generated"}},"description":"Created","exampleType":"generated"},"f599d1cf-a1e9-4ea1-82f3-76fe0b69c885":{"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"number","example":19,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"number"},"message":{"type":"string","example":"Not authorized","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"code":19,"message":"Not authorized"}]}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"}},"security":{"2b3c2253-de49-46ad-8b42-0f522180cb8d":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"dddad635-da56-4195-942f-430412efad22":{"url":"https://app.sandbox.rio.trade"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"v1/api-reference/orders-docs.json"},"subdomain":"riotransfer-041f224d","siteName":"Rio","title":"Create order - Rio","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/orders/create-order","matchLevel":1},"v1 (legacy)":{"href":"/v1/api-reference/orders/create-order","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T03:03:17.792Z","originalFileLocation":"v1/api-reference/orders/create-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Rio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create order - Rio\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rio.trade/v1/api-reference/orders/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://riotransfer-041f224d.mintlify.app/_mintlify/api/og/v2?division=Orders+API\u0026amp;title=Create+order\u0026amp;theme=5ae0105a62346b287eeabfe7\u0026amp;signature=1db1c9d09fb972ff7ad228ed51e80d51b9d91dc64f66e61b3383c250db2168a5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create order - Rio\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riotransfer-041f224d.mintlify.app/_mintlify/api/og/v2?division=Orders+API\u0026amp;title=Create+order\u0026amp;theme=5ae0105a62346b287eeabfe7\u0026amp;signature=1db1c9d09fb972ff7ad228ed51e80d51b9d91dc64f66e61b3383c250db2168a5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/riotransfer-041f224d/kBR0vW1oBsNNf5T4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#44b7d8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rio.trade/v1/api-reference/orders/create-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1/api-reference/orders/create-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rio.trade/#organization\",\"name\":\"Rio\",\"url\":\"https://docs.rio.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/riotransfer-041f224d/2jIPo0UYgGim4y7X/logo/logo.svg?fit=max\u0026auto=format\u0026n=2jIPo0UYgGim4y7X\u0026q=85\u0026s=fcab53c19c8608da62e98b5898926a62\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rio.trade#website\",\"name\":\"Rio\",\"url\":\"https://docs.rio.trade\",\"publisher\":{\"@id\":\"https://docs.rio.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rio.trade/v1/api-reference/orders/create-order#webpage\",\"url\":\"https://docs.rio.trade/v1/api-reference/orders/create-order\",\"name\":\"Create order\",\"dateModified\":\"2026-10-14T03:03:17.792Z\",\"isPartOf\":{\"@id\":\"https://docs.rio.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rio.trade/v1/api-reference/orders/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rio.trade/v1/api-reference/orders/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API List\",\"item\":\"https://docs.rio.trade/v1/api-reference/address/create-address\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders API\",\"item\":\"https://docs.rio.trade/v1/api-reference/orders/get-order\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create order\",\"item\":\"https://docs.rio.trade/v1/api-reference/orders/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rio.trade/v1/api-reference/orders/create-order#apireference\",\"headline\":\"Create order\",\"name\":\"Create order\",\"url\":\"https://docs.rio.trade/v1/api-reference/orders/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rio.trade/v1/api-reference/orders/create-order#webpage\"},\"dateModified\":\"2026-10-14T03:03:17.792Z\",\"publisher\":{\"@id\":\"https://docs.rio.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rio.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rio\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rio","nav":{"global":null,"versions":[{"version":"v2","pages":[{"title":"v2","href":"/api-reference/orders/create-order"}]},{"version":"v1 (legacy)","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/v1/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/v1/api-reference/introduction"}]},{"group":"API List","pages":[{"group":"Address API","icon":"square-code","pages":[{"openapi":"v1/api-reference/address-docs.json POST /api/addresses","title":"Create a new crypto address","href":"/v1/api-reference/address/create-address"},{"openapi":"v1/api-reference/address-docs.json GET /api/addresses","title":"Get addresses","href":"/v1/api-reference/address/get-addresses"},{"openapi":"v1/api-reference/address-docs.json GET /api/addresses/{id}","title":"Get address","href":"/v1/api-reference/address/get-address"},{"openapi":"v1/api-reference/address-docs.json DELETE /api/addresses/{id}","title":"Delete address","href":"/v1/api-reference/address/delete-address"}]},{"group":"Bank accounts API","icon":"square-code","pages":[{"openapi":"v1/api-reference/bank-accounts-docs.json get /api/bank/accounts","title":"Get bank accounts","href":"/v1/api-reference/bank-accounts/get-bank-accounts"},{"openapi":"v1/api-reference/bank-accounts-docs.json post /api/bank/accounts","title":"Create a bank account","href":"/v1/api-reference/bank-accounts/create-a-bank-account"},{"openapi":"v1/api-reference/bank-accounts-docs.json get /api/bank/accounts/{id}","title":"Get a bank account","href":"/v1/api-reference/bank-accounts/get-a-bank-account"},{"openapi":"v1/api-reference/bank-accounts-docs.json delete /api/bank/accounts/{id}","title":"Delete a bank account","href":"/v1/api-reference/bank-accounts/delete-a-bank-account"},{"openapi":"v1/api-reference/bank-accounts-docs.json patch /api/bank/accounts/{id}","title":"Update a bank account","href":"/v1/api-reference/bank-accounts/update-a-bank-account"}]},{"group":"Bank payments API","icon":"square-code","pages":[{"openapi":"v1/api-reference/bank-payments-docs.json post /api/payments/bank/check","title":"Confirm bank payment","href":"/v1/api-reference/bank-payments/check-bank-payment"},{"openapi":"v1/api-reference/bank-payments-docs.json post /api/payments/bank/bulk","title":"Create bulk bank payment","href":"/v1/api-reference/bank-payments/create-bulk-bank-payment"},{"openapi":"v1/api-reference/bank-payments-docs.json get /api/payments/bank/bulk/{id}","title":"Get bulk bank payment","href":"/v1/api-reference/bank-payments/get-bulk-bank-payment"},{"openapi":"v1/api-reference/bank-payments-docs.json post /api/payments/bank/bulk/{id}/cancel","title":"Cancel bulk bank payment","href":"/v1/api-reference/bank-payments/cancel-bulk-bank-payment"}]},{"group":"Crypto payments API","icon":"square-code","pages":[{"openapi":"v1/api-reference/crypto-payments-docs.json post /api/payments/crypto/check","title":"Confirm crypto payment","href":"/v1/api-reference/crypto-payments/check-crypto-payment"},{"openapi":"v1/api-reference/crypto-payments-docs.json post /api/payments/crypto/bulk","title":"Create bulk crypto payment","href":"/v1/api-reference/crypto-payments/create-bulk-crypto-payment"},{"openapi":"v1/api-reference/crypto-payments-docs.json get /api/payments/crypto/bulk/{id}","title":"Get bulk crypto payment","href":"/v1/api-reference/crypto-payments/get-bulk-crypto-payment"},{"openapi":"v1/api-reference/crypto-payments-docs.json post /api/payments/crypto/bulk/{id}/cancel","title":"Cancel bulk crypto payment","href":"/v1/api-reference/crypto-payments/cancel-bulk-crypto-payment"}]},{"group":"Orders API","icon":"square-code","pages":[{"openapi":"v1/api-reference/orders-docs.json get /api/orders/{id}","title":"Get order","href":"/v1/api-reference/orders/get-order"},{"openapi":"v1/api-reference/orders-docs.json get /api/orders","title":"Get orders","description":"","href":"/v1/api-reference/orders/get-orders"},{"openapi":"v1/api-reference/orders-docs.json post /api/orders","title":"Create order","href":"/v1/api-reference/orders/create-order"},{"openapi":"v1/api-reference/orders-docs.json post /api/orders/{id}/cancel","title":"Cancel order","description":"","href":"/v1/api-reference/orders/cancel-order"}]},{"group":"Quotes API","icon":"square-code","pages":[{"openapi":"v1/api-reference/quotes-docs.json get /api/quotes/{id}","title":"Get Quote by ID","href":"/v1/api-reference/quotes/get-quote-by-id"},{"openapi":"v1/api-reference/quotes-docs.json post /api/quotes","title":"Create Quote","href":"/v1/api-reference/quotes/create-quote"}]},{"group":"Users API","icon":"square-code","pages":[{"openapi":"v1/api-reference/users-docs.json GET /api/users/{id}","title":"Get user","href":"/v1/api-reference/users/get-user"},{"openapi":"v1/api-reference/users-docs.json GET /api/users","title":"Get all users","href":"/v1/api-reference/users/get-users"},{"openapi":"v1/api-reference/users-docs.json GET /api/users/{id}/link","title":"Get user onboarding links","href":"/v1/api-reference/users/get-user-onboarding-links"},{"openapi":"v1/api-reference/users-docs.json POST /api/users","title":"Create a new user","href":"/v1/api-reference/users/create-user"},{"openapi":"v1/api-reference/users-docs.json POST /api/users/link","title":"Create a new user by link","href":"/v1/api-reference/users/create-user-by-link"},{"openapi":"v1/api-reference/users-docs.json POST /api/users/{id}/terms/accept","title":"Accept terms and conditions for a user","href":"/v1/api-reference/users/accept-terms-and-conditions"},{"openapi":"v1/api-reference/users-docs.json POST /api/users/{id}/additional-information","title":"Add additional information to a user","href":"/v1/api-reference/users/add-additional-user-information"}]},{"group":"Webhooks API","icon":"square-code","pages":[{"title":"Get Webhook by id","openapi":"v1/api-reference/webhooks-docs.json get /api/webhooks/{id}","href":"/v1/api-reference/webhooks/get-apiwebhooks"},{"title":"Delete Webhook","openapi":"v1/api-reference/webhooks-docs.json delete /api/webhooks/{id}","href":"/v1/api-reference/webhooks/delete-apiwebhooks"},{"title":"Get Webhooks","openapi":"v1/api-reference/webhooks-docs.json get /api/webhooks","href":"/v1/api-reference/webhooks/get-apiwebhooks-1"},{"title":"Register a Webhook","openapi":"v1/api-reference/webhooks-docs.json post /api/webhooks/{type}","href":"/v1/api-reference/webhooks/post-apiwebhooks"}]}]}]}]}]},"basePath":"","title":"Create order - Rio","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}