Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.
Llama a este endpoint para confirmar una orden desde tu lado. Lo que hace depende de orderType y, en las órdenes fiat_to_fiat, de direction (on_ramp u off_ramp), que es obligatorio para ese tipo:
orderType
direction
Efecto
Se acepta cuando
fiat_to_crypto
—
Marca la orden como pagada (status: 50) después de que enviaste el fiat.
La orden está en status: 40 y usa un método de pago manual. Si la orden muestra status: 31, primero sube los documentos requeridos.
crypto_to_fiat
—
Completa la orden (status: 60).
La orden está en status: 50.
fiat_to_fiat
on_ramp
Marca el tramo de on-ramp como pagado después de que enviaste el fiat.
La orden está en status: 41, usa un método de pago manual de on-ramp, no se ha confirmado antes y ya se subieron los documentos de soporte requeridos, si los hay.
fiat_to_fiat
off_ramp
Sin efecto; devuelve true.
Siempre.
Para fiat_to_crypto y crypto_to_fiat, la acción sigue el tipo real de la orden. Las órdenes con métodos de pago automáticos pasan a pagadas mediante la integración bancaria de VelaFi y no se pueden marcar como pagadas a través de este endpoint.
Endpoint
POST https://api.velafi.com/v2/order/confirm
Usa https://api-test.velafi.com/v2/order/confirm para pruebas en sandbox.
Encabezados de la solicitud
Encabezado
Valor
X-BH-TOKEN
Tu token de GET /v2/token/generate
Content-Type
application/json
Parámetros del cuerpo de la solicitud
integer
requerido
El ID numérico único de la orden que quieres confirmar.
string
requerido
El tipo de la orden. Debe ser fiat_to_crypto, crypto_to_fiat o fiat_to_fiat.
string
Obligatorio solo cuando orderType es fiat_to_fiat. Indica qué tramo confirmar: on_ramp u off_ramp.
Campos de la respuesta
integer
Código de estado de la respuesta. 200 indica éxito.
Las solicitudes que no cumplen las condiciones de la tabla anterior devuelven un error. Consulta el estado actual de la orden con GET /v2/order/detail antes de llamar a este endpoint.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"VelaFi","colors":{"primary":"#169f3f","light":"#040404","dark":"#88fa9b"},"logo":{"light":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f","dark":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/dark.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=9770c7da4d30cb382b253680e64870ed"},"favicon":{"light":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=cf3c616ff2233c52dc591e9975563199","dark":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon-dark.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=1371f9989873a608a201b7fbcfddb0c0"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript","java"]},"mdx":{"auth":{"method":"key","name":"X-BH-TOKEN"},"server":"https://api-test.velafi.com"}},"navbar":{"primary":{"type":"button","label":"Sign Up","href":"https://www.velafi.com/signup"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vela-fi","hasAudioNarration":false,"actualSubdomain":"vela-fi","customDomains":["docs.velafi.com"],"gitSource":{"type":"github","owner":"velafi-tech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afc2fe744ba07be7352e7c8","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"en","tag":"API Reference","count":70},{"language":"cn","tag":"API 参考","count":70},{"language":"es","tag":"Referencia de API","count":70},{"language":"en","tag":"Merchants","count":19},{"language":"cn","tag":"商户","count":19},{"language":"es","tag":"Comercios","count":19},{"language":"en","tag":"Documentation","count":16},{"language":"cn","tag":"文档","count":16},{"language":"es","tag":"Documentación","count":16},{"language":"en","tag":"Get Started","count":15},{"language":"cn","tag":"快速入门","count":15},{"language":"es","tag":"Primeros pasos","count":15},{"language":"en","tag":"Configuration","count":11},{"language":"en","tag":"Webhooks","count":11},{"language":"cn","tag":"配置","count":11},{"language":"cn","tag":"Webhooks","count":11},{"language":"es","tag":"Configuración","count":11},{"language":"es","tag":"Webhooks","count":11},{"language":"en","tag":"Beneficiaries","count":9},{"language":"en","tag":"Guides","count":9},{"language":"cn","tag":"收款人","count":9},{"language":"cn","tag":"指南","count":9},{"language":"es","tag":"Beneficiarios","count":9},{"language":"es","tag":"Guías","count":9},{"language":"en","tag":"Crypto Wallet","count":7},{"language":"en","tag":"Orders","count":7},{"language":"cn","tag":"加密钱包","count":7},{"language":"cn","tag":"订单","count":7},{"language":"es","tag":"Billetera cripto","count":7},{"language":"es","tag":"Órdenes","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":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":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"es/api-reference/order/confirm-a-specific-order","slug":"/es/api-reference/order/confirm-a-specific-order","pageMetadata":{"title":"Confirmar una orden","sidebarTitle":"Confirmar orden","description":"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.","api":"POST /v2/order/confirm","href":"/es/api-reference/order/confirm-a-specific-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: \"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,ResponseField,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Llama a este endpoint para confirmar una orden desde tu lado. Lo que hace depende de `,_jsx(_components.code,{children:`orderType`}),` y, en las órdenes `,_jsx(_components.code,{children:`fiat_to_fiat`}),`, de `,_jsx(_components.code,{children:`direction`}),` (`,_jsx(_components.code,{children:`on_ramp`}),` u `,_jsx(_components.code,{children:`off_ramp`}),`), que es obligatorio para ese tipo:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`orderType`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`direction`})}),_jsx(_components.th,{children:`Efecto`}),_jsx(_components.th,{children:`Se acepta cuando`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fiat_to_crypto`})}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`Marca la orden como pagada (`,_jsx(_components.code,{children:`status: 50`}),`) después de que enviaste el fiat.`]}),_jsxs(_components.td,{children:[`La orden está en `,_jsx(_components.code,{children:`status: 40`}),` y usa un método de pago manual. Si la orden muestra `,_jsx(_components.code,{children:`status: 31`}),`, primero sube los documentos requeridos.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`crypto_to_fiat`})}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`Completa la orden (`,_jsx(_components.code,{children:`status: 60`}),`).`]}),_jsxs(_components.td,{children:[`La orden está en `,_jsx(_components.code,{children:`status: 50`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fiat_to_fiat`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`on_ramp`})}),_jsx(_components.td,{children:`Marca el tramo de on-ramp como pagado después de que enviaste el fiat.`}),_jsxs(_components.td,{children:[`La orden está en `,_jsx(_components.code,{children:`status: 41`}),`, usa un método de pago manual de on-ramp, no se ha confirmado antes y ya se subieron los documentos de soporte requeridos, si los hay.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fiat_to_fiat`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`off_ramp`})}),_jsxs(_components.td,{children:[`Sin efecto; devuelve `,_jsx(_components.code,{children:`true`}),`.`]}),_jsx(_components.td,{children:`Siempre.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Para `,_jsx(_components.code,{children:`fiat_to_crypto`}),` y `,_jsx(_components.code,{children:`crypto_to_fiat`}),`, la acción sigue el tipo real de la orden. Las órdenes con métodos de pago automáticos pasan a pagadas mediante la integración bancaria de VelaFi y no se pueden marcar como pagadas a través de este endpoint.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.velafi.com/v2/order/confirm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Usa `,_jsx(_components.code,{children:`https://api-test.velafi.com/v2/order/confirm`}),` para pruebas en sandbox.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`encabezados-de-la-solicitud`,children:`Encabezados de la solicitud`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Encabezado`}),_jsx(_components.th,{children:`Valor`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-BH-TOKEN`})}),_jsxs(_components.td,{children:[`Tu token de `,_jsx(_components.code,{children:`GET /v2/token/generate`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`parámetros-del-cuerpo-de-la-solicitud`,children:`Parámetros del cuerpo de la solicitud`}),`\n`,_jsx(ParamField,{body:`orderId`,type:`integer`,required:true,id:`param-order-id`,children:_jsx(_components.p,{children:`El ID numérico único de la orden que quieres confirmar.`})}),`\n`,_jsx(ParamField,{body:`orderType`,type:`string`,required:true,id:`param-order-type`,children:_jsxs(_components.p,{children:[`El tipo de la orden. Debe ser `,_jsx(_components.code,{children:`fiat_to_crypto`}),`, `,_jsx(_components.code,{children:`crypto_to_fiat`}),` o `,_jsx(_components.code,{children:`fiat_to_fiat`}),`.`]})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,id:`param-direction`,children:_jsxs(_components.p,{children:[`Obligatorio solo cuando `,_jsx(_components.code,{children:`orderType`}),` es `,_jsx(_components.code,{children:`fiat_to_fiat`}),`. Indica qué tramo confirmar: `,_jsx(_components.code,{children:`on_ramp`}),` u `,_jsx(_components.code,{children:`off_ramp`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`campos-de-la-respuesta`,children:`Campos de la respuesta`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsxs(_components.p,{children:[`Código de estado de la respuesta. `,_jsx(_components.code,{children:`200`}),` indica éxito.`]})}),`\n`,_jsx(ResponseField,{name:`msg`,type:`string`,id:`param-msg`,children:_jsx(_components.p,{children:`Mensaje de respuesta legible.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`boolean`,id:`param-data`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` si la orden se confirmó correctamente.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`ejemplos`,children:`Ejemplos`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Orden de cripto a fiat`,id:`orden-de-cripto-a-fiat`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.velafi.com/v2/order/confirm\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-BH-TOKEN: YOUR_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": 1123123123,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderType\": \"crypto_to_fiat\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"code\"`}),_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:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_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:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Tab,{title:`Orden de fiat a fiat (tramo de on-ramp)`,id:`orden-de-fiat-a-fiat-tramo-de-on-ramp`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.velafi.com/v2/order/confirm\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-BH-TOKEN: YOUR_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderId\": 493829236956962817,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"orderType\": \"fiat_to_fiat\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"direction\": \"on_ramp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"code\"`}),_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:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_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:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Las solicitudes que no cumplen las condiciones de la tabla anterior devuelven un error. Consulta el estado actual de la orden con `,_jsx(_components.code,{children:`GET /v2/order/detail`}),` antes de llamar a este endpoint.`]})})]})}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":"Confirmar una orden","sidebarTitle":"Confirmar orden","description":"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.","api":"POST /v2/order/confirm","href":"/es/api-reference/order/confirm-a-specific-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Encabezados de la solicitud","slug":"encabezados-de-la-solicitud","depth":2,"children":[]},{"title":"Parámetros del cuerpo de la solicitud","slug":"parámetros-del-cuerpo-de-la-solicitud","depth":2,"children":[]},{"title":"Campos de la respuesta","slug":"campos-de-la-respuesta","depth":2,"children":[]},{"title":"Ejemplos","slug":"ejemplos","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Confirmar una orden","path":"/v2/order/confirm","servers":[{"url":"https://api-test.velafi.com"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-BH-TOKEN":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"orderId":[{"type":"integer","description":"El ID numérico único de la orden que quieres confirmar.","required":true}],"orderType":[{"type":"string","description":"El tipo de la orden. Debe ser `fiat_to_crypto` , `crypto_to_fiat` o `fiat_to_fiat` .","required":true}],"direction":[{"type":"string","description":"Obligatorio solo cuando `orderType` es `fiat_to_fiat` . Indica qué tramo confirmar: `on_ramp` u `off_ramp` ."}]}}],"examples":{"example":{"value":{"orderId":123,"orderType":"\u003cstring>","direction":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"integer","description":"Código de estado de la respuesta. `200` indica éxito."}],"msg":[{"type":"string","description":"Mensaje de respuesta legible."}],"data":[{"type":"boolean","description":"`true` si la orden se confirmó correctamente."}]}}],"examples":{"example":{"value":{"code":123,"msg":"\u003cstring>","data":true}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"vela-fi","siteName":"VelaFi","title":"Confirmar una orden - VelaFi","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/order/confirm-a-specific-order","matchLevel":1},"cn":{"href":"/cn/api-reference/order/confirm-a-specific-order","matchLevel":1},"es":{"href":"/es/api-reference/order/confirm-a-specific-order","matchLevel":0}}},"lastModified":"2026-11-16T03:47:21.957Z","originalFileLocation":"es/api-reference/order/confirm-a-specific-order.mdx","locale":"es"},"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=\"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Confirmar una orden - VelaFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VelaFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=%C3%93rdenes\u0026amp;title=Confirmar+una+orden\u0026amp;description=Confirma+una+orden+desde+tu+lado%3A+marca+como+pagada+una+orden+con+pago+manual+o+completa+una+orden+de+off-ramp+ya+pagada.+El+efecto+depende+de+orderType.\u0026amp;theme=c02b8db54cdb46924844bdc9\u0026amp;signature=0ed07c80bd79cf7467275c6ce3720c997652209977d302bc441ae005862c4501\">\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=\"Confirmar una orden - VelaFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=%C3%93rdenes\u0026amp;title=Confirmar+una+orden\u0026amp;description=Confirma+una+orden+desde+tu+lado%3A+marca+como+pagada+una+orden+con+pago+manual+o+completa+una+orden+de+off-ramp+ya+pagada.+El+efecto+depende+de+orderType.\u0026amp;theme=c02b8db54cdb46924844bdc9\u0026amp;signature=0ed07c80bd79cf7467275c6ce3720c997652209977d302bc441ae005862c4501\">\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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169f3f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/es/api-reference/order/confirm-a-specific-order.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.velafi.com/api-reference/order/confirm-a-specific-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.velafi.com/cn/api-reference/order/confirm-a-specific-order\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.velafi.com/api-reference/order/confirm-a-specific-order\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.velafi.com/#organization\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.velafi.com#website\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order#webpage\",\"url\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\",\"name\":\"Confirmar una orden\",\"description\":\"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\",\"dateModified\":\"2026-11-16T03:47:21.957Z\",\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Órdenes\",\"item\":\"https://docs.velafi.com/es/api-reference/order/create-a-fiat-to-crypto-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Confirmar una orden\",\"item\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order#apireference\",\"headline\":\"Confirmar una orden\",\"name\":\"Confirmar una orden\",\"description\":\"Confirma una orden desde tu lado: marca como pagada una orden con pago manual o completa una orden de off-ramp ya pagada. El efecto depende de orderType.\",\"url\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.velafi.com/es/api-reference/order/confirm-a-specific-order#webpage\"},\"dateModified\":\"2026-11-16T03:47:21.957Z\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VelaFi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"VelaFi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/es/api-reference/order/confirm-a-specific-order.md","siteName":"VelaFi","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/api-reference/order/confirm-a-specific-order"}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/api-reference/order/confirm-a-specific-order"}]},{"language":"es","tabs":[{"tab":"Primeros pasos","pages":[{"title":"Primeros pasos","href":"/es"}]},{"tab":"Documentación","pages":[{"title":"Documentación","href":"/es/docs/merchants"}]},{"tab":"Referencia de API","groups":[{"group":"Descripción general","pages":[{"title":"Descripción general de la API","sidebarTitle":"Descripción general","href":"/es/api-reference/overview"},{"title":"Autenticación","sidebarTitle":"Autenticación","href":"/es/api-reference/authentication"},{"title":"Generar un token","sidebarTitle":"Generar token","api":"GET /v2/token/generate","playground":"none","href":"/es/api-reference/generate-token"}]},{"group":"Cuenta","pages":[{"title":"Obtener los detalles de la cuenta","sidebarTitle":"Detalles de la cuenta","api":"GET /v2/user/account","href":"/es/api-reference/account/get-account-details"}]},{"group":"Configuración","pages":[{"title":"URL base","sidebarTitle":"URL base","href":"/es/api-reference/basic-configuration/api-endpoint"},{"title":"Listar países","sidebarTitle":"Listar países","api":"GET /v2/base/countrys","href":"/es/api-reference/basic-configuration/get-list-of-countries"},{"title":"Listar monedas fiat","sidebarTitle":"Listar monedas fiat","api":"GET /v2/base/fiats","href":"/es/api-reference/basic-configuration/get-list-of-fiat-currencies"},{"title":"Listar criptomonedas","sidebarTitle":"Listar criptomonedas","api":"GET /v2/base/cryptos","href":"/es/api-reference/basic-configuration/get-list-of-crypto-currencies"},{"title":"Listar pares fiat→cripto","sidebarTitle":"Pares fiat/cripto","api":"GET /v2/base/buy/symbols","href":"/es/api-reference/basic-configuration/get-fiat-crypto-pairs"},{"title":"Listar pares cripto→fiat","sidebarTitle":"Pares cripto/fiat","api":"GET /v2/base/sell/symbols","href":"/es/api-reference/basic-configuration/get-crypto-fiat-pairs"},{"title":"Listar pares fiat→fiat","sidebarTitle":"Pares fiat/fiat","api":"GET /v2/base/fiat/symbols","href":"/es/api-reference/basic-configuration/get-fiat-fiat-pairs"},{"title":"Listar métodos de pago fiat→cripto","sidebarTitle":"Métodos fiat→cripto","api":"GET /v2/base/buy/payments","href":"/es/api-reference/basic-configuration/get-fiat-crypto-payment-methods"},{"title":"Listar métodos de pago cripto→fiat","sidebarTitle":"Métodos cripto→fiat","api":"GET /v2/base/sell/payments","href":"/es/api-reference/basic-configuration/get-crypto-fiat-payment-methods"},{"title":"Listar métodos de pago fiat→fiat","sidebarTitle":"Métodos fiat/fiat","api":"GET /v2/base/fiat/payments","href":"/es/api-reference/basic-configuration/get-fiat-fiat-payment-methods"},{"title":"Subir un archivo","sidebarTitle":"Subir archivo","api":"POST /v2/base/file/upload","href":"/es/api-reference/basic-configuration/upload-file"}]},{"group":"Comercios","pages":[{"title":"Crear un comercio","sidebarTitle":"Crear comercio","api":"POST /v2/merchants","href":"/es/api-reference/merchant/create-merchant"},{"title":"Listar comercios","sidebarTitle":"Listar comercios","api":"GET /v2/merchants","href":"/es/api-reference/merchant/get-a-list-of-merchants"},{"title":"Activar la cuenta de un comercio persona física","sidebarTitle":"Activar persona física","api":"POST /v2/merchant/accounts","href":"/es/api-reference/merchant/activate-merchant-account-for-individual"},{"title":"Activar la cuenta de un comercio empresa","sidebarTitle":"Activar empresa","api":"POST /v2/merchant/accounts","href":"/es/api-reference/merchant/activate-merchant-account-for-business"},{"title":"Crear cuentas virtuales","sidebarTitle":"Crear cuentas virtuales","api":"POST /v2/merchant/virtual/accounts","href":"/es/api-reference/merchant/create-multiple-virtual-account"},{"title":"Listar cuentas de comercio","sidebarTitle":"Cuentas del comercio","api":"GET /v2/merchant/accounts","href":"/es/api-reference/merchant/get-a-list-of-merchant-accounts"},{"title":"Solicitar un aumento de límite","sidebarTitle":"Aumentar límite","api":"POST /v2/upgrade/limits","href":"/es/api-reference/merchant/upgrade-merchant-limit"},{"title":"Obtener la cuenta Pending Fund","sidebarTitle":"Cuenta Pending Fund","api":"GET /v2/merchant/addfunds","href":"/es/api-reference/merchant/get-pending-fund-account"},{"title":"Listar cuentas virtuales","sidebarTitle":"Listar cuentas virtuales","api":"GET /v2/merchant/virtual/addfunds","href":"/es/api-reference/merchant/get-multiple-virtual-account"},{"title":"Reclamar fondos Pending Fund","sidebarTitle":"Reclamar fondos","api":"POST /v2/merchant/claimfunds","href":"/es/api-reference/merchant/claim-pending-fund"},{"title":"Obtener la comisión de transferencia","sidebarTitle":"Comisión de transferencia","api":"GET /v2/merchant/transfer_fee","href":"/es/api-reference/merchant/get-transfer-pending-funds-fee"},{"title":"Transferir fondos Pending Fund","sidebarTitle":"Transferir fondos","api":"POST /v2/merchant/transfer","href":"/es/api-reference/merchant/transfer-pending-funds"},{"title":"Listar registros de fondeo","sidebarTitle":"Registros de fondeo","api":"GET /v2/merchant/funding/records","href":"/es/api-reference/merchant/retrieve-funding-records"},{"title":"Listar flujos fiat","sidebarTitle":"Flujos fiat","api":"GET /v2/merchant/fiat/flows","href":"/es/api-reference/merchant/get-a-list-merchant-fiat-flow"},{"title":"Obtener el saldo cripto","sidebarTitle":"Saldo cripto","api":"GET /v2/assets/account/assets","href":"/es/api-reference/merchant/get-crypto-assets-balance"},{"title":"Obtener la dirección de depósito cripto","sidebarTitle":"Dirección de depósito","api":"GET /v2/assets/depositAddress","href":"/es/api-reference/merchant/get-crypto-deposit-address"},{"title":"Crear una transferencia cripto","sidebarTitle":"Transferencia cripto","api":"POST /v2/assets/internalTransfer","href":"/es/api-reference/merchant/crypto-transfer"},{"title":"Listar transferencias cripto","sidebarTitle":"Historial de transferencias cripto","api":"GET /v2/assets/internalTransferOrders","href":"/es/api-reference/merchant/query-crypto-transfers"},{"title":"Obtener la URL de prueba de vida de Woovi","sidebarTitle":"Prueba de vida Woovi","api":"POST /v2/merchant/woovi/liveness","href":"/es/api-reference/merchant/get-woovi-liveness-url"}]},{"group":"Billetera cripto","pages":[{"api":"GET /v2/assets/withdrawQuota","title":"Obtener la cuota de retiro","sidebarTitle":"Cuota de retiro","href":"/es/api-reference/crypto-wallet/get-withdrawal-quota"},{"api":"POST /v2/assets/withdraw","title":"Crear un retiro cripto","sidebarTitle":"Crear retiro cripto","href":"/es/api-reference/crypto-wallet/create-crypto-withdrawal"},{"api":"GET /v2/assets/depositOrders","title":"Listar depósitos cripto","sidebarTitle":"Historial de depósitos cripto","href":"/es/api-reference/crypto-wallet/get-crypto-deposit-history"},{"api":"GET /v2/assets/withdrawalOrders","title":"Listar retiros cripto","sidebarTitle":"Historial de retiros cripto","href":"/es/api-reference/crypto-wallet/get-crypto-withdrawal-history"},{"api":"POST /v2/user/whitelistAddress","title":"Agregar una dirección a la lista blanca","sidebarTitle":"Agregar dirección","href":"/es/api-reference/crypto-wallet/add-whitelist-address"},{"api":"GET /v2/user/whitelistAddress","title":"Listar direcciones de la lista blanca","sidebarTitle":"Listar direcciones","href":"/es/api-reference/crypto-wallet/get-whitelist-addresses"},{"api":"DELETE /v2/user/whitelistAddress/{addressId}","title":"Eliminar una dirección de la lista blanca","sidebarTitle":"Eliminar dirección","href":"/es/api-reference/crypto-wallet/delete-whitelist-address"}]},{"group":"Beneficiarios","pages":[{"api":"GET /v2/payments/support/templates","title":"Listar métodos de pago compatibles","sidebarTitle":"Métodos de pago compatibles","href":"/es/api-reference/beneficiary/get-supported-payment-methods"},{"title":"Obtener plantillas de métodos de pago","sidebarTitle":"Plantillas de pago","api":"GET /v2/payments/templates","href":"/es/api-reference/beneficiary/get-payment-templates"},{"title":"Obtener metadatos de plantillas","sidebarTitle":"Metadatos de plantillas","api":"GET /v2/payments/templates/metamessage","href":"/es/api-reference/beneficiary/get-payment-templates-metamessage"},{"title":"Agregar un beneficiario","sidebarTitle":"Agregar beneficiario","api":"POST /v2/payments","href":"/es/api-reference/beneficiary/add-beneficiary"},{"title":"Listar beneficiarios","sidebarTitle":"Listar beneficiarios","api":"GET /v2/payments","href":"/es/api-reference/beneficiary/get-beneficiary"},{"title":"Eliminar un beneficiario","sidebarTitle":"Eliminar beneficiario","href":"/es/api-reference/beneficiary/delete-beneficiary"},{"title":"Configurar la cuenta de reembolso","sidebarTitle":"Cuenta de reembolso","api":"POST /v2/payments/refund_account","href":"/es/api-reference/beneficiary/set-refund-account"},{"api":"GET /v2/merchant/check/alias","title":"Consultar un alias (ARS)","sidebarTitle":"Consultar alias (ARS)","href":"/es/api-reference/beneficiary/check-alias"},{"api":"GET /v2/merchant/check/cvu","title":"Consultar un CVU/CBU (ARS)","sidebarTitle":"Consultar CVU (ARS)","href":"/es/api-reference/beneficiary/check-cvu"}]},{"group":"Cotizaciones","pages":[{"title":"Obtener una cotización cripto/fiat","sidebarTitle":"Cotización cripto/fiat","api":"GET /v2/user/crypto-quote","href":"/es/api-reference/quote/get-user-quote-for-crypto-fiat"},{"title":"Obtener una cotización fiat/fiat","sidebarTitle":"Cotización fiat/fiat","api":"GET /v2/user/fiat-quote","href":"/es/api-reference/quote/get-user-quote-for-fiat-fiat"}]},{"group":"Órdenes","pages":[{"title":"Crear una orden de on-ramp","sidebarTitle":"Orden fiat→cripto","api":"POST /v2/order/fiat_to_crypto","href":"/es/api-reference/order/create-a-fiat-to-crypto-order"},{"title":"Crear una orden de off-ramp","sidebarTitle":"Orden cripto→fiat","api":"POST /v2/order/crypto_to_fiat","href":"/es/api-reference/order/create-a-crypto-to-fiat-order"},{"title":"Crear una orden de pago global","sidebarTitle":"Orden fiat→fiat","description":"Crea una orden de pago global de fiat a fiat. Los fondos se cobran en la moneda fiat de un país y se pagan en la de otro mediante rieles de stablecoins.","api":"POST /v2/order/fiat_to_fiat","href":"/es/api-reference/order/create-a-fiat-to-fiat-order"},{"title":"Confirmar una orden","sidebarTitle":"Confirmar orden","api":"POST /v2/order/confirm","href":"/es/api-reference/order/confirm-a-specific-order"},{"title":"Obtener una orden","sidebarTitle":"Obtener orden","description":"Obtén el detalle completo y el estado actual de una orden por su ID. Admite órdenes de tipo fiat a cripto, cripto a fiat y fiat a fiat.","api":"GET /v2/order/detail","href":"/es/api-reference/order/retrieve-a-specific-order"},{"title":"Listar órdenes","sidebarTitle":"Listar órdenes","api":"GET /v2/orders","href":"/es/api-reference/order/retrieve-a-list-of-orders"},{"title":"Subir documentos de una orden","sidebarTitle":"Subir documentos","api":"POST /v2/order/invoice","href":"/es/api-reference/order/upload-invoice-documents-for-a-specific-order"}]},{"group":"Webhooks","pages":[{"title":"Configuración de webhooks","sidebarTitle":"Configuración de webhooks","href":"/es/api-reference/webhooks/webhook-setup"},{"title":"Crear un webhook","sidebarTitle":"Crear webhook","api":"POST /v2/webhook","href":"/es/api-reference/webhooks/create-webhook-endpoints"},{"title":"Listar webhooks","sidebarTitle":"Listar webhooks","api":"GET /v2/webhooks","href":"/es/api-reference/webhooks/get-webhook-endpoints"},{"title":"Actualizar un webhook","sidebarTitle":"Actualizar webhook","href":"/es/api-reference/webhooks/update-a-webhook"},{"title":"Eliminar un webhook","sidebarTitle":"Eliminar webhook","href":"/es/api-reference/webhooks/delete-a-webhook"},{"title":"Evento de orden","sidebarTitle":"Evento de orden","href":"/es/api-reference/webhooks/fiat-crypto-order-message-push"},{"title":"Evento de pago global","sidebarTitle":"Evento de pago global","href":"/es/api-reference/webhooks/fiat-fiat-order-message-push"},{"title":"Evento de fondeo","sidebarTitle":"Evento de fondeo","href":"/es/api-reference/webhooks/funding-records-message-push"},{"title":"Evento de pago con stablecoin","sidebarTitle":"Evento de pago con stablecoin","href":"/es/api-reference/webhooks/stablecoin-payment-order-message-push"},{"title":"Evento de retiro de on-ramp","sidebarTitle":"Evento de retiro de on-ramp","href":"/es/api-reference/webhooks/on-ramp-withdraw-message-push"},{"title":"Evento de retiro cripto","sidebarTitle":"Evento de retiro cripto","href":"/es/api-reference/webhooks/crypto-withdraw-message-push"}]}]},{"tab":"Herramientas","pages":[{"title":"Herramientas","href":"/es/docs/developer-tools/build-with-ai"}]},{"tab":"Registro de cambios","pages":[{"title":"Registro de cambios","href":"/es/docs/changelog"}]}]}]},"basePath":"","title":"Confirmar una orden - VelaFi","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C7x-eUfk.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js"]}