{
"type": "not_found",
"message": "The requested resource was not found",
"help": "Please check the resource ID and try again."
}
{
"type": "not_found",
"message": "The requested resource was not found",
"help": "Please check the resource ID and try again."
}
{
"type": "not_found",
"message": "The requested resource was not found",
"help": "Please check the resource ID and try again."
}
{
"type": "not_found",
"message": "The requested resource was not found",
"help": "Please check the resource ID and try again."
}
{
"type": "not_found",
"message": "The requested resource was not found",
"help": "Please check the resource ID and try again."
}
This endpoint can return both complete and incomplete orders. The types of these responses differ, you should use the status field to determine which type of response you are receiving.
Completed orders will have a status of COMPLETED or FAILED and have a full response body.
Incomplete orders will have a status of PROCESSING and have a partial response body.
Authorizations
X-Api-Key
string
header
required
Your API key. See the API key page on details of how to generate and store your keys.
Scopes
read:order
Headers
X-Api-Version
enum<string>
default:2024-02-05
The dated version of the API, if not specified a default is used. See API versioning for more information.
The dated version of the Runa API. Send it on every request: a client that omits it silently follows whatever the server default happens to be.
Available options:
2024-02-05
Path Parameters
id
string
required
The ID of the order.
Response
OK
Order
Processing order
Used for an order that has completed. This class is typically used when returning a single order to the client.
id
string
required
The ID of the order.
Example:
"O-01H5WQGHKCBB85MQFM68S9KJ5Q"
status
enum<string>
required
The status of the order.
Available options:
COMPLETED,
FAILED,
PROCESSING
Example:
"PROCESSING"
created_at
string<date-time>
required
UTC timestamp, in ISO 8601 format, when the order was submitted.
payment_method
Payment Method · object
required
The payment method used for the order.
Show child attributes
currency
string<iso-4217>
required
The currency of the order, represented by ISO 4217 currency codes. Please check the currency section in the guidelines for how to use this field.
Pattern: ^[A-Z]{3}$
Example:
"USD"
total_price
string<decimal>
required
The total price of the order. This includes any applicable fees.
Pattern: ^[0-9]+(\.[0-9]{1,2})?$
Example:
"10.00"
total_discount
string<decimal>
required
The total discount of the order.
Pattern: ^[0-9]+(\.[0-9]{1,2})?$
Example:
"1.00"
items
Completed order item · object[]
required
The list of items that were included in the order. Each item represents a single payout link.
Show child attributes
completed_at
string<date-time>
UTC timestamp, in ISO 8601 format, when the order was completed.
description
string | null
Free format text reference for the order. The order description will not be visible to the end user. You will see this description in the Runa web portal.
This field is optional and can be omitted if not needed.
If not provided, the field will be set to null in the response.
Maximum string length: 128
Example:
"Your own reference text"
transaction_detail
Transaction detail · object
A mapping of the subtotal of the order using the payout currency as a key.
Show child attributes
Example:
{ "USD": { "value": "10.00", "fx": null } }
metadata
Metadata · object | null
A flexible field for you to attach additional, customer-specific data to the order. This is for your internal use, the information stored here will not be exposed to the end user.
All keys and their corresponding values must be strings
Each order supports up to 20 key-value pairs
Keys have a maximum length of 40 characters
Values can be up to 200 characters long.
This field is optional and can be omitted if not needed.
If not provided, the field will be set to null in the response.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Runa Developer Hub","description":"Send instant B2C payments your recipients will love","colors":{"primary":"#62cc50","light":"#4fff7b","dark":"#3dd463"},"logo":{"light":"https://brand-assets.runa.io/logo-horizontal-black.svg","dark":"https://brand-assets.runa.io/logo-horizontal-white.svg"},"favicon":"https://mintcdn.com/runa/3fuhXTcDrFXCr5CT/favicon.svg?fit=max\u0026auto=format\u0026n=3fuhXTcDrFXCr5CT\u0026q=85\u0026s=34c8b1765044aaa9687fd1647ac25821","navbar":{"links":[],"primary":{"type":"button","label":"Back to app","href":"https://app.runa.io"}},"footer":{"socials":{"website":"https://runa.io","linkedin":"https://www.linkedin.com/company/runapayouts"}},"fonts":{"heading":{"family":"F37 Lineca","weight":600,"source":"https://brand-assets.runa.io/design-system/fonts/f37lineca/F37Lineca-Bold.woff2","format":"woff2"},"body":{"family":"Inter"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"runa","hasAudioNarration":false,"actualSubdomain":"runa","customDomains":["developer.runa.io"],"gitSource":{"type":"github","owner":"wegift","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af59cbe55654e521ba1c260","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Guides","count":29},{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Features","count":14},{"language":"default","tag":"Changelogs","count":12},{"language":"default","tag":"Network","count":11},{"language":"default","tag":"Archived pages","count":8},{"language":"default","tag":"Before you go live","count":7},{"language":"default","tag":"Getting started","count":7},{"language":"default","tag":"Reference","count":7},{"language":"default","tag":"Webhooks","count":5}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@runa.io","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"695cf0470512f37d886f09f6","deploymentId":"67e1763caf7c6a387185058a","questionText":"How should I handle errors from the API?","status":"active","generatedBy":"manual","createdAt":"2026-01-06T11:21:43.258Z","updatedAt":"2026-01-06T11:21:43.258Z","__v":0},{"_id":"695cf01e0512f37d886f0747","deploymentId":"67e1763caf7c6a387185058a","questionText":"How can I create my first order?","status":"active","generatedBy":"manual","createdAt":"2026-01-06T11:21:02.480Z","updatedAt":"2026-01-06T11:21:02.480Z","__v":0},{"_id":"695cf0140512f37d886f06a8","deploymentId":"67e1763caf7c6a387185058a","questionText":"How do I create an API key?","status":"active","generatedBy":"manual","createdAt":"2026-01-06T11:20:52.926Z","updatedAt":"2026-01-06T11:20:52.926Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{overflow-y:scroll}#navbar{background:black!important;color-scheme:dark;color:white!important}#navbar-transition{background:black!important}#navbar .text-gray-800,#navbar .text-gray-600,#navbar .text-gray-700{color:white!important}.nav-logo.hidden{display:block!important}.nav-logo.block{display:none!important}#search-bar-entry{background:black!important;color:white!important;border:1px solid rgba(255, 255, 255, 0.9)}#assistant-entry{background:white}#assistant-entry .text-gray-700,#assistant-entry .text-gray-500{color:black!important}#chat-assistant-sheet{border-left:1px solid #e5e7eb}.nav-tabs [class*=\"h-[1.5px]\"]{height:3px!important}#navbar a[href=\"https://app.runa.io\"] .bg-primary-dark{background:linear-gradient(20deg, #00ffa3, #93ff82, #eefc51) border-box}#navbar a[href=\"https://app.runa.io\"] .text-white,#navbar a[href=\"https://app.runa.io\"] svg{color:black}#navigation-items .text-primary{color:black}#navigation-items .dark\\:text-primary-light:is(.dark *){color:rgb(var(--primary-light) / var(--tw-text-opacity))}#navigation-items .bg-primary{background-color:black}#navigation-items .dark\\:bg-primary-light:is(.dark *){background-color:rgb(var(--primary-light) / var(--tw-bg-opacity))}#navigation-items .bg-primary\\/10{background-color:rgb(var(--primary) / 0.2)}#navigation-items .dark\\:bg-primary-light\\/10:is(.dark *){background-color:rgb(var(--primary-light) / 0.2)}"},{"filePath":"welcome.css","content":".hero-button{background:linear-gradient(black, black) padding-box,\n linear-gradient(to top right, #00ffa3, #93ff82, #eefc51) border-box;border-radius:50em;border:2px solid transparent;border-radius:3rem;padding:0.75rem 2rem;font-size:1rem;color:white;font-weight:bold;text-decoration:none;text-transform:uppercase;transition:all 0.3s ease-in-out}.hero-button:hover{background:linear-gradient(black, black) padding-box,\n linear-gradient(to right, white, white) border-box}"}]}
{"page":{"pagePath":"reference/2024-02-05/endpoint/orders/get","slug":"/reference/2024-02-05/endpoint/orders/get","pageMetadata":{"title":"Get order details","openapi":"reference/2024-02-05/openapi.json GET /order/{id}","description":"Get the details and status of a specific order. Can be used for checking the status of an async order after it's been accepted.","href":"/reference/2024-02-05/endpoint/orders/get"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get the details and status of a specific order. Can be used for checking the status of an async order after it’s been accepted.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint can return both complete and incomplete orders. The types of these responses differ, you should use the `,_jsx(_components.code,{children:`status`}),` field to determine which type of response you are receiving.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Completed orders will have a `,_jsx(_components.code,{children:`status`}),` of `,_jsx(_components.code,{children:`COMPLETED`}),` or `,_jsx(_components.code,{children:`FAILED`}),` and have a full response body.`]}),`\n`,_jsxs(_components.li,{children:[`Incomplete orders will have a `,_jsx(_components.code,{children:`status`}),` of `,_jsx(_components.code,{children:`PROCESSING`}),` and have a partial response body.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get order details","openapi":"reference/2024-02-05/openapi.json GET /order/{id}","description":"Get the details and status of a specific order. Can be used for checking the status of an async order after it's been accepted.","href":"/reference/2024-02-05/endpoint/orders/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getOrder","tags":["Orders"],"summary":"Get order details","description":"Get the details and status of a specific order. Can be used for checking the status of an async order after it's been accepted.","security":["4ae5de6d-3ffe-4c20-bcab-a68db5008995"],"parameters":["97ed621a-50f6-4ad1-977b-a71d1123afe1","2cabf442-36b7-4d99-9b93-754779d04624"],"responses":{"200":"17407dd2-17bc-4e10-b004-2b3b077f7bf6","400":"cffa27eb-d6dc-44dd-a4da-7f105acaf1cb","401":"a1837210-1be7-40d5-9ad3-8f58e73a0a0b","403":"2d04c2af-b9c7-4e5d-ac1e-b3bf0f139290","404":"be100f5a-4d5c-48ba-958d-77c06d4975ab","500":"59635f60-c4ef-478a-b042-ec442f25f55a"},"method":"get","type":"path","servers":["fdd1598e-dfc9-4c40-b0fd-0c4c728eb490","78510288-7149-49e7-9c1f-3582a76e7efb"],"path":"/order/{id}","baseUrlOptions":["https://playground.runa.io/v2","https://api.runa.io/v2"],"title":"Get order details","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"97ed621a-50f6-4ad1-977b-a71d1123afe1":{"name":"X-Api-Version","description":"The dated version of the API, if not specified a default is used. See [API versioning](/best-practices/api-versioning) for more information.","in":"header","required":false,"schema":{"title":"API version","type":"string","enum":["2024-02-05"],"default":"2024-02-05","description":"The dated version of the API, if not specified a default is used. See [API versioning](/best-practices/api-versioning) for more information.\nThe dated version of the Runa API. Send it on every request: a client that omits it silently follows whatever the server default happens to be.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"2cabf442-36b7-4d99-9b93-754779d04624":{"required":true,"name":"id","schema":{"type":"string","isRequired":true,"description":"The ID of the order.","uniqueKey":"","typeLabel":"string"},"in":"path","description":"The ID of the order.","example":"O-01H5WQGHKCBB85MQFM68S9KJ5Q"}},"responses":{"17407dd2-17bc-4e10-b004-2b3b077f7bf6":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Order","description":"Used for an order that has completed. This class is typically used when returning a *single order* to the client.","required":["items","id","status","created_at","payment_method","currency","total_price","total_discount"],"properties":{"id":{"title":"Order ID","description":"The ID of the order.","type":"string","examples":["O-01H5WQGHKCBB85MQFM68S9KJ5Q"],"isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string"},"status":{"title":"Order status","description":"The status of the order.","type":"string","enum":["COMPLETED","FAILED","PROCESSING"],"examples":["PROCESSING"],"isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"enum\u003cstring>"},"created_at":{"title":"Created At","description":"UTC timestamp, in ISO 8601 format, when the order was submitted.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"payment_method":{"title":"Payment Method","required":["type"],"type":"object","properties":{"type":{"type":"string","const":"ACCOUNT_BALANCE","description":"Account balance payment.","isRequired":true,"uniqueKey":"oneOf.0.payment_method.type","typeLabel":"string"},"currency":{"type":"string","format":"iso-4217","pattern":"^[A-Z]{3}$","description":"The currency of the account, represented by ISO 4217 currency codes. Check the [currencies](/reference/currencies) for a listing of supported currencies.","examples":["USD"],"uniqueKey":"oneOf.0.payment_method.currency","typeLabel":"string\u003ciso-4217>"}},"description":"The payment method used for the order.","isRequired":true,"uniqueKey":"oneOf.0.payment_method","typeLabel":"Payment Method · object"},"currency":{"type":"string","format":"iso-4217","pattern":"^[A-Z]{3}$","description":"The currency of the order, represented by ISO 4217 currency codes. Please check the currency section in the guidelines for how to use this field.","examples":["USD"],"isRequired":true,"uniqueKey":"oneOf.0.currency","typeLabel":"string\u003ciso-4217>"},"total_price":{"title":"Total Price","description":"The total price of the order. This _includes_ any applicable fees.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["10.00"],"isRequired":true,"uniqueKey":"oneOf.0.total_price","typeLabel":"string\u003cdecimal>"},"total_discount":{"title":"Total Discount","description":"The total discount of the order.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["1.00"],"isRequired":true,"uniqueKey":"oneOf.0.total_discount","typeLabel":"string\u003cdecimal>"},"items":{"title":"Items","description":"The list of items that were included in the order. Each _item_ represents a single payout link.","type":"array","items":{"title":"Completed order item","type":"object","properties":{"id":{"title":"ID","description":"The ID of the order item.","examples":["E-NWPEKW4VL"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].id","typeLabel":"string"},"distribution_method":{"oneOf":[{"type":"object","title":"Email","description":"Email distribution. Send the payout link to the end user directly via email.","required":["type","email_address"],"properties":{"type":{"type":"string","const":"EMAIL","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0.type","typeLabel":"string"},"email_address":{"title":"Email Address","description":"The email address of the end user to send the payout link to.","examples":["fred@example.com"],"type":"string","format":"email","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0.email_address","typeLabel":"string\u003cemail>"},"template_id":{"oneOf":[{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"string","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0.template_id.oneOf.0","typeLabel":"string"},{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"null","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0.template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0.template_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.0","typeLabel":"Email · object"},{"type":"object","title":"Link","description":"Link distribution. Send the payout link to the end user yourself.","required":["type"],"properties":{"type":{"type":"string","const":"PAYOUT_LINK","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.1.type","typeLabel":"string"},"template_id":{"oneOf":[{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"string","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.1.template_id.oneOf.0","typeLabel":"string"},{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"null","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.1.template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.1.template_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.1","typeLabel":"Link · object"},{"type":"object","title":"Recipient","description":"Recipient distribution. Currently this method is only supported for distributing payment type products. For subsequent orders to known recipients we will attempt to make a repeat payout.","required":["type","recipient_reference","email_address"],"properties":{"type":{"type":"string","const":"RECIPIENT","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.type","typeLabel":"string"},"recipient_reference":{"title":"Recipient Reference","description":"A customer provided reference to identify an individual recipient. It must be unique per recipient. When the same reference is used for a second order this will trigger a repeat payout. This is a free-form string limited to 255 characters. It can only contain alphanumeric characters, dashes, underscores, dots, and at-signs.","examples":["abc123"],"type":"string","maxLength":255,"pattern":"^[A-Za-z0-9-_@.]+$","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.recipient_reference","typeLabel":"string"},"email_address":{"title":"Email Address","description":"The email address of the end user to send the payout link to.","examples":["fred@example.com"],"type":"string","format":"email","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.email_address","typeLabel":"string\u003cemail>"},"template_id":{"oneOf":[{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"string","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.template_id.oneOf.0","typeLabel":"string"},{"title":"User redemption template ID","description":"The template ID for a User Redemption Template.","examples":["DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"null","uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2.template_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method.oneOf.2","typeLabel":"Recipient · object"}],"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].distribution_method","typeLabel":"Email · object | Link · object | Recipient · object"},"products":{"oneOf":[{"type":"object","title":"Multiple","description":"Multiple products. The end user will be able to split the payout link's value between these products.","required":["type","values"],"properties":{"type":{"type":"string","const":"MULTIPLE","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.0.type","typeLabel":"string"},"values":{"title":"Values","description":"The codes for the products the end user can choose from when redeeming their payout link. All products _must_ use the same currency.","examples":[["AMZ-US","AIRBNB-US"]],"minItems":2,"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.0.values.items.[INDEX]","typeLabel":"string"},"uniqueItems":true,"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.0.values","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.0","typeLabel":"Multiple · object"},{"type":"object","title":"Single","description":"Single product. The end user will be able to redeem the payout link for this specific product.","required":["type","value"],"example":{"type":"SINGLE","value":"AMZ-US"},"properties":{"type":{"type":"string","const":"SINGLE","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.1.type","typeLabel":"string"},"value":{"title":"Value","description":"The code for the product the end user will get when redeeming their payout link.","minLength":1,"examples":["AMZ-US"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.1.value","typeLabel":"string"},"usage_config":{"title":"Usage configuration","type":"object","description":"Optional. **Only applicable to prepaid Visa cards.** Attaches an MCC-rules template to the issued card. Ignored for all other products. See [Card spend controls](/features/prepaid-visa/spend-controls) for a worked example. When set on a prepaid Visa card order, it is returned in the order details.","properties":{"spend_rules_template_id":{"title":"MCC rules template ID","description":"Identifier of a Runa-authored MCC-rules template applied to the issued card.\n\nOnly applicable to prepaid Visa cards. A single template is applied per card, with multiple rules that either allows or blocks transactions for a given merchant category bundled inside that one template.","type":"string","pattern":"^PSR-[0-9A-HJKMNP-TV-Z]{26}$","examples":["PSR-XXXXXXXXXXXXXXXXXXXXXXXXXX"],"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.1.usage_config.spend_rules_template_id","typeLabel":"string"}},"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.1.usage_config","typeLabel":"Usage configuration · object"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.1","typeLabel":"Single · object"},{"type":"object","title":"Template","description":"Payout selection template. Template having predefined set of products.","required":["type","template_id"],"properties":{"type":{"type":"string","const":"TEMPLATE","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.2.type","typeLabel":"string"},"template_id":{"title":"Payout selection template ID","description":"The template ID for a Payout Selection Template.","examples":["PT-01HPSF51G0ZWHJ3JTNWRH0WDYK"],"type":"string","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.2.template_id","typeLabel":"string"},"values":{"title":"Values","description":"The codes for products selected for Payout Selection Template.","examples":[["AMZ-US","AIRBNB-US"]],"minItems":2,"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.2.values.items.[INDEX]","typeLabel":"string"},"uniqueItems":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.2.values","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.2","typeLabel":"Template · object"},{"type":"object","title":"Unknown","description":"Product(s) unknown. It was not possible to determine which products were included in the order.","required":["type"],"properties":{"type":{"title":"Type","description":"It is not currently possible to determine which products were selected when this item was ordered.","type":"string","const":"UNKNOWN","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.3.type","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products.oneOf.3","typeLabel":"Unknown · object"}],"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].products","typeLabel":"Multiple · object | Single · object | Template · object | Unknown · object"},"face_value":{"title":"Face Value","description":"The face value of the payout link.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["10.00"],"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].face_value","typeLabel":"string\u003cdecimal>"},"price":{"title":"Price","description":"The price paid for the payout link.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["10.00"],"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].price","typeLabel":"string\u003cdecimal>"},"payout":{"title":"Payout","type":"object","properties":{"status":{"title":"Payout status","type":"string","description":"Current status of the payout link. An `ACTIVE` link is live but has not been claimed yet, it will change to `CLAIMED` once that has happened. If you request a cancellation the status will reflect this as `CANCELLED`. Finally, if your account is configured with link expiry, when the link itself expires it will be marked as `EXPIRED` — this is independent of the underlying product's own expiry policy.","enum":["ACTIVE","CLAIMED","CANCELLED","EXPIRED"],"isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.status","typeLabel":"enum\u003cstring>"},"status_updated_at":{"title":"Status Updated At","description":"Time that the payout link status was last updated","type":"string","format":"date-time","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.status_updated_at","typeLabel":"string\u003cdate-time>"},"url":{"title":"Url","description":"The URL (payout link) the end user uses to redeem.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.url","typeLabel":"string"},"expiry_date":{"oneOf":[{"title":"Expiry Date","description":"When the payout link expires. This is the expiry of the payout link itself, not the underlying gift card or product.\n\nIf your account does not have expiry of links enabled this field will be set to `null`, the link does not expire.","type":"string","format":"date-time","uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.expiry_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"title":"Expiry Date","description":"When the payout link expires. This is the expiry of the payout link itself, not the underlying gift card or product.\n\nIf your account does not have expiry of links enabled this field will be set to `null`, the link does not expire.","type":"null","format":"date-time","uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.expiry_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.\\items.items.[INDEX].payout.expiry_date","typeLabel":"string\u003cdate-time> | null"}},"required":["status","status_updated_at","url"],"description":"Payout link details","isRequired":true,"uniqueKey":"oneOf.0.\\items.items.[INDEX].payout","typeLabel":"Payout · object"},"currency":{"type":"string","format":"iso-4217","pattern":"^[A-Z]{3}$","description":"The currency of the payout link, represented by ISO 4217 currency codes.","examples":["USD"],"uniqueKey":"oneOf.0.\\items.items.[INDEX].currency","typeLabel":"string\u003ciso-4217>"}},"required":["id","distribution_method","products","face_value","price","payout"],"uniqueKey":"oneOf.0.\\items.items.[INDEX]","typeLabel":"Completed order item · object"},"isRequired":true,"uniqueKey":"oneOf.0.\\items","typeLabel":"Completed order item · object[]"},"completed_at":{"title":"Completed At","description":"UTC timestamp, in ISO 8601 format, when the order was completed.","type":"string","format":"date-time","uniqueKey":"oneOf.0.completed_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"title":"Description","description":"Free format text reference for the order. The order description will not be visible to the end user. You will see this description in the Runa web portal.\n\nThis field is optional and can be omitted if not needed.\nIf not provided, the field will be set to `null` in the response.","type":"string","maxLength":128,"examples":["Your own reference text"],"uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"title":"Description","description":"Free format text reference for the order. The order description will not be visible to the end user. You will see this description in the Runa web portal.\n\nThis field is optional and can be omitted if not needed.\nIf not provided, the field will be set to `null` in the response.","type":"null","maxLength":128,"examples":["Your own reference text"],"uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"transaction_detail":{"title":"Transaction detail","description":"A mapping of the subtotal of the order using the payout currency as a key.","type":"object","examples":[{"USD":{"value":"10.00","fx":null}}],"propertyNames":{"$ref":"#/components/schemas/Currency"},"additionalProperties":{"type":"object","title":"Transaction detail entry","description":"A subtotal of the value purchased and associated fees and data about the transaction.","properties":{"value":{"title":"Value","description":"The total value purchased of a payout link currency.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["10.00"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.value","typeLabel":"string\u003cdecimal>"},"fx":{"oneOf":[{"type":"object","title":"FX details","description":"Provides details on fx conversion for an order transaction detail. Present when the payment method currency is different from the transaction detail currency.","required":["rate","rate_symbol","fee"],"properties":{"rate":{"title":"FX Rate","description":"The FX rate received for the transaction between the payout currency and payment currency.","type":"string","examples":["1.234"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0.rate","typeLabel":"string"},"rate_symbol":{"title":"FX Rate symbol","description":"The currency pair associated with the FX transaction.","type":"string","examples":["GBPUSD"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0.rate_symbol","typeLabel":"string"},"fee":{"title":"Fee","description":"The fee charged for making this transaction.","type":"object","properties":{"value":{"title":"Value","description":"The value of the fee.","type":"string","format":"decimal","pattern":"^[0-9]+(\\.[0-9]{1,2})?$","examples":["0.02"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0.fee.value","typeLabel":"string\u003cdecimal>"},"currency":{"title":"Currency","description":"The currency of the fee.","type":"string","examples":["USD"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0.fee.currency","typeLabel":"string"}},"required":["value","currency"],"isRequired":true,"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0.fee","typeLabel":"Fee · object"}},"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.0","typeLabel":"FX details · object"},{"type":"null","title":"FX","description":"Present only when the payment method currency differs from the transaction detail currency. `null` otherwise.","uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.transaction_detail.additionalProperties.fx","typeLabel":"FX details · object | null"}},"required":["value"],"uniqueKey":"oneOf.0.transaction_detail.additionalProperties","typeLabel":"Transaction detail entry · object"},"uniqueKey":"oneOf.0.transaction_detail","typeLabel":"Transaction detail · object"},"metadata":{"oneOf":[{"title":"Metadata","description":"A flexible field for you to attach additional, customer-specific data to the order. This is for your internal use, the information stored here will not be exposed to the end user.\n- All keys and their corresponding values must be strings\n- Each order supports up to 20 key-value pairs\n- Keys have a maximum length of 40 characters\n- Values can be up to 200 characters long.\n\nThis field is optional and can be omitted if not needed.\nIf not provided, the field will be set to `null` in the response.","type":"object","maxProperties":20,"propertyNames":{"type":"string","maxLength":40},"additionalProperties":{"type":"string","maxLength":200,"uniqueKey":"oneOf.0.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"examples":[{"internal_id":"12345","department":"marketing","campaign":"summer_2024"}],"uniqueKey":"oneOf.0.metadata.oneOf.0","typeLabel":"Metadata · object"},{"title":"Metadata","description":"A flexible field for you to attach additional, customer-specific data to the order. This is for your internal use, the information stored here will not be exposed to the end user.\n- All keys and their corresponding values must be strings\n- Each order supports up to 20 key-value pairs\n- Keys have a maximum length of 40 characters\n- Values can be up to 200 characters long.\n\nThis field is optional and can be omitted if not needed.\nIf not provided, the field will be set to `null` in the response.","type":"null","maxProperties":20,"propertyNames":{"type":"string","maxLength":40},"additionalProperties":{"type":"string","maxLength":200,"uniqueKey":"oneOf.0.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"examples":[{"internal_id":"12345","department":"marketing","campaign":"summer_2024"}],"uniqueKey":"oneOf.0.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.metadata","typeLabel":"Metadata · object | null"}},"uniqueKey":"oneOf.0","typeLabel":"Order · object"},{"type":"object","title":"Processing order","description":"Order that has been accepted but is not complete.","required":["id","status","message"],"properties":{"id":{"title":"Order ID","description":"The ID of the order.","type":"string","examples":["O-01H5WQGHKCBB85MQFM68S9KJ5Q"],"isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"status":{"type":"string","const":"PROCESSING","description":"Always `PROCESSING` for this schema.","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"string"},"message":{"title":"Message","description":"Human readable message describing the status of the order.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"Processing order · object"}],"uniqueKey":"","typeLabel":"Order · object | Processing order · object"},"examples":{"Example":{"title":"Example","value":{"id":"O-01H5WQGHKCBB85MQFM68S9KJ5Q","status":"PROCESSING","created_at":"2023-11-07T05:31:56Z","payment_method":{"type":"ACCOUNT_BALANCE","currency":"USD"},"currency":"USD","total_price":"10.00","total_discount":"1.00","items":[{"id":"E-NWPEKW4VL","distribution_method":{"type":"EMAIL","email_address":"fred@example.com","template_id":"DT-01HPSF51G0ZWHJ3JTNWRH0WDYK"},"products":{"type":"MULTIPLE","values":["AMZ-US","AIRBNB-US"]},"face_value":"10.00","price":"10.00","payout":{"status":"ACTIVE","status_updated_at":"2023-11-07T05:31:56Z","url":"\u003cstring>","expiry_date":"2023-11-07T05:31:56Z"},"currency":"USD"}],"completed_at":"2023-11-07T05:31:56Z","description":"Your own reference text","transaction_detail":{"USD":{"value":"10.00","fx":null}},"metadata":{"internal_id":"12345","department":"marketing","campaign":"summer_2024"}}}},"exampleType":"generated"}},"exampleType":"generated"},"cffa27eb-d6dc-44dd-a4da-7f105acaf1cb":{"description":"Bad request","content":{"application/json":{"schema":{"title":"Error","required":["type","message"],"type":"object","properties":{"type":{"title":"Type","description":"An error code or type.","type":"string","examples":["not_found"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"title":"Message","description":"A human readable summary of the error.","type":"string","examples":["The requested resource was not found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"help":{"oneOf":[{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"string","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.0","typeLabel":"string"},{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"null","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.1","typeLabel":"null"}],"uniqueKey":"help","typeLabel":"string | null"}},"description":"Generic Runa API error response.","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","message":"The requested resource was not found","help":"Please check the resource ID and try again."}}},"exampleType":"generated"}},"exampleType":"generated"},"a1837210-1be7-40d5-9ad3-8f58e73a0a0b":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","required":["type","message"],"type":"object","properties":{"type":{"title":"Type","description":"An error code or type.","type":"string","examples":["not_found"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"title":"Message","description":"A human readable summary of the error.","type":"string","examples":["The requested resource was not found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"help":{"oneOf":[{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"string","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.0","typeLabel":"string"},{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"null","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.1","typeLabel":"null"}],"uniqueKey":"help","typeLabel":"string | null"}},"description":"Generic Runa API error response.","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","message":"The requested resource was not found","help":"Please check the resource ID and try again."}}},"exampleType":"generated"}},"exampleType":"generated"},"2d04c2af-b9c7-4e5d-ac1e-b3bf0f139290":{"description":"Forbidden","content":{"application/json":{"schema":{"title":"Error","required":["type","message"],"type":"object","properties":{"type":{"title":"Type","description":"An error code or type.","type":"string","examples":["not_found"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"title":"Message","description":"A human readable summary of the error.","type":"string","examples":["The requested resource was not found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"help":{"oneOf":[{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"string","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.0","typeLabel":"string"},{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"null","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.1","typeLabel":"null"}],"uniqueKey":"help","typeLabel":"string | null"}},"description":"Generic Runa API error response.","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","message":"The requested resource was not found","help":"Please check the resource ID and try again."}}},"exampleType":"generated"}},"exampleType":"generated"},"be100f5a-4d5c-48ba-958d-77c06d4975ab":{"description":"Not found","content":{"application/json":{"schema":{"title":"Error","required":["type","message"],"type":"object","properties":{"type":{"title":"Type","description":"An error code or type.","type":"string","examples":["not_found"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"title":"Message","description":"A human readable summary of the error.","type":"string","examples":["The requested resource was not found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"help":{"oneOf":[{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"string","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.0","typeLabel":"string"},{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"null","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.1","typeLabel":"null"}],"uniqueKey":"help","typeLabel":"string | null"}},"description":"Generic Runa API error response.","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","message":"The requested resource was not found","help":"Please check the resource ID and try again."}}},"exampleType":"generated"}},"exampleType":"generated"},"59635f60-c4ef-478a-b042-ec442f25f55a":{"description":"Internal server error","content":{"application/json":{"schema":{"title":"Error","required":["type","message"],"type":"object","properties":{"type":{"title":"Type","description":"An error code or type.","type":"string","examples":["not_found"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"message":{"title":"Message","description":"A human readable summary of the error.","type":"string","examples":["The requested resource was not found"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"help":{"oneOf":[{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"string","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.0","typeLabel":"string"},{"title":"Help","description":"Additional information that pertains to the error. `null` when there is nothing further to add.","type":"null","examples":["Please check the resource ID and try again."],"uniqueKey":"help.oneOf.1","typeLabel":"null"}],"uniqueKey":"help","typeLabel":"string | null"}},"description":"Generic Runa API error response.","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","message":"The requested resource was not found","help":"Please check the resource ID and try again."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4ae5de6d-3ffe-4c20-bcab-a68db5008995":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key. See the [API key](/getting-started/api-key) page on details of how to generate and store your keys.","scopes":["read:order"],"schemeName":"ApiKeyAuth"}}},"servers":{"fdd1598e-dfc9-4c40-b0fd-0c4c728eb490":{"url":"https://playground.runa.io/v2","description":"Playground"},"78510288-7149-49e7-9c1f-3582a76e7efb":{"url":"https://api.runa.io/v2","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key. See the [API key](/getting-started/api-key) page on details of how to generate and store your keys.","scopes":["read:order"],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-Api-Key","type":"string","description":"Your API key. See the [API key](/getting-started/api-key) page on details of how to generate and store your keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"reference/2024-02-05/openapi.json"},"subdomain":"runa","siteName":"Runa Developer Hub","title":"Get order details - Runa Developer Hub","navMaps":{"firstHrefInVersion":{"2024-02-05":{"href":"/reference/2024-02-05/endpoint/orders/get","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T12:26:43.696Z","originalFileLocation":"reference/2024-02-05/endpoint/orders/get.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=\"description\" content=\"Get the details and status of a specific order. Can be used for checking the status of an async order after it\u0026#x27;s been accepted.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Runa Developer Hub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_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/runa/w-pOszMLD-yA3smZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get order details - Runa Developer Hub\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get the details and status of a specific order. Can be used for checking the status of an async order after it\u0026#x27;s been accepted.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Runa Developer Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://runa.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Get+order+details\u0026amp;description=Get+the+details+and+status+of+a+specific+order.+Can+be+used+for+checking+the+status+of+an+async+order+after+it%27s+been+accepted.\u0026amp;theme=a355c9f2479ec7cfbecaec9f\u0026amp;signature=05423ce1fa188fd6ba8fe5c6e117999cbd88d20ec2776507e10e7c38a9cb3374\">\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 order details - Runa Developer Hub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get the details and status of a specific order. Can be used for checking the status of an async order after it\u0026#x27;s been accepted.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://runa.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Get+order+details\u0026amp;description=Get+the+details+and+status+of+a+specific+order.+Can+be+used+for+checking+the+status+of+an+async+order+after+it%27s+been+accepted.\u0026amp;theme=a355c9f2479ec7cfbecaec9f\u0026amp;signature=05423ce1fa188fd6ba8fe5c6e117999cbd88d20ec2776507e10e7c38a9cb3374\">\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/runa/w-pOszMLD-yA3smZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Runa Developer Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#62cc50\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/2024-02-05/endpoint/orders/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.runa.io/#organization\",\"name\":\"Runa Developer Hub\",\"url\":\"https://developer.runa.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://brand-assets.runa.io/logo-horizontal-black.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.runa.io#website\",\"name\":\"Runa Developer Hub\",\"url\":\"https://developer.runa.io\",\"publisher\":{\"@id\":\"https://developer.runa.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get#webpage\",\"url\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get\",\"name\":\"Get order details\",\"description\":\"Get the details and status of a specific order. Can be used for checking the status of an async order after it's been accepted.\",\"dateModified\":\"2026-01-22T12:26:43.696Z\",\"isPartOf\":{\"@id\":\"https://developer.runa.io#website\"},\"breadcrumb\":{\"@id\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders\",\"item\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get order details\",\"item\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get#apireference\",\"headline\":\"Get order details\",\"name\":\"Get order details\",\"description\":\"Get the details and status of a specific order. Can be used for checking the status of an async order after it's been accepted.\",\"url\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get\",\"mainEntityOfPage\":{\"@id\":\"https://developer.runa.io/reference/2024-02-05/endpoint/orders/get#webpage\"},\"dateModified\":\"2026-01-22T12:26:43.696Z\",\"publisher\":{\"@id\":\"https://developer.runa.io/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.runa.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Runa Developer Hub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Runa Developer Hub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/2024-02-05/endpoint/orders/get.md","siteName":"Runa Developer Hub","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":"/welcome"}]},{"tab":"API Guides","pages":[{"title":"API Guides","href":"/introduction"}]},{"tab":"API Reference","versions":[{"version":"2024-02-05","groups":[{"group":"Reference","pages":[{"title":"Introduction","icon":"book","href":"/reference/2024-02-05/introduction"},{"title":"Error types","icon":"circle-exclamation","mode":"wide","href":"/reference/2024-02-05/errors"},{"icon":"puzzle-piece-simple","title":null,"href":"/reference/2024-02-05/playground"},{"title":"Webhooks","icon":"webhook","href":"/reference/webhooks"},{"title":"Supported countries","icon":"flag","mode":"wide","href":"/reference/countries"},{"title":"Currencies","icon":"coins","mode":"wide","href":"/reference/currencies"},{"title":"Pagination","icon":"file","href":"/reference/pagination"}]},{"group":"Orders","pages":[{"title":"Create a new order","openapi":"reference/2024-02-05/openapi.json POST /order","description":"Creates a new order, supports both sync and async execution modes","href":"/reference/2024-02-05/endpoint/orders/create"},{"title":"Get order details","openapi":"reference/2024-02-05/openapi.json GET /order/{id}","href":"/reference/2024-02-05/endpoint/orders/get"},{"title":"List orders","openapi":"reference/2024-02-05/openapi.json GET /order","description":"Get a list of all of your orders","href":"/reference/2024-02-05/endpoint/orders/list"},{"title":"Estimate order","openapi":"reference/2024-02-05/openapi.json POST /order/estimate","href":"/reference/2024-02-05/endpoint/orders/estimate"}]},{"group":"Products","pages":[{"title":"List products","openapi":"reference/2024-02-05/openapi.json GET /product","href":"/reference/2024-02-05/endpoint/products/list"},{"title":"Get product details","openapi":"reference/2024-02-05/openapi.json GET /product/{product_code}","href":"/reference/2024-02-05/endpoint/products/get"},{"title":"List countries","openapi":"reference/2024-02-05/openapi.json GET /product/countries","href":"/reference/2024-02-05/endpoint/products/countries"},{"title":"List categories","openapi":"reference/2024-02-05/openapi.json GET /product/categories","href":"/reference/2024-02-05/endpoint/products/categories"}]},{"group":"Balance","pages":[{"title":"Get account balance","openapi":"reference/2024-02-05/openapi.json GET /balance","href":"/reference/2024-02-05/endpoint/balance/get"}]},{"group":"Utility","pages":[{"title":"Ping","openapi":"reference/2024-02-05/openapi.json GET /ping","href":"/reference/2024-02-05/endpoint/utility/ping"}]},{"group":"Webhooks","pages":[{"title":"Order completed","openapi":"reference/2024-02-05/openapi.json WEBHOOK order.completed","href":"/reference/2024-02-05/webhook/order.completed"},{"title":"Order failed","openapi":"reference/2024-02-05/openapi.json WEBHOOK order.failed","href":"/reference/2024-02-05/webhook/order.failed"},{"title":"Payout blocked","openapi":"reference/2024-02-05/openapi.json WEBHOOK payout.blocked","href":"/reference/2024-02-05/webhook/payout.blocked"},{"title":"Order completion","openapi":"reference/2024-02-05/openapi.json WEBHOOK order.completion","href":"/reference/2024-02-05/webhook/order.completion"},{"title":"Product update","openapi":"reference/2024-02-05/openapi.json WEBHOOK product.update","href":"/reference/2024-02-05/webhook/product.update"}]}]}]},{"tab":"Changelogs","pages":[{"title":"Changelogs","href":"/changelog/api"}]}]},"basePath":"","title":"Get order details - Runa Developer Hub","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}