Este endpoint funciona para todos os tipos de ordem suportados:
Ordens PIX: Contém o campo brcode
Ordens Binance: Contém o campo qrCodeLink
Ordens Lightning: Contém o campo invoice e openNodeDetails
O tipo de ordem é determinado automaticamente com base no ID fornecido.
Status da ordem
A consulta de status é útil para verificar se um pagamento foi recebido. Os possíveis status incluem:
Status
Descrição
PENDING
A ordem foi criada e aguarda pagamento
COMPLETED
O pagamento foi recebido e confirmado
CANCELLED
A ordem foi cancelada
FAILED
O pagamento falhou
REFUND
O pagamento foi reembolsado
Recomendações de uso
É recomendado consultar o status da ordem periodicamente quando:
Um usuário inicia um pagamento
Você precisa verificar manualmente o status de uma ordem
Após receber uma notificação de atualização de status
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CryptoUse","colors":{"primary":"#0055FF","light":"#4D9CFF","dark":"#0046CC"},"logo":{"light":"https://mintcdn.com/cryptouse-d1f5ba06/1uno17SLpzDE3OTl/images/cryptologo.png?fit=max\u0026auto=format\u0026n=1uno17SLpzDE3OTl\u0026q=85\u0026s=c993a5be01072c57e9394e9d7efe0cb4","dark":"https://mintcdn.com/cryptouse-d1f5ba06/1uno17SLpzDE3OTl/images/cryptologo.png?fit=max\u0026auto=format\u0026n=1uno17SLpzDE3OTl\u0026q=85\u0026s=c993a5be01072c57e9394e9d7efe0cb4"},"favicon":"/favicon.svg","navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cryptouse-d1f5ba06","hasAudioNarration":false,"actualSubdomain":"cryptouse-d1f5ba06","customDomains":[],"gitSource":{"type":"github","owner":"crypto-use","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae928c3b930d402529f840a:success","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Onchain","count":4},{"language":"default","tag":"PIX","count":4},{"language":"default","tag":"Introdução","count":4},{"language":"default","tag":"Crypto PIX","count":3},{"language":"default","tag":"Account","count":2},{"language":"default","tag":"Binance","count":2},{"language":"default","tag":"Lightning","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/order/get-order","slug":"/api-reference/endpoint/order/get-order","pageMetadata":{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","description":"Obtenha detalhes de uma ordem de pagamento","href":"/api-reference/endpoint/order/get-order"},"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: \"Obtenha detalhes de uma ordem de pagamento\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`consultar-detalhes-da-ordem`,children:`Consultar detalhes da ordem`}),`\n`,_jsx(_components.p,{children:`Este endpoint retorna informações detalhadas sobre uma ordem de pagamento específica usando seu ID de link de pagamento.`}),`\n`,_jsx(Heading,{level:`3`,id:`parâmetros-de-caminho`,children:`Parâmetros de caminho`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`ID do link de pagamento ou identificador de pagamento`})}),`\n`,_jsx(Heading,{level:`3`,id:`exemplo-de-requisição`,children:`Exemplo de requisição`}),`\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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -X GET `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://server.cryptouse.com.br/api/v1/order/98e56f6d-b600-48d2-a251-8c7b206958b2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer seu_token_aqui\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`resposta`,children:`Resposta`}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Mensagem de sucesso`})}),`\n`,_jsx(ResponseField,{name:`order`,type:`object`,id:`param-order`,children:_jsxs(Expandable,{title:`Propriedades`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`ID da ordem`})}),_jsx(ResponseField,{name:`paymentLinkId`,type:`string`,id:`param-payment-link-id`,children:_jsx(_components.p,{children:`Identificador único do link de pagamento`})}),_jsx(ResponseField,{name:`value`,type:`number`,id:`param-value`,children:_jsx(_components.p,{children:`Valor do pagamento em BRL`})}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`Status da ordem`}),_jsxs(_components.p,{children:[`Valores possíveis: `,_jsx(_components.code,{children:`PENDING`}),`, `,_jsx(_components.code,{children:`COMPLETED`}),`, `,_jsx(_components.code,{children:`CANCELLED`}),`, `,_jsx(_components.code,{children:`FAILED`}),`, `,_jsx(_components.code,{children:`REFUND`})]})]}),_jsx(ResponseField,{name:`createdAt`,type:`string`,format:`date-time`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp de criação da ordem`})}),_jsx(ResponseField,{name:`brcode`,type:`string`,id:`param-brcode`,children:_jsx(_components.p,{children:`Código BR do PIX (apenas para ordens PIX)`})}),_jsx(ResponseField,{name:`qrCodeLink`,type:`string`,id:`param-qr-code-link`,children:_jsx(_components.p,{children:`URL do QR code (apenas para ordens Binance)`})}),_jsx(ResponseField,{name:`invoice`,type:`string`,id:`param-invoice`,children:_jsx(_components.p,{children:`Fatura Lightning (apenas para ordens Lightning)`})}),_jsx(ResponseField,{name:`link`,type:`string`,id:`param-link`,children:_jsx(_components.p,{children:`URL de pagamento para o usuário`})})]})}),`\n`,_jsx(ResponseField,{name:`openNodeDetails`,type:`object`,id:`param-open-node-details`,children:_jsxs(Expandable,{title:`Propriedades (apenas para ordens Lightning)`,children:[_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Indica se a consulta ao OpenNode foi bem-sucedida`})}),_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Dados do OpenNode`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`ID da fatura no OpenNode`})}),_jsx(ResponseField,{name:`name`,type:`string`,nullable:true,id:`param-name`,children:_jsx(_components.p,{children:`Nome da fatura`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsx(_components.p,{children:`Status da fatura no OpenNode`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Moeda da fatura`})}),_jsx(ResponseField,{name:`created_at`,type:`number`,id:`param-created-at-1`,children:_jsx(_components.p,{children:`Timestamp de criação da fatura`})}),_jsx(ResponseField,{name:`fee`,type:`number`,id:`param-fee`,children:_jsx(_components.p,{children:`Taxa da fatura`})}),_jsx(ResponseField,{name:`notes`,type:`string`,id:`param-notes`,children:_jsx(_components.p,{children:`Notas da fatura`})}),_jsx(ResponseField,{name:`address`,type:`string`,id:`param-address`,children:_jsx(_components.p,{children:`Endereço da carteira`})}),_jsx(ResponseField,{name:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Metadados da fatura`})}),_jsx(ResponseField,{name:`fiat_value`,type:`number`,id:`param-fiat-value`,children:_jsx(_components.p,{children:`Valor em fiat (BRL)`})}),_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount`,children:_jsx(_components.p,{children:`Valor em satoshis`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Descrição da fatura`})}),_jsx(ResponseField,{name:`auto_settle`,type:`boolean`,id:`param-auto-settle`,children:_jsx(_components.p,{children:`Indica se a fatura é liquidada automaticamente`})}),_jsx(ResponseField,{name:`transactions`,type:`array`,id:`param-transactions`,children:_jsx(_components.p,{children:`Array de transações`})})]})})]})}),`\n`,_jsx(Heading,{level:`3`,id:`exemplo-de-resposta`,children:`Exemplo de resposta`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Sucesso - Ordem Lightning (200)`,numberOfLines:`31`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order retrieved successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"688a5e459b11ce1a1a85e32a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentLinkId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"98e56f6d-b600-48d2-a251-8c7b206958b2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PENDING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-30T18:02:45.965Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Inbc75800n1p5g5hj9pp58x8fx94hdc19zzpn3ecxc349mkje27v738a981ztczeqq2y0cmvsdquf9h8vmmfvdjjqsmj09c8gmm4wdjscqzysxqzjhsp54qv2q6at8hges7cvsjtzhqfucdjqelhe5e184a4a3hn14sdcy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cryptouse.com.br/order/lightning/98e56f6d-b600-48d2-a251-8c7b206958b2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openNodeDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fc1fb9a8-93c9-4a96-ba50-e9802e21bdbb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unpaid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BRL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1753898565`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`75`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"356w6JpBDS1YmnNxjmMcwhwAUxCZVJkLiQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fiat_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7580`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invoice Cryptouse\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"auto_settle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Sucesso - Ordem PIX (200)`,numberOfLines:`11`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order retrieved successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"688a60439b11ce1a1a85e450\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"paymentLinkId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"d3d7bafe-2040-4f74-bddb-34823c6edcae\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PENDING\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-30T18:11:15.1512\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cryptouse.com.br/order/d3d7bafe-2040-4f74-bddb-34823c6edcae\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Ordem não encontrada (404)`,numberOfLines:`4`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`tipos-de-ordem`,children:`Tipos de ordem`}),`\n`,_jsx(_components.p,{children:`Este endpoint funciona para todos os tipos de ordem suportados:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ordens PIX`}),`: Contém o campo `,_jsx(_components.code,{children:`brcode`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ordens Binance`}),`: Contém o campo `,_jsx(_components.code,{children:`qrCodeLink`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ordens Lightning`}),`: Contém o campo `,_jsx(_components.code,{children:`invoice`}),` e `,_jsx(_components.code,{children:`openNodeDetails`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`O tipo de ordem é determinado automaticamente com base no ID fornecido.`}),`\n`,_jsx(Heading,{level:`2`,id:`status-da-ordem`,children:`Status da ordem`}),`\n`,_jsx(_components.p,{children:`A consulta de status é útil para verificar se um pagamento foi recebido. Os possíveis status incluem:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PENDING`})}),_jsx(_components.td,{children:`A ordem foi criada e aguarda pagamento`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`COMPLETED`})}),_jsx(_components.td,{children:`O pagamento foi recebido e confirmado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CANCELLED`})}),_jsx(_components.td,{children:`A ordem foi cancelada`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FAILED`})}),_jsx(_components.td,{children:`O pagamento falhou`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`REFUND`})}),_jsx(_components.td,{children:`O pagamento foi reembolsado`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`recomendações-de-uso`,children:`Recomendações de uso`}),`\n`,_jsx(_components.p,{children:`É recomendado consultar o status da ordem periodicamente quando:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Um usuário inicia um pagamento`}),`\n`,_jsx(_components.li,{children:`Você precisa verificar manualmente o status de uma ordem`}),`\n`,_jsx(_components.li,{children:`Após receber uma notificação de atualização de status`}),`\n`]})]})}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":{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","description":"Obtenha detalhes de uma ordem de pagamento","href":"/api-reference/endpoint/order/get-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Consultar detalhes da ordem","slug":"consultar-detalhes-da-ordem","depth":2,"children":[{"title":"Parâmetros de caminho","slug":"parâmetros-de-caminho","depth":3,"children":[]},{"title":"Exemplo de requisição","slug":"exemplo-de-requisição","depth":3,"children":[]},{"title":"Resposta","slug":"resposta","depth":3,"children":[]},{"title":"Exemplo de resposta","slug":"exemplo-de-resposta","depth":3,"children":[]}]},{"title":"Tipos de ordem","slug":"tipos-de-ordem","depth":2,"children":[]},{"title":"Status da ordem","slug":"status-da-ordem","depth":2,"children":[]},{"title":"Recomendações de uso","slug":"recomendações-de-uso","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Consultar Ordem","path":"/api/v1/order/{id}","method":"get","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"ID do link de pagamento ou identificador de pagamento","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"string","description":"Mensagem de sucesso"}],"order":[{"type":"object","properties":{"id":[{"type":"string","description":"ID da ordem"}],"paymentLinkId":[{"type":"string","description":"Identificador único do link de pagamento"}],"value":[{"type":"number","description":"Valor do pagamento em BRL"}],"status":[{"type":"string","description":"Status da ordem Valores possíveis: `PENDING` , `COMPLETED` , `CANCELLED` , `FAILED` , `REFUND`"}],"createdAt":[{"type":"string","description":"Timestamp de criação da ordem"}],"brcode":[{"type":"string","description":"Código BR do PIX (apenas para ordens PIX)"}],"qrCodeLink":[{"type":"string","description":"URL do QR code (apenas para ordens Binance)"}],"invoice":[{"type":"string","description":"Fatura Lightning (apenas para ordens Lightning)"}],"link":[{"type":"string","description":"URL de pagamento para o usuário"}]}}],"openNodeDetails":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Indica se a consulta ao OpenNode foi bem-sucedida"}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"ID da fatura no OpenNode"}],"name":[{"type":"string","description":"Nome da fatura"}],"status":[{"type":"string","description":"Status da fatura no OpenNode"}],"currency":[{"type":"string","description":"Moeda da fatura"}],"created_at":[{"type":"number","description":"Timestamp de criação da fatura"}],"fee":[{"type":"number","description":"Taxa da fatura"}],"notes":[{"type":"string","description":"Notas da fatura"}],"address":[{"type":"string","description":"Endereço da carteira"}],"metadata":[{"type":"object","properties":{},"description":"Metadados da fatura"}],"fiat_value":[{"type":"number","description":"Valor em fiat (BRL)"}],"amount":[{"type":"number","description":"Valor em satoshis"}],"description":[{"type":"string","description":"Descrição da fatura"}],"auto_settle":[{"type":"boolean","description":"Indica se a fatura é liquidada automaticamente"}],"transactions":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array de transações"}]}}]}}]}}],"examples":{"example":{"value":{"message":"\u003cstring>","order":{"id":"\u003cstring>","paymentLinkId":"\u003cstring>","value":123,"status":"\u003cstring>","createdAt":"\u003cstring>","brcode":"\u003cstring>","qrCodeLink":"\u003cstring>","invoice":"\u003cstring>","link":"\u003cstring>"},"openNodeDetails":{"success":true,"data":{"id":"\u003cstring>","name":"\u003cstring>","status":"\u003cstring>","currency":"\u003cstring>","created_at":123,"fee":123,"notes":"\u003cstring>","address":"\u003cstring>","metadata":{},"fiat_value":123,"amount":123,"description":"\u003cstring>","auto_settle":true,"transactions":[{}]}}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/cryptouse-d1f5ba06/3f87c36a09a866ab/public/config.js"],"subdomain":"cryptouse-d1f5ba06","siteName":"CryptoUse","title":"Consultar Ordem - CryptoUse","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T08:48:44.167Z","originalFileLocation":"api-reference/endpoint/order/get-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Obtenha detalhes de uma ordem de pagamento\">\u003cmeta data-mint-head name=\"application-name\" content=\"CryptoUse\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Consultar Ordem - CryptoUse\">\u003cmeta data-mint-head property=\"og:description\" content=\"Obtenha detalhes de uma ordem de pagamento\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CryptoUse\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cryptouse-d1f5ba06.mintlify.site/_mintlify/api/og/v2?division=Binance\u0026amp;title=Consultar+Ordem\u0026amp;description=Obtenha+detalhes+de+uma+ordem+de+pagamento\u0026amp;theme=ee1a6cc6821915b5abb7830c\u0026amp;signature=462c3ece0a9de7dcad79d71c2dd75f3eab69b109f097ae05c272ba7adc2172d9\">\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=\"Consultar Ordem - CryptoUse\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Obtenha detalhes de uma ordem de pagamento\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cryptouse-d1f5ba06.mintlify.site/_mintlify/api/og/v2?division=Binance\u0026amp;title=Consultar+Ordem\u0026amp;description=Obtenha+detalhes+de+uma+ordem+de+pagamento\u0026amp;theme=ee1a6cc6821915b5abb7830c\u0026amp;signature=462c3ece0a9de7dcad79d71c2dd75f3eab69b109f097ae05c272ba7adc2172d9\">\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/cryptouse-d1f5ba06/-VWHklPllt7FG-6N/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CryptoUse\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0055FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/order/get-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/#organization\",\"name\":\"CryptoUse\",\"url\":\"https://cryptouse-d1f5ba06.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cryptouse-d1f5ba06/1uno17SLpzDE3OTl/images/cryptologo.png?fit=max\u0026auto=format\u0026n=1uno17SLpzDE3OTl\u0026q=85\u0026s=c993a5be01072c57e9394e9d7efe0cb4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app#website\",\"name\":\"CryptoUse\",\"url\":\"https://cryptouse-d1f5ba06.mintlify.app\",\"publisher\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order#webpage\",\"url\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order\",\"name\":\"Consultar Ordem\",\"description\":\"Obtenha detalhes de uma ordem de pagamento\",\"dateModified\":\"2026-01-07T08:48:44.167Z\",\"isPartOf\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Binance\",\"item\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/index-binance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Consultar Ordem\",\"item\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order#apireference\",\"headline\":\"Consultar Ordem\",\"name\":\"Consultar Ordem\",\"description\":\"Obtenha detalhes de uma ordem de pagamento\",\"url\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order\",\"mainEntityOfPage\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/api-reference/endpoint/order/get-order#webpage\"},\"dateModified\":\"2026-01-07T08:48:44.167Z\",\"publisher\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://cryptouse-d1f5ba06.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CryptoUse\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CryptoUse\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/order/get-order.md","siteName":"CryptoUse","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Introdução","pages":[{"title":"Comece aqui","href":""},{"title":"Autenticação","href":"/essentials/autenticacao"},{"title":"Webhooks","href":"/api-reference/webhooks/overview"},{"title":"Indo para produção","href":"/essentials/producao"}]},{"group":"Account","pages":[{"title":"Referência","href":"/api-reference/endpoint/account/index"},{"title":"Consultar Conta","api":"GET /api/v1/account","href":"/api-reference/endpoint/account/account-get"}]},{"group":"Onchain","pages":[{"title":"Referência","href":"/api-reference/endpoint/onchain/index"},{"title":"Criar Depósito","api":"POST /api/v1/onchain/deposit","href":"/api-reference/endpoint/onchain/deposit"},{"title":"Iniciar Saque","api":"POST /api/v1/onchain/withdraw/initiate","href":"/api-reference/endpoint/onchain/withdraw"},{"title":"Consultar Ordem Onchain","api":"GET /api/v1/onchain/order/{id}","href":"/api-reference/endpoint/onchain/order"}]},{"group":"Binance","pages":[{"title":"Referência","href":"/api-reference/endpoint/order/index-binance"},{"title":"Criar Ordem Binance","api":"POST /api/v1/order/create","description":"Crie uma nova ordem de pagamento Binance","href":"/api-reference/endpoint/order/create-binance"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"Lightning","pages":[{"title":"Referência","description":"Endpoints para pagamentos Lightning Network","href":"/api-reference/endpoint/order/index-lightning"},{"title":"Criar Ordem Lightning","api":"POST /api/v1/order/create/lightning","description":"Crie uma nova ordem de pagamento Lightning Network","href":"/api-reference/endpoint/order/create-lightning"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"PIX","pages":[{"title":"Referência","description":"Endpoints para pagamentos PIX","href":"/api-reference/endpoint/order/index-pix"},{"title":"Criar Ordem PIX","api":"POST /api/v1/order/create/pix","href":"/api-reference/endpoint/order/create-pix"},{"title":"Criar Saque PIX","api":"POST /api/v1/order/pix-out","description":"Crie uma solicitação de saque via PIX","href":"/api-reference/endpoint/order/create-pixout"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"Crypto PIX","pages":[{"title":"Referência","description":"Endpoints para conversão de criptomoedas para PIX","href":"/api-reference/endpoint/crypto-pix/index"},{"title":"Processar Pagamento PIX","api":"POST /api/v1/crypto-pix/onchain/pay","href":"/api-reference/endpoint/crypto-pix/pay"},{"title":"Consultar Ordem Crypto-PIX","api":"GET /api/v1/crypto-pix/order/{id}","href":"/api-reference/endpoint/crypto-pix/get-order"}]}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"title":"Consultar Conta","api":"GET /api/v1/account","href":"/api-reference/endpoint/account/account-get"}]},{"group":"Onchain","pages":[{"title":"Criar Depósito","api":"POST /api/v1/onchain/deposit","href":"/api-reference/endpoint/onchain/deposit"},{"title":"Iniciar Saque","api":"POST /api/v1/onchain/withdraw/initiate","href":"/api-reference/endpoint/onchain/withdraw"},{"title":"Consultar Ordem Onchain","api":"GET /api/v1/onchain/order/{id}","href":"/api-reference/endpoint/onchain/order"}]},{"group":"Binance","pages":[{"title":"Criar Ordem Binance","api":"POST /api/v1/order/create","description":"Crie uma nova ordem de pagamento Binance","href":"/api-reference/endpoint/order/create-binance"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"Lightning","pages":[{"title":"Criar Ordem Lightning","api":"POST /api/v1/order/create/lightning","description":"Crie uma nova ordem de pagamento Lightning Network","href":"/api-reference/endpoint/order/create-lightning"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"PIX","pages":[{"title":"Criar Ordem PIX","api":"POST /api/v1/order/create/pix","description":"Crie uma nova ordem de pagamento PIX","href":"/api-reference/endpoint/order/create-pix"},{"title":"Criar Saque PIX","api":"POST /api/v1/order/pix-out","description":"Crie uma solicitação de saque via PIX","href":"/api-reference/endpoint/order/create-pixout"},{"title":"Consultar Ordem","api":"GET /api/v1/order/{id}","href":"/api-reference/endpoint/order/get-order"}]},{"group":"Crypto PIX","pages":[{"title":"Processar Pagamento PIX","api":"POST /api/v1/crypto-pix/onchain/pay","description":"Converta criptomoeda e faça um pagamento PIX","href":"/api-reference/endpoint/crypto-pix/pay"},{"title":"Consultar Ordem Crypto-PIX","api":"GET /api/v1/crypto-pix/order/{id}","href":"/api-reference/endpoint/crypto-pix/get-order"}]}]}]},"basePath":"","title":"Consultar Ordem - CryptoUse","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BvKnMd7F.js","utils-BMt52org.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CGXZuDGO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dl57XWH2.js","snippetPresets-CWd8CxSk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BR-Wkc_D.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-YMmi08aZ.js","shallow-DBC1OB78.js","getApiPlaygroundDisplay-Be7mmEzP.js","CodeSnippet-B14o1TgQ.js","CodeSnippets-CJ2q3fTq.js","Page-Chgj7sZe.js","getPastedJson-DnpLXm8x.js","icon-BpkSFtdK.js","MethodPill-BO3zPf-g.js","DuplicateIcon-Bib3qwfw.js","createIcon-CY2noFo3.js","DynamicMarkdown-TAXIW2vN.js","SectionHeading-Dfs3Fmfw.js","axios-vUo_bRtp.js"]}