Use the ids parameter to fetch up to 50 specific orders in a single request instead of calling GET /api/orders/{id} once per order. Separate the ids with commas.
If you are polling order statuses, prefer this over one request per order. It is faster for you and it keeps response times stable for everyone.
When ids is present and limit is not, the limit defaults to the number of ids you sent, so a single page returns all of them. If you also pass limit, that value wins and the results are paginated as usual.
Ids you are not authorized to see are simply not returned, so a response may contain fewer orders than the number of ids you sent. The same applies to ids that do not exist or that fall outside the other filters you sent in the request. Invalid ids, or more than 50 of them, are rejected with a validation error.
Status by which you want to filter. These are the statuses an order moves through on a normal flow, and other statuses can be filtered on depending on the circumstances of the order.
Comma separated list of order ids to retrieve in a single request. Up to 50 ids. Combines with the other filters and only returns orders you are authorized to see.
Current status. These are the statuses an order moves through on a normal flow. Which ones it sees depends on the flow. Other statuses can appear depending on the circumstances of the order.
Direction of the conversion, derived from the two assets. fiatToCrypto buys stablecoins, cryptoToFiat sells them, cryptoToCrypto swaps one stablecoin or network for another.
Limit price for limit orders, expressed like netPrice as units of the destination asset per unit of the origin asset. Only applicable when orderType is limit.
{"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.3964","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":{},"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/orders/get-orders","slug":"/api-reference/orders/get-orders","pageMetadata":{"openapi":"api-reference/orders-docs.json get /api/orders","title":"Get orders","description":"","href":"/api-reference/orders/get-orders"},"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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Note}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`requirements-to-consume-the-endpoint`,children:`Requirements to consume the endpoint.`}),`\n`,_jsx(CardGroup,{cols:1,children:_jsx(Card,{title:`User approved`,icon:`check`,children:_jsx(_components.p,{children:`The user must be approved in at least one country.`})})}),`\n`,_jsx(Heading,{level:`3`,id:`retrieving-several-orders-at-once`,children:`Retrieving several orders at once`}),`\n`,_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`ids`}),` parameter to fetch up to 50 specific orders in a single request instead of calling `,_jsx(_components.code,{children:`GET /api/orders/{id}`}),` once per order. Separate the ids with commas.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.sandbox.rio.trade/api/orders`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RIO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ids=b49f4084b96e4fb76f5a496e,765f4084b96e4fb76f5a4fb0\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If you are polling order statuses, prefer this over one request per order. It is faster for you and it keeps response times stable for everyone.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`ids`}),` is present and `,_jsx(_components.code,{children:`limit`}),` is not, the limit defaults to the number of ids you sent, so a single page returns all of them. If you also pass `,_jsx(_components.code,{children:`limit`}),`, that value wins and the results are paginated as usual.`]})}),`\n`,_jsx(_components.p,{children:`Ids you are not authorized to see are simply not returned, so a response may contain fewer orders than the number of ids you sent. The same applies to ids that do not exist or that fall outside the other filters you sent in the request. Invalid ids, or more than 50 of them, are rejected with a validation error.`})]})}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":"api-reference/orders-docs.json get /api/orders","title":"Get orders","description":"","href":"/api-reference/orders/get-orders"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements to consume the endpoint.","slug":"requirements-to-consume-the-endpoint","depth":3,"children":[]},{"title":"Retrieving several orders at once","slug":"retrieving-several-orders-at-once","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get orders","description":"","parameters":["d29e1db4-e300-4611-a68c-23a8557bcd5d","b03aacc0-37b4-42f3-a503-1999cb24347b","b59a7500-e4f5-43ed-b331-68678ff6f30c","e00e38a2-fe22-404e-82bd-6c487b60e0e3","9bf5a67f-04b0-473b-b5ee-b410f913ad43","2f028c9a-d1b3-4b38-8c8a-ecdd9a5bc35d","d552220e-ca2f-4dbc-b028-001c645e53e4","cee069cb-0ab3-4672-8910-83c48c883cdc","4f48f496-cafe-4795-8330-c81fdd1c1001","fabf832d-50dd-4a52-896e-d3230446eaf6","ca468991-dafa-4082-8c13-11d43acdd07b","62db5ed7-9468-415a-9df6-063f59028756","a8c068c8-7db0-4d65-b6c7-bc10d2a4f224","61fad834-46e9-490d-a57e-ec50ecd33e2d"],"responses":{"200":"477a5a9c-ebc5-43d2-ae9e-686f81acb957","401":"d39094e0-b6ea-4348-9870-15561e50d74b"},"method":"get","type":"path","servers":["4eaabd29-8b01-4147-b9e0-40cf09dfe491"],"security":["1fdc134e-6194-45c2-9635-d41dad4cb42f"],"path":"/api/orders","baseUrlOptions":["https://app.sandbox.rio.trade"],"title":"Get orders","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d29e1db4-e300-4611-a68c-23a8557bcd5d":{"name":"userId","in":"query","description":"User id by which you want to filter.","schema":{"type":"string","example":"665f4084b96e4fb76f5a0e0c","description":"User id by which you want to filter.","uniqueKey":"","typeLabel":"string"}},"b03aacc0-37b4-42f3-a503-1999cb24347b":{"name":"brokerId","in":"query","description":"Broker id by which you want to filter.","schema":{"type":"string","example":"655f4084b96e4fb76f5a0e6e","description":"Broker id by which you want to filter.","uniqueKey":"","typeLabel":"string"}},"b59a7500-e4f5-43ed-b331-68678ff6f30c":{"name":"quoteId","in":"query","description":"Quote id by which you want to filter.","schema":{"type":"string","example":"765f4084b96e4fb76f5a4fb0","description":"Quote id by which you want to filter.","uniqueKey":"","typeLabel":"string"}},"e00e38a2-fe22-404e-82bd-6c487b60e0e3":{"name":"startDate","in":"query","description":"Start date by which you want to filter.","schema":{"type":"string","example":"2024-01-15","description":"Start date by which you want to filter.","uniqueKey":"","typeLabel":"string"}},"9bf5a67f-04b0-473b-b5ee-b410f913ad43":{"name":"endDate","in":"query","description":"End date by which you want to filter.","schema":{"type":"string","example":"2024-05-30","description":"End date by which you want to filter.","uniqueKey":"","typeLabel":"string"}},"2f028c9a-d1b3-4b38-8c8a-ecdd9a5bc35d":{"name":"asset","in":"query","description":"Return orders where either leg is this asset.","schema":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Return orders where either leg is this asset.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"d552220e-ca2f-4dbc-b028-001c645e53e4":{"name":"network","in":"query","description":"Narrow `asset` to one network. Requires `asset`.","schema":{"type":"string","enum":["ethereum","polygon","solana","stellar","base","tempo","tron","bsc"],"description":"Narrow `asset` to one network. Requires `asset`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"cee069cb-0ab3-4672-8910-83c48c883cdc":{"name":"flow","in":"query","description":"Return orders of one flow.","schema":{"type":"string","enum":["fiatToCrypto","cryptoToFiat","cryptoToCrypto"],"description":"Return orders of one flow.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"4f48f496-cafe-4795-8330-c81fdd1c1001":{"name":"status","in":"query","description":"Status by which you want to filter. These are the statuses an order moves through on a normal flow, and other statuses can be filtered on depending on the circumstances of the order.","schema":{"type":"string","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":"Status by which you want to filter. These are the statuses an order moves through on a normal flow, and other statuses can be filtered on depending on the circumstances of the order.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"fabf832d-50dd-4a52-896e-d3230446eaf6":{"name":"country","in":"query","description":"Country by which you want to filter.","schema":{"enum":["MX","PE","CO"],"type":"string","description":"Country by which you want to filter.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"ca468991-dafa-4082-8c13-11d43acdd07b":{"name":"page","in":"query","description":"Used to specify the current page you want to get in the paging results.","schema":{"type":"integer","description":"Used to specify the current page you want to get in the paging results.","uniqueKey":"","typeLabel":"integer"}},"62db5ed7-9468-415a-9df6-063f59028756":{"name":"limit","in":"query","description":"Used to specify the maximum number of records to be returned on a single page.","schema":{"type":"integer","description":"Used to specify the maximum number of records to be returned on a single page.","uniqueKey":"","typeLabel":"integer"}},"a8c068c8-7db0-4d65-b6c7-bc10d2a4f224":{"name":"clientReferenceId","in":"query","description":"Client reference ID by which you want to filter. Maximum length: 100 characters.","schema":{"type":"string","example":"03d5ec9af663fbd39a1fa","maxLength":100,"description":"Client reference ID by which you want to filter. Maximum length: 100 characters.","uniqueKey":"","typeLabel":"string"}},"61fad834-46e9-490d-a57e-ec50ecd33e2d":{"name":"ids","in":"query","description":"Comma separated list of order ids to retrieve in a single request. Up to 50 ids. Combines with the other filters and only returns orders you are authorized to see.","schema":{"type":"string","example":"b49f4084b96e4fb76f5a496e,765f4084b96e4fb76f5a4fb0","description":"Comma separated list of order ids to retrieve in a single request. Up to 50 ids. Combines with the other filters and only returns orders you are authorized to see.","uniqueKey":"","typeLabel":"string"}}},"responses":{"477a5a9c-ebc5-43d2-ae9e-686f81acb957":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Id of the order.","example":"6660bdefd6c964829d63fcb8","uniqueKey":"items.[INDEX].id","typeLabel":"string"},"quoteId":{"type":"string","description":"Id of the quote the order is priced on. Changes when the order is re-quoted.","example":"6660bdefd6c964829d63fcb7","uniqueKey":"items.[INDEX].quoteId","typeLabel":"string"},"userId":{"type":"string","description":"Id of the user the order belongs to.","example":"66290ac8bd3903485989f82e","uniqueKey":"items.[INDEX].userId","typeLabel":"string"},"clientReferenceId":{"type":"string","description":"Your own reference for the order.","example":"my-reference-1234","uniqueKey":"items.[INDEX].clientReferenceId","typeLabel":"string"},"status":{"type":"string","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. These are the statuses an order moves through on a normal flow. Which ones it sees depends on the flow. Other statuses can appear depending on the circumstances of the order.","example":"awaitingPayment","uniqueKey":"items.[INDEX].status","typeLabel":"enum\u003cstring>"},"flow":{"type":"string","enum":["fiatToCrypto","cryptoToFiat","cryptoToCrypto"],"description":"Direction of the conversion, derived from the two assets. `fiatToCrypto` buys stablecoins, `cryptoToFiat` sells them, `cryptoToCrypto` swaps one stablecoin or network for another.","example":"fiatToCrypto","uniqueKey":"items.[INDEX].flow","typeLabel":"enum\u003cstring>"},"origin":{"type":"object","description":"What the customer pays. The amount is in the leg's own asset.","properties":{"asset":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Currency code. Fiat currencies are `USD`, `MXN`, `PEN` and `COP`. Stablecoins are `USDC`, `USDCe` (USDC.e), `EURC` and `USDT`. A stablecoin is always paired with the `network` it lives on.","example":"MXN","uniqueKey":"items.[INDEX].origin.asset","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Amount of the origin asset.","example":1000,"uniqueKey":"items.[INDEX].origin.amount","typeLabel":"number"},"country":{"type":"string","enum":["MX","PE","CO"],"description":"Country the leg settles in.","example":"MX","uniqueKey":"items.[INDEX].origin.country","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].origin","typeLabel":"object"},"destination":{"type":"object","description":"What the customer receives. The amount is in the leg's own asset.","properties":{"asset":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Currency code. Fiat currencies are `USD`, `MXN`, `PEN` and `COP`. Stablecoins are `USDC`, `USDCe` (USDC.e), `EURC` and `USDT`. A stablecoin is always paired with the `network` it lives on.","example":"USDC","uniqueKey":"items.[INDEX].destination.asset","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Amount of the destination asset.","example":54.76,"uniqueKey":"items.[INDEX].destination.amount","typeLabel":"number"},"country":{"type":"string","enum":["MX","PE","CO"],"description":"Country the leg settles in.","example":"MX","uniqueKey":"items.[INDEX].destination.country","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].destination","typeLabel":"object"},"fixedLeg":{"type":"string","enum":["origin","destination"],"description":"Which leg's amount you specified. The other leg was derived from the price and fees.","example":"origin","uniqueKey":"items.[INDEX].fixedLeg","typeLabel":"enum\u003cstring>"},"pricingDetails":{"type":"object","description":"How the destination amount was derived from the origin amount.","properties":{"fees":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["processing","transfer","platform","broker","valueDateOffset"],"description":"`processing` is the payment processor fee, `transfer` the network or bank transfer fee, `platform` Rio's fee, `broker` the fee of the broker the account belongs to and `valueDateOffset` the cost of a T+N settlement.","isRequired":true,"uniqueKey":"items.[INDEX].pricingDetails.fees.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Fee amount, in `asset`.","example":20,"isRequired":true,"uniqueKey":"items.[INDEX].pricingDetails.fees.items.[INDEX].amount","typeLabel":"number"},"asset":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Currency the fee is charged in.","example":"MXN","isRequired":true,"uniqueKey":"items.[INDEX].pricingDetails.fees.items.[INDEX].asset","typeLabel":"enum\u003cstring>"},"tax":{"type":"number","description":"Tax charged on this fee, when applicable, in the same asset.","example":3.2,"uniqueKey":"items.[INDEX].pricingDetails.fees.items.[INDEX].tax","typeLabel":"number"}},"required":["type","amount","asset"],"uniqueKey":"items.[INDEX].pricingDetails.fees.items.[INDEX]","typeLabel":"object"},"description":"Fees charged on the order. Each fee names the asset it is charged in.","uniqueKey":"items.[INDEX].pricingDetails.fees","typeLabel":"object[]"}},"uniqueKey":"items.[INDEX].pricingDetails","typeLabel":"object"},"settlement":{"type":"object","description":"How and when the two legs settle.","properties":{"mode":{"type":"string","enum":["deliverable"],"description":"Settlement mode.","example":"deliverable","uniqueKey":"items.[INDEX].settlement.mode","typeLabel":"enum\u003cstring>"},"timing":{"type":"string","enum":["default","TPlusOffset"],"description":"`default` settles on receipt of payment. `TPlusOffset` settles `valueDateOffset` business days after payment (T+N).","example":"default","uniqueKey":"items.[INDEX].settlement.timing","typeLabel":"enum\u003cstring>"},"valueDateOffset":{"type":"number","description":"Business days between payment and payout for `TPlusOffset` settlement.","example":1,"uniqueKey":"items.[INDEX].settlement.valueDateOffset","typeLabel":"number"},"effectiveValueDateOffset":{"type":"number","description":"Billable days for the `TPlusOffset` settlement.","example":1,"uniqueKey":"items.[INDEX].settlement.effectiveValueDateOffset","typeLabel":"number"},"valueDate":{"type":"string","format":"date-time","description":"Date the payout leg settles.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].settlement.valueDate","typeLabel":"string\u003cdate-time>"},"payment":{"type":"object","description":"The leg you pay. Rio's payment details appear under `instructions` once the order is awaiting payment.","properties":{"asset":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Currency code. Fiat currencies are `USD`, `MXN`, `PEN` and `COP`. Stablecoins are `USDC`, `USDCe` (USDC.e), `EURC` and `USDT`. A stablecoin is always paired with the `network` it lives on.","example":"MXN","uniqueKey":"items.[INDEX].settlement.payment.asset","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Amount that settles on this leg, in `asset`.","example":1000,"uniqueKey":"items.[INDEX].settlement.payment.amount","typeLabel":"number"},"rail":{"type":"string","enum":["bankTransfer","blockchain"],"description":"How the leg moves. Fiat settles over `bankTransfer`, crypto over `blockchain`.","example":"bankTransfer","uniqueKey":"items.[INDEX].settlement.payment.rail","typeLabel":"enum\u003cstring>"},"network":{"type":"string","enum":["ethereum","polygon","solana","stellar","base","tempo","tron","bsc"],"description":"Network of a `blockchain` leg. Absent on bank legs.","example":"polygon","uniqueKey":"items.[INDEX].settlement.payment.network","typeLabel":"enum\u003cstring>"},"dueDate":{"type":"string","format":"date-time","description":"When this leg is due. On the payment leg it is the payment deadline, on the payout leg the value date.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].settlement.payment.dueDate","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["pending","awaitingDetails","awaitingFunds","partiallySettled","settled","failed"],"description":"Settlement progress of this leg.","example":"awaitingFunds","uniqueKey":"items.[INDEX].settlement.payment.status","typeLabel":"enum\u003cstring>"},"amountSettled":{"type":"number","description":"Amount settled so far on this leg.","example":0,"uniqueKey":"items.[INDEX].settlement.payment.amountSettled","typeLabel":"number"},"bankAccountId":{"type":"string","description":"Id of the bank account the leg settles to. Present when the leg's `asset` is a fiat currency. On the payout leg it is the `settlement.payout.bankAccountId` sent when creating the order.","example":"66733d33222710ab2785dc62","uniqueKey":"items.[INDEX].settlement.payment.bankAccountId","typeLabel":"string"},"addressId":{"type":"string","description":"Id of the address the leg settles to. Present when the leg's `asset` is a crypto asset. On the payout leg it is the `settlement.payout.addressId` sent when creating the order.","example":"66733d33222710ab2785dc62","uniqueKey":"items.[INDEX].settlement.payment.addressId","typeLabel":"string"},"instructions":{"type":"object","description":"Where to send funds for this leg. On the payment leg these are Rio's details for you to pay to. On the payout leg these are the details of the account or wallet Rio pays to. Bank legs carry bank fields, blockchain legs carry `blockchainAddress` and, when the network needs one, `blockchainMemo`.","properties":{"blockchainAddress":{"type":"string","description":"Wallet address.","example":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","uniqueKey":"items.[INDEX].settlement.payment.instructions.blockchainAddress","typeLabel":"string"},"blockchainMemo":{"type":"string","description":"Memo or tag required by some networks (for example Stellar).","uniqueKey":"items.[INDEX].settlement.payment.instructions.blockchainMemo","typeLabel":"string"},"bankName":{"type":"string","description":"Bank name.","example":"STP","uniqueKey":"items.[INDEX].settlement.payment.instructions.bankName","typeLabel":"string"},"companyName":{"type":"string","description":"Account holder for Rio's collection account.","example":"Rio Transfer S.A.P.I. de C.V.","uniqueKey":"items.[INDEX].settlement.payment.instructions.companyName","typeLabel":"string"},"companyAddress":{"type":"string","description":"Address of the account holder.","uniqueKey":"items.[INDEX].settlement.payment.instructions.companyAddress","typeLabel":"string"},"bankAddress":{"type":"string","description":"Address of the bank.","uniqueKey":"items.[INDEX].settlement.payment.instructions.bankAddress","typeLabel":"string"},"accountHolderName":{"type":"string","description":"Account holder name.","example":"John Doe","uniqueKey":"items.[INDEX].settlement.payment.instructions.accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"Account number.","example":"99998888","uniqueKey":"items.[INDEX].settlement.payment.instructions.accountNumber","typeLabel":"string"},"routingNumber":{"type":"string","description":"Routing number (US).","uniqueKey":"items.[INDEX].settlement.payment.instructions.routingNumber","typeLabel":"string"},"reference":{"type":"string","description":"Reference that must accompany the transfer.","example":"9f5676","uniqueKey":"items.[INDEX].settlement.payment.instructions.reference","typeLabel":"string"},"CLABE":{"type":"string","description":"CLABE (Mexico).","example":"646180000000000001","uniqueKey":"items.[INDEX].settlement.payment.instructions.CLABE","typeLabel":"string"},"CCI":{"type":"string","description":"CCI (Peru).","uniqueKey":"items.[INDEX].settlement.payment.instructions.CCI","typeLabel":"string"},"RUC":{"type":"string","description":"RUC of the account holder (Peru).","uniqueKey":"items.[INDEX].settlement.payment.instructions.RUC","typeLabel":"string"},"RFC":{"type":"string","description":"RFC of the account holder (Mexico).","example":"RBL123456789","uniqueKey":"items.[INDEX].settlement.payment.instructions.RFC","typeLabel":"string"},"NIT":{"type":"string","description":"NIT of the account holder (Colombia).","uniqueKey":"items.[INDEX].settlement.payment.instructions.NIT","typeLabel":"string"},"USBankTransferMethod":{"type":"string","enum":["wire","ach_push"],"description":"Transfer method for US bank legs.","uniqueKey":"items.[INDEX].settlement.payment.instructions.USBankTransferMethod","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].settlement.payment.instructions","typeLabel":"object"},"transactions":{"type":"array","items":{"type":"object","description":"A payment received or a payout sent on this leg. Bank transfers carry the bank fields, blockchain transfers carry the chain fields.","properties":{"amount":{"type":"number","description":"Amount moved, in the leg's asset.","example":1000,"uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].amount","typeLabel":"number"},"createdAt":{"type":"string","format":"date-time","description":"When the transfer was registered.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"blockchainTxId":{"type":"string","description":"Transaction hash on the leg's network.","example":"0x66ec2a9d4e1f6b7c8d9e0f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].blockchainTxId","typeLabel":"string"},"blockchainAddress":{"type":"string","description":"Counterparty wallet address.","example":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].blockchainAddress","typeLabel":"string"},"SPEITrackingNumber":{"type":"string","description":"SPEI tracking number (Mexico).","example":"TRK20261012001","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].SPEITrackingNumber","typeLabel":"string"},"SPIDTrackingNumber":{"type":"string","description":"SPID tracking number (Mexico, USD transfers).","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].SPIDTrackingNumber","typeLabel":"string"},"CEPLink":{"type":"string","description":"Link to the Banxico CEP receipt (Mexico).","example":"https://www.banxico.org.mx/cep/","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].CEPLink","typeLabel":"string"},"reference":{"type":"string","description":"Transfer reference.","example":"9f5676","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].reference","typeLabel":"string"},"accountHolderName":{"type":"string","description":"Name of the account holder on the other side of the transfer.","example":"John Doe","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"Counterparty account number.","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].accountNumber","typeLabel":"string"},"CCI":{"type":"string","description":"Counterparty CCI (Peru).","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].CCI","typeLabel":"string"},"CLABE":{"type":"string","description":"Counterparty CLABE (Mexico).","example":"014027000000000008","uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX].CLABE","typeLabel":"string"}},"uniqueKey":"items.[INDEX].settlement.payment.transactions.items.[INDEX]","typeLabel":"object"},"description":"Transfers registered on this leg.","uniqueKey":"items.[INDEX].settlement.payment.transactions","typeLabel":"object[]"},"bulkBankPaymentId":{"type":"string","description":"Id of the bulk bank payment this leg is paid through. Present on a fiat payment leg when the order was created with `settlement.payment.bulkBankPaymentId`.","uniqueKey":"items.[INDEX].settlement.payment.bulkBankPaymentId","typeLabel":"string"},"bulkCryptoPaymentId":{"type":"string","description":"Id of the bulk crypto payment this leg is paid through. Present on a crypto payment leg when the order was created with `settlement.payment.bulkCryptoPaymentId`.","uniqueKey":"items.[INDEX].settlement.payment.bulkCryptoPaymentId","typeLabel":"string"}},"uniqueKey":"items.[INDEX].settlement.payment","typeLabel":"object"},"payout":{"type":"object","description":"The leg Rio pays out. `instructions` are the details of your bank account or wallet.","properties":{"asset":{"type":"string","enum":["USD","MXN","PEN","COP","USDC","USDCe","EURC","USDT"],"description":"Currency code. Fiat currencies are `USD`, `MXN`, `PEN` and `COP`. Stablecoins are `USDC`, `USDCe` (USDC.e), `EURC` and `USDT`. A stablecoin is always paired with the `network` it lives on.","example":"USDC","uniqueKey":"items.[INDEX].settlement.payout.asset","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Amount that settles on this leg, in `asset`.","example":54.76,"uniqueKey":"items.[INDEX].settlement.payout.amount","typeLabel":"number"},"rail":{"type":"string","enum":["bankTransfer","blockchain"],"description":"How the leg moves. Fiat settles over `bankTransfer`, crypto over `blockchain`.","example":"blockchain","uniqueKey":"items.[INDEX].settlement.payout.rail","typeLabel":"enum\u003cstring>"},"network":{"type":"string","enum":["ethereum","polygon","solana","stellar","base","tempo","tron","bsc"],"description":"Network of a `blockchain` leg. Absent on bank legs.","example":"polygon","uniqueKey":"items.[INDEX].settlement.payout.network","typeLabel":"enum\u003cstring>"},"dueDate":{"type":"string","format":"date-time","description":"When this leg is due. On the payment leg it is the payment deadline, on the payout leg the value date.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].settlement.payout.dueDate","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["pending","awaitingDetails","awaitingFunds","partiallySettled","settled","failed"],"description":"Settlement progress of this leg.","example":"awaitingFunds","uniqueKey":"items.[INDEX].settlement.payout.status","typeLabel":"enum\u003cstring>"},"amountSettled":{"type":"number","description":"Amount settled so far on this leg.","example":0,"uniqueKey":"items.[INDEX].settlement.payout.amountSettled","typeLabel":"number"},"bankAccountId":{"type":"string","description":"Id of the bank account the leg settles to. Present when the leg's `asset` is a fiat currency. On the payout leg it is the `settlement.payout.bankAccountId` sent when creating the order.","example":"66733d33222710ab2785dc62","uniqueKey":"items.[INDEX].settlement.payout.bankAccountId","typeLabel":"string"},"addressId":{"type":"string","description":"Id of the address the leg settles to. Present when the leg's `asset` is a crypto asset. On the payout leg it is the `settlement.payout.addressId` sent when creating the order.","example":"66733d33222710ab2785dc62","uniqueKey":"items.[INDEX].settlement.payout.addressId","typeLabel":"string"},"instructions":{"type":"object","description":"Where to send funds for this leg. On the payment leg these are Rio's details for you to pay to. On the payout leg these are the details of the account or wallet Rio pays to. Bank legs carry bank fields, blockchain legs carry `blockchainAddress` and, when the network needs one, `blockchainMemo`.","properties":{"blockchainAddress":{"type":"string","description":"Wallet address.","example":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","uniqueKey":"items.[INDEX].settlement.payout.instructions.blockchainAddress","typeLabel":"string"},"blockchainMemo":{"type":"string","description":"Memo or tag required by some networks (for example Stellar).","uniqueKey":"items.[INDEX].settlement.payout.instructions.blockchainMemo","typeLabel":"string"},"bankName":{"type":"string","description":"Bank name.","example":"STP","uniqueKey":"items.[INDEX].settlement.payout.instructions.bankName","typeLabel":"string"},"companyName":{"type":"string","description":"Account holder for Rio's collection account.","example":"Rio Transfer S.A.P.I. de C.V.","uniqueKey":"items.[INDEX].settlement.payout.instructions.companyName","typeLabel":"string"},"companyAddress":{"type":"string","description":"Address of the account holder.","uniqueKey":"items.[INDEX].settlement.payout.instructions.companyAddress","typeLabel":"string"},"bankAddress":{"type":"string","description":"Address of the bank.","uniqueKey":"items.[INDEX].settlement.payout.instructions.bankAddress","typeLabel":"string"},"accountHolderName":{"type":"string","description":"Account holder name.","example":"John Doe","uniqueKey":"items.[INDEX].settlement.payout.instructions.accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"Account number.","example":"99998888","uniqueKey":"items.[INDEX].settlement.payout.instructions.accountNumber","typeLabel":"string"},"routingNumber":{"type":"string","description":"Routing number (US).","uniqueKey":"items.[INDEX].settlement.payout.instructions.routingNumber","typeLabel":"string"},"reference":{"type":"string","description":"Reference that must accompany the transfer.","example":"9f5676","uniqueKey":"items.[INDEX].settlement.payout.instructions.reference","typeLabel":"string"},"CLABE":{"type":"string","description":"CLABE (Mexico).","example":"646180000000000001","uniqueKey":"items.[INDEX].settlement.payout.instructions.CLABE","typeLabel":"string"},"CCI":{"type":"string","description":"CCI (Peru).","uniqueKey":"items.[INDEX].settlement.payout.instructions.CCI","typeLabel":"string"},"RUC":{"type":"string","description":"RUC of the account holder (Peru).","uniqueKey":"items.[INDEX].settlement.payout.instructions.RUC","typeLabel":"string"},"RFC":{"type":"string","description":"RFC of the account holder (Mexico).","example":"RBL123456789","uniqueKey":"items.[INDEX].settlement.payout.instructions.RFC","typeLabel":"string"},"NIT":{"type":"string","description":"NIT of the account holder (Colombia).","uniqueKey":"items.[INDEX].settlement.payout.instructions.NIT","typeLabel":"string"},"USBankTransferMethod":{"type":"string","enum":["wire","ach_push"],"description":"Transfer method for US bank legs.","uniqueKey":"items.[INDEX].settlement.payout.instructions.USBankTransferMethod","typeLabel":"enum\u003cstring>"}},"uniqueKey":"items.[INDEX].settlement.payout.instructions","typeLabel":"object"},"transactions":{"type":"array","items":{"type":"object","description":"A payment received or a payout sent on this leg. Bank transfers carry the bank fields, blockchain transfers carry the chain fields.","properties":{"amount":{"type":"number","description":"Amount moved, in the leg's asset.","example":1000,"uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].amount","typeLabel":"number"},"createdAt":{"type":"string","format":"date-time","description":"When the transfer was registered.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"blockchainTxId":{"type":"string","description":"Transaction hash on the leg's network.","example":"0x66ec2a9d4e1f6b7c8d9e0f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].blockchainTxId","typeLabel":"string"},"blockchainAddress":{"type":"string","description":"Counterparty wallet address.","example":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].blockchainAddress","typeLabel":"string"},"SPEITrackingNumber":{"type":"string","description":"SPEI tracking number (Mexico).","example":"TRK20261012001","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].SPEITrackingNumber","typeLabel":"string"},"SPIDTrackingNumber":{"type":"string","description":"SPID tracking number (Mexico, USD transfers).","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].SPIDTrackingNumber","typeLabel":"string"},"CEPLink":{"type":"string","description":"Link to the Banxico CEP receipt (Mexico).","example":"https://www.banxico.org.mx/cep/","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].CEPLink","typeLabel":"string"},"reference":{"type":"string","description":"Transfer reference.","example":"9f5676","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].reference","typeLabel":"string"},"accountHolderName":{"type":"string","description":"Name of the account holder on the other side of the transfer.","example":"John Doe","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].accountHolderName","typeLabel":"string"},"accountNumber":{"type":"string","description":"Counterparty account number.","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].accountNumber","typeLabel":"string"},"CCI":{"type":"string","description":"Counterparty CCI (Peru).","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].CCI","typeLabel":"string"},"CLABE":{"type":"string","description":"Counterparty CLABE (Mexico).","example":"014027000000000008","uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX].CLABE","typeLabel":"string"}},"uniqueKey":"items.[INDEX].settlement.payout.transactions.items.[INDEX]","typeLabel":"object"},"description":"Transfers registered on this leg.","uniqueKey":"items.[INDEX].settlement.payout.transactions","typeLabel":"object[]"},"bulkBankPaymentId":{"type":"string","description":"Id of the bulk bank payment this leg is paid through. Present on a fiat payment leg when the order was created with `settlement.payment.bulkBankPaymentId`.","uniqueKey":"items.[INDEX].settlement.payout.bulkBankPaymentId","typeLabel":"string"},"bulkCryptoPaymentId":{"type":"string","description":"Id of the bulk crypto payment this leg is paid through. Present on a crypto payment leg when the order was created with `settlement.payment.bulkCryptoPaymentId`.","uniqueKey":"items.[INDEX].settlement.payout.bulkCryptoPaymentId","typeLabel":"string"}},"uniqueKey":"items.[INDEX].settlement.payout","typeLabel":"object"}},"uniqueKey":"items.[INDEX].settlement","typeLabel":"object"},"marketPrice":{"type":"number","description":"Market price at the time the order was created, in units of the destination asset per unit of the origin asset.","example":0.056,"uniqueKey":"items.[INDEX].marketPrice","typeLabel":"number"},"netPrice":{"type":"number","description":"Final price including fees and taxes.","example":0.05476,"uniqueKey":"items.[INDEX].netPrice","typeLabel":"number"},"type":{"type":"string","enum":["market","limit"],"description":"`market` executes at the current price, `limit` waits for `limitNetPrice`.","example":"market","uniqueKey":"items.[INDEX].type","typeLabel":"enum\u003cstring>"},"limitNetPrice":{"type":"number","description":"Limit price for `limit` orders, expressed like `netPrice` as units of the destination asset per unit of the origin asset. Only applicable when `orderType` is `limit`.","example":0.0555,"uniqueKey":"items.[INDEX].limitNetPrice","typeLabel":"number"},"timeInForceStartsAt":{"type":"string","format":"date-time","description":"Earliest execution time of a `limit` order.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].timeInForceStartsAt","typeLabel":"string\u003cdate-time>"},"timeInForceEndsAt":{"type":"string","format":"date-time","description":"Latest execution time of a `limit` order.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].timeInForceEndsAt","typeLabel":"string\u003cdate-time>"},"attributes":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].attributes.items.[INDEX]","typeLabel":"string"},"description":"List of attributes associated with the order.","example":["fixedPrice"],"uniqueKey":"items.[INDEX].attributes","typeLabel":"string[]"},"notes":{"type":"string","description":"Notes you attached to the order.","example":"Note","uniqueKey":"items.[INDEX].notes","typeLabel":"string"},"payoutTransferLimit":{"type":"number","description":"Maximum amount per payout transfer. Larger payouts are split.","example":475000,"uniqueKey":"items.[INDEX].payoutTransferLimit","typeLabel":"number"},"paymentReceivedAt":{"type":"string","format":"date-time","description":"When your payment was received.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].paymentReceivedAt","typeLabel":"string\u003cdate-time>"},"expiredQuotes":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX].expiredQuotes.items.[INDEX]","typeLabel":"string"},"description":"Ids of quotes the order went through before the current one.","example":[],"uniqueKey":"items.[INDEX].expiredQuotes","typeLabel":"string[]"},"parentOrderId":{"type":"string","description":"Id of the parent order when this order was spawned from a partial fill.","uniqueKey":"items.[INDEX].parentOrderId","typeLabel":"string"},"invoice":{"type":"object","description":"Invoice details, Mexican orders only.","properties":{"PDFLink":{"type":"string","description":"Link to the invoice PDF.","uniqueKey":"items.[INDEX].invoice.PDFLink","typeLabel":"string"},"XMLLink":{"type":"string","description":"Link to the invoice XML.","uniqueKey":"items.[INDEX].invoice.XMLLink","typeLabel":"string"}},"uniqueKey":"items.[INDEX].invoice","typeLabel":"object"},"informationalFees":{"type":"object","description":"Informational fees (do not affect the quote).","properties":{"serviceFeeFiat":{"type":"number","description":"Service fee in the order's fiat currency.","example":0,"uniqueKey":"items.[INDEX].informationalFees.serviceFeeFiat","typeLabel":"number"},"serviceFeeFiatTax":{"type":"number","description":"Tax on the service fee.","example":0,"uniqueKey":"items.[INDEX].informationalFees.serviceFeeFiatTax","typeLabel":"number"}},"uniqueKey":"items.[INDEX].informationalFees","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","description":"Creation time.","example":"2026-10-12T18:00:00.000Z","uniqueKey":"items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"id":"6660bdefd6c964829d63fcb8","quoteId":"6660bdefd6c964829d63fcb7","userId":"66290ac8bd3903485989f82e","clientReferenceId":"my-reference-1234","status":"awaitingPayment","flow":"fiatToCrypto","origin":{"asset":"MXN","amount":1000,"country":"MX"},"destination":{"asset":"USDC","amount":54.76,"country":"MX"},"fixedLeg":"origin","pricingDetails":{"fees":[{"type":"processing","amount":20,"asset":"MXN","tax":3.2}]},"settlement":{"mode":"deliverable","timing":"default","valueDateOffset":1,"effectiveValueDateOffset":1,"valueDate":"2026-10-12T18:00:00.000Z","payment":{"asset":"MXN","amount":1000,"rail":"bankTransfer","network":"polygon","dueDate":"2026-10-12T18:00:00.000Z","status":"awaitingFunds","amountSettled":0,"bankAccountId":"66733d33222710ab2785dc62","addressId":"66733d33222710ab2785dc62","instructions":{"blockchainAddress":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","blockchainMemo":"\u003cstring>","bankName":"STP","companyName":"Rio Transfer S.A.P.I. de C.V.","companyAddress":"\u003cstring>","bankAddress":"\u003cstring>","accountHolderName":"John Doe","accountNumber":"99998888","routingNumber":"\u003cstring>","reference":"9f5676","CLABE":"646180000000000001","CCI":"\u003cstring>","RUC":"\u003cstring>","RFC":"RBL123456789","NIT":"\u003cstring>","USBankTransferMethod":"wire"},"transactions":[{"amount":1000,"createdAt":"2026-10-12T18:00:00.000Z","blockchainTxId":"0x66ec2a9d4e1f6b7c8d9e0f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e","blockchainAddress":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","SPEITrackingNumber":"TRK20261012001","SPIDTrackingNumber":"\u003cstring>","CEPLink":"https://www.banxico.org.mx/cep/","reference":"9f5676","accountHolderName":"John Doe","accountNumber":"\u003cstring>","CCI":"\u003cstring>","CLABE":"014027000000000008"}],"bulkBankPaymentId":"\u003cstring>","bulkCryptoPaymentId":"\u003cstring>"},"payout":{"asset":"USDC","amount":54.76,"rail":"blockchain","network":"polygon","dueDate":"2026-10-12T18:00:00.000Z","status":"awaitingFunds","amountSettled":0,"bankAccountId":"66733d33222710ab2785dc62","addressId":"66733d33222710ab2785dc62","instructions":{"blockchainAddress":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","blockchainMemo":"\u003cstring>","bankName":"STP","companyName":"Rio Transfer S.A.P.I. de C.V.","companyAddress":"\u003cstring>","bankAddress":"\u003cstring>","accountHolderName":"John Doe","accountNumber":"99998888","routingNumber":"\u003cstring>","reference":"9f5676","CLABE":"646180000000000001","CCI":"\u003cstring>","RUC":"\u003cstring>","RFC":"RBL123456789","NIT":"\u003cstring>","USBankTransferMethod":"wire"},"transactions":[{"amount":1000,"createdAt":"2026-10-12T18:00:00.000Z","blockchainTxId":"0x66ec2a9d4e1f6b7c8d9e0f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e","blockchainAddress":"0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C","SPEITrackingNumber":"TRK20261012001","SPIDTrackingNumber":"\u003cstring>","CEPLink":"https://www.banxico.org.mx/cep/","reference":"9f5676","accountHolderName":"John Doe","accountNumber":"\u003cstring>","CCI":"\u003cstring>","CLABE":"014027000000000008"}],"bulkBankPaymentId":"\u003cstring>","bulkCryptoPaymentId":"\u003cstring>"}},"marketPrice":0.056,"netPrice":0.05476,"type":"market","limitNetPrice":0.0555,"timeInForceStartsAt":"2026-10-12T18:00:00.000Z","timeInForceEndsAt":"2026-10-12T18:00:00.000Z","attributes":["fixedPrice"],"notes":"Note","payoutTransferLimit":475000,"paymentReceivedAt":"2026-10-12T18:00:00.000Z","expiredQuotes":[],"parentOrderId":"\u003cstring>","invoice":{"PDFLink":"\u003cstring>","XMLLink":"\u003cstring>"},"informationalFees":{"serviceFeeFiat":0,"serviceFeeFiatTax":0},"createdAt":"2026-10-12T18:00:00.000Z"}]}},"exampleType":"generated"}},"description":"OK","exampleType":"generated"},"d39094e0-b6ea-4348-9870-15561e50d74b":{"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":{"1fdc134e-6194-45c2-9635-d41dad4cb42f":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"4eaabd29-8b01-4147-b9e0-40cf09dfe491":{"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":"api-reference/orders-docs.json"},"subdomain":"riotransfer-041f224d","siteName":"Rio","title":"Get orders - Rio","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/orders/get-orders","matchLevel":0},"v1 (legacy)":{"href":"/v1/api-reference/orders/get-orders","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T19:12:08.209Z","originalFileLocation":"api-reference/orders/get-orders.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=\"Get orders - Rio\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rio\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rio.trade/api-reference/orders/get-orders\">\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=Get+orders\u0026amp;theme=5ae0105a62346b287eeabfe7\u0026amp;signature=3924e47f79125e23f7b31f849f6509b5edf31ff64dcc2265915ff8d379e0a643\">\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=\"Get orders - Rio\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riotransfer-041f224d.mintlify.app/_mintlify/api/og/v2?division=Orders+API\u0026amp;title=Get+orders\u0026amp;theme=5ae0105a62346b287eeabfe7\u0026amp;signature=3924e47f79125e23f7b31f849f6509b5edf31ff64dcc2265915ff8d379e0a643\">\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/api-reference/orders/get-orders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orders/get-orders.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/api-reference/orders/get-orders#webpage\",\"url\":\"https://docs.rio.trade/api-reference/orders/get-orders\",\"name\":\"Get orders\",\"dateModified\":\"2026-10-13T19:12:08.209Z\",\"isPartOf\":{\"@id\":\"https://docs.rio.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rio.trade/api-reference/orders/get-orders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rio.trade/api-reference/orders/get-orders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API List\",\"item\":\"https://docs.rio.trade/api-reference/address/create-address\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders API\",\"item\":\"https://docs.rio.trade/api-reference/orders/get-order\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get orders\",\"item\":\"https://docs.rio.trade/api-reference/orders/get-orders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rio.trade/api-reference/orders/get-orders#apireference\",\"headline\":\"Get orders\",\"name\":\"Get orders\",\"url\":\"https://docs.rio.trade/api-reference/orders/get-orders\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rio.trade/api-reference/orders/get-orders#webpage\"},\"dateModified\":\"2026-10-13T19:12:08.209Z\",\"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","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"API List","pages":[{"group":"Address API","icon":"square-code","pages":[{"openapi":"api-reference/address-docs.json POST /api/addresses","title":"Create a new crypto address","href":"/api-reference/address/create-address"},{"openapi":"api-reference/address-docs.json GET /api/addresses","title":"Get addresses","href":"/api-reference/address/get-addresses"},{"openapi":"api-reference/address-docs.json GET /api/addresses/{id}","title":"Get address","href":"/api-reference/address/get-address"},{"openapi":"api-reference/address-docs.json DELETE /api/addresses/{id}","title":"Delete address","href":"/api-reference/address/delete-address"}]},{"group":"Bank accounts API","icon":"square-code","pages":[{"openapi":"api-reference/bank-accounts-docs.json get /api/bank/accounts","title":"Get bank accounts","href":"/api-reference/bank-accounts/get-bank-accounts"},{"openapi":"api-reference/bank-accounts-docs.json post /api/bank/accounts","title":"Create a bank account","href":"/api-reference/bank-accounts/create-a-bank-account"},{"openapi":"api-reference/bank-accounts-docs.json get /api/bank/accounts/{id}","title":"Get a bank account","href":"/api-reference/bank-accounts/get-a-bank-account"},{"openapi":"api-reference/bank-accounts-docs.json delete /api/bank/accounts/{id}","title":"Delete a bank account","href":"/api-reference/bank-accounts/delete-a-bank-account"}]},{"group":"Bank payments API","icon":"square-code","pages":[{"openapi":"api-reference/bank-payments-docs.json post /api/payments/bank/check","title":"Confirm bank payment","href":"/api-reference/bank-payments/check-bank-payment"},{"openapi":"api-reference/bank-payments-docs.json post /api/payments/bank/bulk","title":"Create bulk bank payment","href":"/api-reference/bank-payments/create-bulk-bank-payment"},{"openapi":"api-reference/bank-payments-docs.json get /api/payments/bank/bulk/{id}","title":"Get bulk bank payment","href":"/api-reference/bank-payments/get-bulk-bank-payment"},{"openapi":"api-reference/bank-payments-docs.json post /api/payments/bank/bulk/{id}/cancel","title":"Cancel bulk bank payment","href":"/api-reference/bank-payments/cancel-bulk-bank-payment"}]},{"group":"Crypto payments API","icon":"square-code","pages":[{"openapi":"api-reference/crypto-payments-docs.json post /api/payments/crypto/check","title":"Confirm crypto payment","href":"/api-reference/crypto-payments/check-crypto-payment"},{"openapi":"api-reference/crypto-payments-docs.json post /api/payments/crypto/bulk","title":"Create bulk crypto payment","href":"/api-reference/crypto-payments/create-bulk-crypto-payment"},{"openapi":"api-reference/crypto-payments-docs.json get /api/payments/crypto/bulk/{id}","title":"Get bulk crypto payment","href":"/api-reference/crypto-payments/get-bulk-crypto-payment"},{"openapi":"api-reference/crypto-payments-docs.json post /api/payments/crypto/bulk/{id}/cancel","title":"Cancel bulk crypto payment","href":"/api-reference/crypto-payments/cancel-bulk-crypto-payment"}]},{"group":"Orders API","icon":"square-code","pages":[{"openapi":"api-reference/orders-docs.json get /api/orders/{id}","title":"Get order","description":"","href":"/api-reference/orders/get-order"},{"openapi":"api-reference/orders-docs.json get /api/orders","title":"Get orders","href":"/api-reference/orders/get-orders"},{"openapi":"api-reference/orders-docs.json post /api/orders","title":"Create order","description":"Books a quote into an order. Give the account Rio pays out to under `settlement.payout`: `addressId` when you receive stablecoins, `bankAccountId` when you receive fiat. Payment details for the leg you pay are returned under `settlement.payment.instructions` once the order is awaiting payment.","href":"/api-reference/orders/create-order"},{"openapi":"api-reference/orders-docs.json post /api/orders/{id}/cancel","title":"Cancel order","href":"/api-reference/orders/cancel-order"}]},{"group":"Quotes API","icon":"square-code","pages":[{"openapi":"api-reference/quotes-docs.json get /api/quotes/{id}","title":"Get Quote by ID","href":"/api-reference/quotes/get-quote-by-id"},{"openapi":"api-reference/quotes-docs.json post /api/quotes","title":"Create Quote","href":"/api-reference/quotes/create-quote"}]},{"group":"Users API","icon":"square-code","pages":[{"openapi":"api-reference/users-docs.json GET /api/users/{id}","title":"Get user","href":"/api-reference/users/get-user"},{"openapi":"api-reference/users-docs.json GET /api/users","title":"Get all users","href":"/api-reference/users/get-users"},{"openapi":"api-reference/users-docs.json GET /api/users/{id}/link","title":"Get user onboarding links","href":"/api-reference/users/get-user-onboarding-links"},{"openapi":"api-reference/users-docs.json POST /api/users","title":"Create a new user","href":"/api-reference/users/create-user"},{"openapi":"api-reference/users-docs.json POST /api/users/link","title":"Create a new user by link","href":"/api-reference/users/create-user-by-link"},{"openapi":"api-reference/users-docs.json POST /api/users/{id}/terms/accept","title":"Accept terms and conditions for a user","href":"/api-reference/users/accept-terms-and-conditions"},{"openapi":"api-reference/users-docs.json POST /api/users/{id}/additional-information","title":"Add additional information to a user","href":"/api-reference/users/add-additional-user-information"}]},{"group":"Webhooks API","icon":"square-code","pages":[{"title":"Get Webhook by id","openapi":"api-reference/webhooks-docs.json get /api/webhooks/{id}","href":"/api-reference/webhooks/get-apiwebhooks"},{"title":"Delete Webhook","openapi":"api-reference/webhooks-docs.json delete /api/webhooks/{id}","href":"/api-reference/webhooks/delete-apiwebhooks"},{"title":"Get Webhooks","openapi":"api-reference/webhooks-docs.json get /api/webhooks","href":"/api-reference/webhooks/get-apiwebhooks-1"},{"title":"Register a Webhook","openapi":"api-reference/webhooks-docs.json post /api/webhooks/{type}","href":"/api-reference/webhooks/post-apiwebhooks"}]}]}]}]},{"version":"v1 (legacy)","pages":[{"title":"v1 (legacy)","href":"/v1/api-reference/orders/get-orders"}]}]},"title":"Get orders - Rio","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}