{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AgentWallex","colors":{"primary":"#D97757","light":"#C4684A","dark":"#E8956E"},"logo":{"light":"https://mintcdn.com/agentwallexltd/DvuM_yFh9V5c03bp/images/logo-light.svg?fit=max\u0026auto=format\u0026n=DvuM_yFh9V5c03bp\u0026q=85\u0026s=5e61ca1c764d32d5481ddb26883cfccb","dark":"https://mintcdn.com/agentwallexltd/DvuM_yFh9V5c03bp/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=DvuM_yFh9V5c03bp\u0026q=85\u0026s=6dfa03d3b9c851b44d9c66f70641c76b","href":"https://agentwallex.com"},"favicon":"/images/favicon.png","navbar":{"links":[{"href":"https://agentwallex.com","label":"Website"},{"href":"https://app.agentwallex.com","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.agentwallex.com"}},"search":{"prompt":"Search documentation..."},"seo":{},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction/overview"},{"language":"zh","href":"zh/introduction/overview"},{"language":"zh-Hant","href":"zh-Hant/introduction/overview"},{"language":"ja","href":"ja/introduction/overview"},{"language":"ko","href":"ko/introduction/overview"},{"language":"vi","href":"vi/introduction/overview"},{"language":"es","href":"es/introduction/overview"},{"language":"fr","href":"fr/introduction/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agentwallexltd","hasAudioNarration":false,"actualSubdomain":"agentwallexltd","customDomains":["docs.agentwallex.com"],"gitSource":{"type":"github","owner":"agentwallex","repo":"agentwallex-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21dbea5ff9f1e2c50cf353","collectionId":"c14fea84-bbc1-4a5d-b86c-6132ebcd738a","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae94a7ca9cd2a01522732a7:success","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"en","tag":"API Reference","count":24},{"language":"es","tag":"Referencia API","count":24},{"language":"fr","tag":"Référence API","count":24},{"language":"ja","tag":"API リファレンス","count":24},{"language":"ko","tag":"API 레퍼런스","count":24},{"language":"vi","tag":"Tham chiếu API","count":24},{"language":"zh-Hant","tag":"API 參考","count":24},{"language":"zh","tag":"API 参考","count":24},{"language":"en","tag":"Documentation","count":15},{"language":"es","tag":"Documentación","count":15},{"language":"fr","tag":"Documentation","count":15},{"language":"ja","tag":"ドキュメント","count":15},{"language":"ko","tag":"문서","count":15},{"language":"vi","tag":"Tài liệu","count":15},{"language":"zh-Hant","tag":"文件","count":15},{"language":"zh","tag":"文档","count":15},{"language":"en","tag":"Webhooks","count":6},{"language":"en","tag":"x402","count":6},{"language":"es","tag":"Webhooks","count":6},{"language":"es","tag":"x402","count":6},{"language":"fr","tag":"Webhooks","count":6},{"language":"fr","tag":"x402","count":6},{"language":"ja","tag":"Webhook","count":6},{"language":"ja","tag":"x402","count":6},{"language":"ko","tag":"Webhook","count":6},{"language":"ko","tag":"x402","count":6},{"language":"vi","tag":"Webhook","count":6},{"language":"vi","tag":"x402","count":6},{"language":"zh-Hant","tag":"Webhook","count":6},{"language":"zh-Hant","tag":"x402","count":6},{"language":"zh","tag":"Webhook","count":6},{"language":"zh","tag":"x402","count":6},{"language":"en","tag":"Policies","count":5},{"language":"en","tag":"Getting Started","count":5},{"language":"es","tag":"Políticas","count":5},{"language":"es","tag":"Primeros Pasos","count":5},{"language":"fr","tag":"Politiques","count":5},{"language":"fr","tag":"Démarrage","count":5},{"language":"ja","tag":"ポリシー","count":5},{"language":"ja","tag":"はじめに","count":5},{"language":"ko","tag":"정책","count":5},{"language":"ko","tag":"시작하기","count":5},{"language":"vi","tag":"Chính sách","count":5},{"language":"vi","tag":"Bắt đầu","count":5},{"language":"zh-Hant","tag":"策略","count":5},{"language":"zh-Hant","tag":"快速入門","count":5},{"language":"zh","tag":"策略","count":5},{"language":"zh","tag":"快速入门","count":5},{"language":"en","tag":"Core Features","count":4},{"language":"es","tag":"Características Principales","count":4},{"language":"fr","tag":"Fonctionnalités","count":4},{"language":"ja","tag":"コア機能","count":4},{"language":"ko","tag":"핵심 기능","count":4},{"language":"vi","tag":"Tính năng cốt lõi","count":4},{"language":"zh-Hant","tag":"核心功能","count":4},{"language":"zh","tag":"核心功能","count":4},{"language":"en","tag":"Agents","count":3},{"language":"en","tag":"Transactions","count":3},{"language":"en","tag":"Guides","count":3},{"language":"es","tag":"Agentes","count":3},{"language":"es","tag":"Transacciones","count":3},{"language":"es","tag":"Guías","count":3},{"language":"fr","tag":"Agents","count":3},{"language":"fr","tag":"Transactions","count":3},{"language":"fr","tag":"Guides","count":3},{"language":"ja","tag":"エージェント","count":3},{"language":"ja","tag":"トランザクション","count":3},{"language":"ja","tag":"ガイド","count":3},{"language":"ko","tag":"에이전트","count":3},{"language":"ko","tag":"트랜잭션","count":3},{"language":"ko","tag":"가이드","count":3},{"language":"vi","tag":"Agent","count":3},{"language":"vi","tag":"Giao dịch","count":3},{"language":"vi","tag":"Hướng dẫn","count":3},{"language":"zh-Hant","tag":"代理","count":3},{"language":"zh-Hant","tag":"交易","count":3},{"language":"zh-Hant","tag":"使用指南","count":3},{"language":"zh","tag":"代理","count":3},{"language":"zh","tag":"交易","count":3},{"language":"zh","tag":"使用指南","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"vi/api-reference/transactions-create","slug":"/vi/api-reference/transactions-create","pageMetadata":{"title":"Tạo Giao dịch","description":"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.","openapi":"POST /api/v1/transactions","href":"/vi/api-reference/transactions-create"},"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: \"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\"\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`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField}=_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);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Gửi giao dịch mới thông qua ví tác nhân. Giao dịch đi qua công cụ chính sách để xác thực, sau đó được ký qua MPC và phát sóng lên blockchain.`}),`\n`,_jsx(Heading,{level:`2`,id:`nội-dung-yêu-cầu`,children:`Nội dung Yêu cầu`}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsx(_components.p,{children:`Tác nhân có ví sẽ gửi giao dịch.`})}),`\n`,_jsx(ParamField,{body:`direction`,type:`string`,required:true,id:`param-direction`,children:_jsxs(_components.p,{children:[`Hướng giao dịch. Hiện chỉ hỗ trợ `,_jsx(_components.code,{children:`outbound`}),`.`]})}),`\n`,_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type`,children:_jsxs(_components.p,{children:[`Loại giao dịch. Giá trị: `,_jsx(_components.code,{children:`transfer`}),`.`]})}),`\n`,_jsx(ParamField,{body:`from_address`,type:`string`,id:`param-from-address`,children:_jsx(_components.p,{children:`Địa chỉ người gửi. Nếu bỏ qua, địa chỉ ví tác nhân được sử dụng.`})}),`\n`,_jsx(ParamField,{body:`to_address`,type:`string`,required:true,id:`param-to-address`,children:_jsx(_components.p,{children:`Địa chỉ on-chain người nhận.`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`string`,required:true,id:`param-amount`,children:_jsxs(_components.p,{children:[`Số tiền gửi dưới dạng chuỗi thập phân (ví dụ: `,_jsx(_components.code,{children:`\"10.5\"`}),`).`]})}),`\n`,_jsx(ParamField,{body:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`Ký hiệu token (ví dụ: `,_jsx(_components.code,{children:`USDC`}),`, `,_jsx(_components.code,{children:`USDT`}),`, `,_jsx(_components.code,{children:`ETH`}),`).`]})}),`\n`,_jsx(ParamField,{body:`chain`,type:`string`,required:true,id:`param-chain`,children:_jsxs(_components.p,{children:[`Định danh chuỗi CAIP-2 (ví dụ: `,_jsx(_components.code,{children:`eip155:84532`}),`).`]})}),`\n`,_jsx(ParamField,{body:`memo`,type:`string`,id:`param-memo`,children:_jsx(_components.p,{children:`Ghi chú hoặc chuỗi tham chiếu tùy chọn.`})}),`\n`,_jsx(Heading,{level:`2`,id:`phản-hồi`,children:`Phản hồi`}),`\n`,_jsxs(Expandable,{title:`Các trường phản hồi`,children:[_jsx(ParamField,{body:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Định danh giao dịch duy nhất.`})}),_jsx(ParamField,{body:`hash`,type:`string`,id:`param-hash`,children:_jsx(_components.p,{children:`Hash giao dịch on-chain (có sẵn sau khi phát sóng).`})}),_jsx(ParamField,{body:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Trạng thái giao dịch: `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`confirmed`}),`, `,_jsx(_components.code,{children:`failed`}),`.`]})}),_jsx(ParamField,{body:`amount`,type:`string`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Số tiền đã gửi.`})}),_jsx(ParamField,{body:`token`,type:`string`,id:`param-token-1`,children:_jsx(_components.p,{children:`Ký hiệu token.`})}),_jsx(ParamField,{body:`fee`,type:`string`,id:`param-fee`,children:_jsx(_components.p,{children:`Phí gas mạng đã trả.`})}),_jsx(ParamField,{body:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Dấu thời gian ISO 8601.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`ví-dụ`,children:`Ví dụ`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`13`,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:`13`,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.agentwallex.com/api/v1/transactions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: awx_your_api_key\"`}),_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:` \"agent_id\": \"agent_abc123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"direction\": \"outbound\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"transfer\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_address\": \"0xabcdef1234567890abcdef1234567890abcdef12\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": \"10.5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"token\": \"USDC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"chain\": \"eip155:84532\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"memo\": \"service payment\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`7`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` tx`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` aw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payments`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`send`}),_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\":`#9CDCFE`},children:` agentId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_abc123\"`}),_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\":`#9CDCFE`},children:` to:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0xabcdef1234567890abcdef1234567890abcdef12\"`}),_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\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10.50\"`}),_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\":`#9CDCFE`},children:` token:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"USDC\"`}),_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\":`#9CDCFE`},children:` memo:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"service payment\"`}),_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:`Python`,numberOfLines:`7`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`tx `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aw.payments.send(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` agent_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xabcdef1234567890abcdef1234567890abcdef12\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` amount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10.50\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` memo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"service payment\"`}),_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`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response`,numberOfLines:`9`,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:`9`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tx_xyz789\"`}),_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:` \"hash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xabc123def456...\"`}),_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:`\"confirmed\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10.5\"`}),_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:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.001\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-06-15T14:30:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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":"Tạo Giao dịch","description":"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.","openapi":"POST /api/v1/transactions","href":"/vi/api-reference/transactions-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Nội dung Yêu cầu","slug":"nội-dung-yêu-cầu","depth":2,"children":[]},{"title":"Phản hồi","slug":"phản-hồi","depth":2,"children":[]},{"title":"Ví dụ","slug":"ví-dụ","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createTransaction","summary":"Create Transaction","description":"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.","tags":["Transactions"],"requestBody":"239548af-a57e-4cd5-b802-66cac7680a4c","responses":{"200":"239de4a0-9fda-4218-bff5-4896497bd314","400":"4c1bf71a-6e49-43e1-86f5-76519b328b04","401":"7a86a876-997e-4748-8d40-d012f7bb5b8b","403":"690500bc-be1d-478c-a72e-c696cfe14350","429":"9a082ee9-6ca2-46db-ba0a-b33e4e3e48f1","500":"46d8d218-22e2-4b6f-834e-f0befea8bfc9"},"method":"post","type":"path","servers":["c5c1eef2-9dcc-4332-b3a4-476717549e9a","4e2b976e-e318-4b4a-8455-5869c19a5c5a"],"security":["9b001c84-cba0-4beb-a4d6-cdf9eae9367f","5efdda78-ecab-4f18-8d92-3d7efdcbaecf"],"path":"/api/v1/transactions","baseUrlOptions":["https://api.agentwallex.com","https://api-sandbox.agentwallex.com"],"title":"Create Transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agent_id","direction","type","to_address","amount","token","chain"],"properties":{"agent_id":{"type":"string","description":"The agent whose wallet will send the transaction.","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string"},"direction":{"type":"string","enum":["outbound"],"description":"Transaction direction. Currently only `outbound` is supported.","isRequired":true,"uniqueKey":"direction","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["transfer"],"description":"Transaction type.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"to_address":{"type":"string","description":"Recipient on-chain address.","isRequired":true,"uniqueKey":"to_address","typeLabel":"string"},"amount":{"type":"string","description":"Amount to send as a decimal string (e.g., `\"10.5\"`).","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"token":{"type":"string","description":"Token symbol (e.g., `USDC`, `USDT`, `ETH`).","isRequired":true,"uniqueKey":"token","typeLabel":"string"},"chain":{"type":"string","description":"CAIP-2 chain identifier (e.g., `eip155:84532`).","isRequired":true,"uniqueKey":"chain","typeLabel":"string"},"from_address":{"type":"string","description":"Sender address. If omitted, the agent's wallet address is used.","uniqueKey":"from_address","typeLabel":"string"},"memo":{"type":"string","description":"Optional memo or reference string.","uniqueKey":"memo","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"agent_id":"agent_abc123","direction":"outbound","type":"transfer","to_address":"0xabcdef1234567890abcdef1234567890abcdef12","amount":"10.5","token":"USDC","chain":"eip155:84532","memo":"service payment"},"examples":{"Example":{"title":"Example","value":{"agent_id":"agent_abc123","direction":"outbound","type":"transfer","to_address":"0xabcdef1234567890abcdef1234567890abcdef12","amount":"10.5","token":"USDC","chain":"eip155:84532","memo":"service payment"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"239de4a0-9fda-4218-bff5-4896497bd314":{"description":"Transaction created and submitted.","content":{"application/json":{"schema":{"type":"object","description":"An on-chain transaction submitted through an agent's wallet.","properties":{"id":{"type":"string","description":"Unique transaction identifier.","uniqueKey":"id","typeLabel":"string"},"hash":{"type":"string","description":"On-chain transaction hash (available after broadcast).","uniqueKey":"hash","typeLabel":"string"},"agent_id":{"type":"string","description":"Agent that initiated the transaction.","uniqueKey":"agent_id","typeLabel":"string"},"direction":{"type":"string","enum":["outbound"],"description":"Transaction direction.","uniqueKey":"direction","typeLabel":"enum\u003cstring>"},"type":{"type":"string","enum":["transfer"],"description":"Transaction type.","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"from_address":{"type":"string","description":"Sender address.","uniqueKey":"from_address","typeLabel":"string"},"to_address":{"type":"string","description":"Recipient address.","uniqueKey":"to_address","typeLabel":"string"},"amount":{"type":"string","description":"Amount sent as a decimal string.","uniqueKey":"amount","typeLabel":"string"},"token":{"type":"string","description":"Token symbol (e.g., `USDC`, `USDT`, `ETH`).","uniqueKey":"token","typeLabel":"string"},"chain":{"type":"string","description":"CAIP-2 chain identifier.","uniqueKey":"chain","typeLabel":"string"},"fee":{"type":"string","description":"Network gas fee paid.","uniqueKey":"fee","typeLabel":"string"},"status":{"type":"string","enum":["pending","confirmed","failed"],"description":"Transaction status.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"memo":{"type":"string","description":"Optional memo string.","uniqueKey":"memo","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 creation timestamp.","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"tx_xyz789","hash":"0xabc123def456...","status":"confirmed","amount":"10.5","token":"USDC","fee":"0.001","created_at":"2025-06-15T14:30:00Z"},"examples":{"Example":{"title":"Example","value":{"id":"tx_xyz789","hash":"0xabc123def456...","status":"confirmed","amount":"10.5","token":"USDC","fee":"0.001","created_at":"2025-06-15T14:30:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"4c1bf71a-6e49-43e1-86f5-76519b328b04":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response.","required":["code","type","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","rate_limit_error","internal_error"],"description":"Error type category.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"invalid_request","type":"invalid_request_error","message":"The request body is missing required fields."},"examples":{"Example":{"title":"Example","value":{"code":"invalid_request","type":"invalid_request_error","message":"The request body is missing required fields."}}},"exampleType":"examples"}},"exampleType":"examples"},"7a86a876-997e-4748-8d40-d012f7bb5b8b":{"description":"Missing or invalid credentials.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response.","required":["code","type","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","rate_limit_error","internal_error"],"description":"Error type category.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"authentication_failed","type":"authentication_error","message":"The provided API key is invalid or expired."},"examples":{"Example":{"title":"Example","value":{"code":"authentication_failed","type":"authentication_error","message":"The provided API key is invalid or expired."}}},"exampleType":"examples"}},"exampleType":"examples"},"690500bc-be1d-478c-a72e-c696cfe14350":{"description":"Insufficient permissions.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response.","required":["code","type","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","rate_limit_error","internal_error"],"description":"Error type category.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"insufficient_permissions","type":"authorization_error","message":"You do not have permission to perform this action."},"examples":{"Example":{"title":"Example","value":{"code":"insufficient_permissions","type":"authorization_error","message":"You do not have permission to perform this action."}}},"exampleType":"examples"}},"exampleType":"examples"},"9a082ee9-6ca2-46db-ba0a-b33e4e3e48f1":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response.","required":["code","type","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","rate_limit_error","internal_error"],"description":"Error type category.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"rate_limit_exceeded","type":"rate_limit_error","message":"Too many requests. Please retry after a short delay."},"examples":{"Example":{"title":"Example","value":{"code":"rate_limit_exceeded","type":"rate_limit_error","message":"Too many requests. Please retry after a short delay."}}},"exampleType":"examples"}},"exampleType":"examples"},"46d8d218-22e2-4b6f-834e-f0befea8bfc9":{"description":"Server-side error.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response.","required":["code","type","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","authorization_error","not_found_error","rate_limit_error","internal_error"],"description":"Error type category.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"server_error","type":"internal_error","message":"An unexpected error occurred. Please try again later."},"examples":{"Example":{"title":"Example","value":{"code":"server_error","type":"internal_error","message":"An unexpected error occurred. Please try again later."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"9b001c84-cba0-4beb-a4d6-cdf9eae9367f":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key authentication. Keys are prefixed with `awx_`.","scopes":[]}},"5efdda78-ecab-4f18-8d92-3d7efdcbaecf":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT bearer token authentication.","scopes":[]}}},"servers":{"c5c1eef2-9dcc-4332-b3a4-476717549e9a":{"url":"https://api.agentwallex.com","description":"Production"},"4e2b976e-e318-4b4a-8455-5869c19a5c5a":{"url":"https://api-sandbox.agentwallex.com","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key authentication. Keys are prefixed with `awx_`.","scopes":[]},"schema":{"title":"X-API-Key","type":"string","description":"API key authentication. Keys are prefixed with `awx_`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT bearer token authentication.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT bearer token authentication.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"agentwallexltd","siteName":"AgentWallex","title":"Tạo Giao dịch - AgentWallex","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/transactions-create","matchLevel":1},"zh":{"href":"/zh/api-reference/transactions-create","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/api-reference/transactions-create","matchLevel":1},"ja":{"href":"/ja/api-reference/transactions-create","matchLevel":1},"ko":{"href":"/ko/api-reference/transactions-create","matchLevel":1},"vi":{"href":"/vi/api-reference/transactions-create","matchLevel":0},"es":{"href":"/es/api-reference/transactions-create","matchLevel":1},"fr":{"href":"/fr/api-reference/transactions-create","matchLevel":1}}},"lastModified":"2026-03-20T09:36:48.898Z","originalFileLocation":"vi/api-reference/transactions-create.mdx","locale":"vi"},"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=\"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AgentWallex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_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/agentwallexltd/UKWtUh8qCxmefxqN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Tạo Giao dịch - AgentWallex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AgentWallex\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentwallex.com/vi/api-reference/transactions-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agentwallexltd.mintlify.app/_mintlify/api/og/v2?division=Giao+d%E1%BB%8Bch\u0026amp;title=T%E1%BA%A1o+Giao+d%E1%BB%8Bch\u0026amp;description=G%E1%BB%ADi+thanh+to%C3%A1n+on-chain+th%C3%B4ng+qua+v%C3%AD+MPC+%C4%91%C6%B0%E1%BB%A3c+b%E1%BA%A3o+m%E1%BA%ADt+c%E1%BB%A7a+t%C3%A1c+nh%C3%A2n.\u0026amp;theme=b8231d9c3cea81586e0b5e08\u0026amp;signature=f9ea98c0988123ebcb1c895904e7407addcaf06a597601a326614c08a2711a95\">\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=\"Tạo Giao dịch - AgentWallex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentwallexltd.mintlify.app/_mintlify/api/og/v2?division=Giao+d%E1%BB%8Bch\u0026amp;title=T%E1%BA%A1o+Giao+d%E1%BB%8Bch\u0026amp;description=G%E1%BB%ADi+thanh+to%C3%A1n+on-chain+th%C3%B4ng+qua+v%C3%AD+MPC+%C4%91%C6%B0%E1%BB%A3c+b%E1%BA%A3o+m%E1%BA%ADt+c%E1%BB%A7a+t%C3%A1c+nh%C3%A2n.\u0026amp;theme=b8231d9c3cea81586e0b5e08\u0026amp;signature=f9ea98c0988123ebcb1c895904e7407addcaf06a597601a326614c08a2711a95\">\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/agentwallexltd/UKWtUh8qCxmefxqN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AgentWallex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D97757\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentwallex.com/vi/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vi/api-reference/transactions-create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.agentwallex.com/vi/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.agentwallex.com/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.agentwallex.com/zh/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://docs.agentwallex.com/zh-Hant/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.agentwallex.com/ja/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.agentwallex.com/ko/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.agentwallex.com/es/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.agentwallex.com/fr/api-reference/transactions-create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.agentwallex.com/api-reference/transactions-create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentwallex.com/#organization\",\"name\":\"AgentWallex\",\"url\":\"https://docs.agentwallex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agentwallexltd/DvuM_yFh9V5c03bp/images/logo-light.svg?fit=max\u0026auto=format\u0026n=DvuM_yFh9V5c03bp\u0026q=85\u0026s=5e61ca1c764d32d5481ddb26883cfccb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentwallex.com#website\",\"name\":\"AgentWallex\",\"url\":\"https://docs.agentwallex.com\",\"publisher\":{\"@id\":\"https://docs.agentwallex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create#webpage\",\"url\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create\",\"name\":\"Tạo Giao dịch\",\"description\":\"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\",\"dateModified\":\"2026-03-20T09:36:48.898Z\",\"isPartOf\":{\"@id\":\"https://docs.agentwallex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AgentWallex\",\"item\":\"https://docs.agentwallex.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tạo Giao dịch\",\"item\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create#apireference\",\"headline\":\"Tạo Giao dịch\",\"name\":\"Tạo Giao dịch\",\"description\":\"Gửi thanh toán on-chain thông qua ví MPC được bảo mật của tác nhân.\",\"url\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentwallex.com/vi/api-reference/transactions-create#webpage\"},\"dateModified\":\"2026-03-20T09:36:48.898Z\",\"publisher\":{\"@id\":\"https://docs.agentwallex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentwallex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AgentWallex\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AgentWallex","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/transactions-create"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/transactions-create"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/api-reference/transactions-create"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/transactions-create"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/transactions-create"}]},{"language":"vi","tabs":[{"tab":"Tài liệu","pages":[{"title":"Tài liệu","href":"/vi/introduction/overview"}]},{"tab":"Tham chiếu API","groups":[{"group":"Tổng quan","pages":[{"title":"Tổng quan Tài liệu API","href":"/vi/api-reference/overview"}]},{"group":"Agent","pages":[{"title":"Tạo Tác nhân","openapi":"POST /api/v1/agents","href":"/vi/api-reference/agents-create"},{"title":"Liệt kê Tác nhân","openapi":"GET /api/v1/agents","href":"/vi/api-reference/agents-list"},{"title":"Lấy Tác nhân","description":"Truy xuất một tác nhân theo ID, bao gồm địa chỉ ví và trạng thái hiện tại.","openapi":"GET /api/v1/agents/{id}","href":"/vi/api-reference/agents-get"}]},{"group":"Giao dịch","pages":[{"title":"Tạo Giao dịch","openapi":"POST /api/v1/transactions","href":"/vi/api-reference/transactions-create"},{"title":"Liệt kê Giao dịch","description":"Lấy danh sách phân trang các giao dịch với bộ lọc tùy chọn.","openapi":"GET /api/v1/transactions","href":"/vi/api-reference/transactions-list"},{"title":"Lấy Giao dịch","openapi":"GET /api/v1/transactions/{id}","href":"/vi/api-reference/transactions-get"}]},{"group":"Chính sách","pages":[{"title":"Tạo chính sách","openapi":"POST /api/v1/policies","href":"/vi/api-reference/policies-create"},{"title":"Danh sách chính sách","openapi":"GET /api/v1/policies","href":"/vi/api-reference/policies-list"},{"title":"Lấy chính sách","openapi":"GET /api/v1/policies/{id}","href":"/vi/api-reference/policies-get"},{"title":"Cập nhật chính sách","openapi":"PUT /api/v1/policies/{id}","href":"/vi/api-reference/policies-update"},{"title":"Xóa chính sách","openapi":"DELETE /api/v1/policies/{id}","href":"/vi/api-reference/policies-delete"}]},{"group":"Webhook","pages":[{"title":"Tạo Webhook","openapi":"POST /api/v1/webhooks","href":"/vi/api-reference/webhooks-create"},{"title":"Danh sách Webhook","openapi":"GET /api/v1/webhooks","href":"/vi/api-reference/webhooks-list"},{"title":"Lấy Webhook","openapi":"GET /api/v1/webhooks/{id}","href":"/vi/api-reference/webhooks-get"},{"title":"Cập nhật Webhook","openapi":"PUT /api/v1/webhooks/{id}","href":"/vi/api-reference/webhooks-update"},{"title":"Xóa Webhook","openapi":"DELETE /api/v1/webhooks/{id}","href":"/vi/api-reference/webhooks-delete"},{"title":"Kiểm tra Webhook","openapi":"POST /api/v1/webhooks/{id}/test","href":"/vi/api-reference/webhooks-test"}]},{"group":"x402","pages":[{"title":"x402 Pay","openapi":"POST /api/v1/x402/pay","href":"/vi/api-reference/x402-pay"},{"title":"Tạo phiên x402","openapi":"POST /api/v1/x402/sessions","href":"/vi/api-reference/x402-sessions-create"},{"title":"Danh sách phiên x402","openapi":"GET /api/v1/x402/sessions","href":"/vi/api-reference/x402-sessions-list"},{"title":"Lấy phiên x402","openapi":"GET /api/v1/x402/sessions/{id}","href":"/vi/api-reference/x402-sessions-get"},{"title":"Thanh toán bằng phiên x402","openapi":"POST /api/v1/x402/sessions/{id}/pay","href":"/vi/api-reference/x402-sessions-pay"},{"title":"Xóa phiên x402","openapi":"DELETE /api/v1/x402/sessions/{id}","href":"/vi/api-reference/x402-sessions-delete"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/vi/sdks/overview"}]},{"tab":"Nhật ký thay đổi","pages":[{"title":"Nhật ký thay đổi","href":"/vi/changelog/overview"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/transactions-create"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/transactions-create"}]}]},"basePath":"","title":"Tạo Giao dịch - AgentWallex","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B5zPa4Vr.js","utils-CVjrr8Yd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DTgURWzl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DxTHtkdZ.js","snippetPresets-Cx47o5Vx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-4Fr6y9N_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dq2ElbEk.js","shallow-BfYl9r69.js","getApiPlaygroundDisplay-Ch3xc7i1.js","CodeSnippet-BsBxuJ1v.js","CodeSnippets-CetzeDL8.js","Page-CYZot51e.js","getPastedJson-BxPKFSJx.js","icon-o0J1Ochb.js","MethodPill-Du3usO5m.js","DuplicateIcon-DJypyMzl.js","createIcon-YMA6N8KJ.js","DynamicMarkdown-CWvhfcZc.js","SectionHeading-BdLVaXCd.js","axios-vUo_bRtp.js","Markdown-C4Ez6OeV.js","clsx-DptzKFCt.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Dt1IougW.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CZ6Wt2Vb.js"]}