Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol.
Protocol selection (required protocol field in the request body):
x402: provide the x402_payment_required challenge object received from the payee server.
mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token.
Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing.
The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.
UUID of the wallet to sign and submit the payment from. Obtain this value from the wallet creation or list-wallets response. The wallet must be active (not archived).
Body
application/json
Unified payment request.
Protocol-specific fields are prefixed with protocol name (x402_ / mpp_).
protocol
enum<string>
required
Payment protocol: 'x402' or 'mpp'
Available options:
x402,
mpp
request_id
string | null
Idempotency key
Maximum string length: 255
x402_payment_required
string | null
Base64-encoded JSON from Payment-Required header
mpp_www_authenticate
string | null
WWW-Authenticate header raw value
mpp_session
MppSessionParams · object | null
Session parameters for MPP session actions (open/voucher/close)
Show child attributes
Response
Successful Response
result
PaymentResult · object
required
Unified payment result.
CLI uses retry_headers to retry the original request.
Show child attributes
success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object | null
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cobo Agentic Wallet","colors":{"primary":"#1F32D6","light":"#1F32D6","dark":"#1F32D6"},"logo":{"light":"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/light.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=ff7a7c1c88a71bc9c553ffcaafcd99d3","dark":"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/dark.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=951305701adc54e705f557f43319e08f","href":"https://agenticwallet.cobo.com/"},"favicon":"https://mintcdn.com/agent-wallet-manual/sQQQ2OLxLa9K7SVD/products/agentic-wallet/manual/favicon.svg?fit=max\u0026auto=format\u0026n=sQQQ2OLxLa9K7SVD\u0026q=85\u0026s=51778f498673269bcc92d601820e08a7","api":{"playground":{"display":"interactive"},"examples":{"languages":["python","bash"]}},"navbar":{"links":[{"href":"https://pypi.org/project/cobo-agentic-wallet/","label":"PyPI"}],"primary":{"type":"github","href":"https://github.com/CoboGlobal/cobo-agentic-wallet"}},"contextual":{"options":["copy","view","assistant","claude","mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agent-wallet-manual","hasAudioNarration":false,"actualSubdomain":"agent-wallet-manual","customDomains":[],"gitSource":{"type":"github","owner":"coboglobal","repo":"cobo-agentic-wallet-manual","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae94465575e7a57c12daf12","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Reference","count":64},{"language":"default","tag":"API reference","count":61},{"language":"default","tag":"For Agent Developers","count":23},{"language":"default","tag":"Wallets","count":13},{"language":"default","tag":"Transactions","count":11},{"language":"default","tag":"How-to","count":10},{"language":"default","tag":"Learn","count":10},{"language":"default","tag":"Overview","count":10},{"language":"default","tag":"Pacts","count":10},{"language":"default","tag":"Security \u0026 Controls","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/products/agentic-wallet/manual","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".icon{display:inline;height:30px;margin-top:0px;margin-bottom:0px}.screenshot_full_screen{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:auto;height:auto;display:block;margin:auto}.screenshot_nav_bar{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:180px;height:auto;display:block;margin:auto}.screenshot_modal{border:1px solid transparent;border-radius:10px;border-color:#EDEEF3;width:450px;height:auto;display:block;margin:auto}"}]}
{"page":{"pagePath":"products/agentic-wallet/manual/reference/payment","slug":"/products/agentic-wallet/manual/reference/payment","pageMetadata":{"openapi":"post /api/v1/wallets/{wallet_uuid}/payment","title":"Create payment","description":"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol.\n\n**Protocol selection** (required `protocol` field in the request body):\n- `x402`: provide the `x402_payment_required` challenge object received from the payee server.\n- `mpp`: provide the `mpp_www_authenticate` challenge string and, optionally, an `mpp_session` token.\n\n**Idempotency**: if you supply a `request_id`, the endpoint checks for a previously completed transaction with the same `request_id` for this wallet. When a match is found the original result is returned immediately (`idempotent: true`) together with the original response headers (`retry_headers`) so you can replay the HTTP payment call without re-signing.\n\nThe wallet must be active (non-archived) and your principal must hold the `WALLET_TRANSFER` permission for the target wallet.","href":"/products/agentic-wallet/manual/reference/payment"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Protocol selection\"\n }), \" (required \", _jsx(_components.code, {\n children: \"protocol\"\n }), \" field in the request body):\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"x402\"\n }), \": provide the \", _jsx(_components.code, {\n children: \"x402_payment_required\"\n }), \" challenge object received from the payee server.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"mpp\"\n }), \": provide the \", _jsx(_components.code, {\n children: \"mpp_www_authenticate\"\n }), \" challenge string and, optionally, an \", _jsx(_components.code, {\n children: \"mpp_session\"\n }), \" token.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Idempotency\"\n }), \": if you supply a \", _jsx(_components.code, {\n children: \"request_id\"\n }), \", the endpoint checks for a previously completed transaction with the same \", _jsx(_components.code, {\n children: \"request_id\"\n }), \" for this wallet. When a match is found the original result is returned immediately (\", _jsx(_components.code, {\n children: \"idempotent: true\"\n }), \") together with the original response headers (\", _jsx(_components.code, {\n children: \"retry_headers\"\n }), \") so you can replay the HTTP payment call without re-signing.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The wallet must be active (non-archived) and your principal must hold the \", _jsx(_components.code, {\n children: \"WALLET_TRANSFER\"\n }), \" permission for the target wallet.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /api/v1/wallets/{wallet_uuid}/payment","title":"Create payment","description":"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol.\n\n**Protocol selection** (required `protocol` field in the request body):\n- `x402`: provide the `x402_payment_required` challenge object received from the payee server.\n- `mpp`: provide the `mpp_www_authenticate` challenge string and, optionally, an `mpp_session` token.\n\n**Idempotency**: if you supply a `request_id`, the endpoint checks for a previously completed transaction with the same `request_id` for this wallet. When a match is found the original result is returned immediately (`idempotent: true`) together with the original response headers (`retry_headers`) so you can replay the HTTP payment call without re-signing.\n\nThe wallet must be active (non-archived) and your principal must hold the `WALLET_TRANSFER` permission for the target wallet.","href":"/products/agentic-wallet/manual/reference/payment"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Transactions"],"summary":"Create payment","description":"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol.\n\n**Protocol selection** (required `protocol` field in the request body):\n- `x402`: provide the `x402_payment_required` challenge object received from the payee server.\n- `mpp`: provide the `mpp_www_authenticate` challenge string and, optionally, an `mpp_session` token.\n\n**Idempotency**: if you supply a `request_id`, the endpoint checks for a previously completed transaction with the same `request_id` for this wallet. When a match is found the original result is returned immediately (`idempotent: true`) together with the original response headers (`retry_headers`) so you can replay the HTTP payment call without re-signing.\n\nThe wallet must be active (non-archived) and your principal must hold the `WALLET_TRANSFER` permission for the target wallet.","operationId":"payment","parameters":["575a3ba3-68a6-4fd2-8c5e-87ff2878dfb6","9d3c681a-bd6a-4897-a433-a59270caa459"],"requestBody":"39f2fbfe-a5f0-44d6-af30-05b3f2205471","responses":{"200":"01ef48bb-f5f9-4f8a-b1ca-fdc5a9b40709","422":"9de0873c-b84e-4a38-ac8e-99727d18ebec"},"method":"post","type":"path","servers":[],"security":[],"path":"/api/v1/wallets/{wallet_uuid}/payment","baseUrlOptions":[],"title":"Create payment","codeSamples":[],"requestExampleLanguages":["python","bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"575a3ba3-68a6-4fd2-8c5e-87ff2878dfb6":{"name":"wallet_uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"UUID of the wallet to sign and submit the payment from. Obtain this value from the wallet creation or list-wallets response. The wallet must be active (not archived).","title":"Wallet Uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"UUID of the wallet to sign and submit the payment from. Obtain this value from the wallet creation or list-wallets response. The wallet must be active (not archived)."},"9d3c681a-bd6a-4897-a433-a59270caa459":{"name":"X-API-Key","in":"header","required":false,"schema":{"oneOf":[{"title":"X-Api-Key","type":"string","uniqueKey":"oneOf.0","typeLabel":"string"},{"title":"X-Api-Key","type":"null","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"protocol":{"type":"string","enum":["x402","mpp"],"title":"PaymentProtocol","description":"Payment protocol: 'x402' or 'mpp'","isRequired":true,"uniqueKey":"protocol","typeLabel":"enum\u003cstring>"},"request_id":{"oneOf":[{"title":"Request Id","description":"Idempotency key","type":"string","maxLength":255,"uniqueKey":"request_id.oneOf.0","typeLabel":"string"},{"title":"Request Id","description":"Idempotency key","type":"null","maxLength":255,"uniqueKey":"request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_id","typeLabel":"string | null"},"x402_payment_required":{"oneOf":[{"title":"X402 Payment Required","description":"Base64-encoded JSON from Payment-Required header","type":"string","uniqueKey":"x402_payment_required.oneOf.0","typeLabel":"string"},{"title":"X402 Payment Required","description":"Base64-encoded JSON from Payment-Required header","type":"null","uniqueKey":"x402_payment_required.oneOf.1","typeLabel":"null"}],"uniqueKey":"x402_payment_required","typeLabel":"string | null"},"mpp_www_authenticate":{"oneOf":[{"title":"Mpp Www Authenticate","description":"WWW-Authenticate header raw value","type":"string","uniqueKey":"mpp_www_authenticate.oneOf.0","typeLabel":"string"},{"title":"Mpp Www Authenticate","description":"WWW-Authenticate header raw value","type":"null","uniqueKey":"mpp_www_authenticate.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_www_authenticate","typeLabel":"string | null"},"mpp_session":{"oneOf":[{"properties":{"action":{"type":"string","enum":["open","voucher","close","request_close","withdraw"],"title":"MppSessionAction","description":"Session action: 'open' | 'voucher' | 'close' | 'request_close' | 'withdraw'","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.action","typeLabel":"enum\u003cstring>"},"salt":{"oneOf":[{"title":"Salt","description":"Random salt for session open (hex string)","type":"string","uniqueKey":"mpp_session.oneOf.0.salt.oneOf.0","typeLabel":"string"},{"title":"Salt","description":"Random salt for session open (hex string)","type":"null","uniqueKey":"mpp_session.oneOf.0.salt.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.salt","typeLabel":"string | null"},"deposit":{"oneOf":[{"title":"Deposit","description":"Deposit amount for session open (raw token units)","type":"string","uniqueKey":"mpp_session.oneOf.0.deposit.oneOf.0","typeLabel":"string"},{"title":"Deposit","description":"Deposit amount for session open (raw token units)","type":"null","uniqueKey":"mpp_session.oneOf.0.deposit.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.deposit","typeLabel":"string | null"},"channel_id":{"oneOf":[{"title":"Channel Id","description":"Payment channel identifier, required for voucher, close, request_close, and withdraw actions.","type":"string","uniqueKey":"mpp_session.oneOf.0.channel_id.oneOf.0","typeLabel":"string"},{"title":"Channel Id","description":"Payment channel identifier, required for voucher, close, request_close, and withdraw actions.","type":"null","uniqueKey":"mpp_session.oneOf.0.channel_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.channel_id","typeLabel":"string | null"},"cumulative_amount":{"oneOf":[{"title":"Cumulative Amount","description":"Cumulative total amount paid so far in this channel, expressed in raw token units. Required for voucher actions.","type":"string","uniqueKey":"mpp_session.oneOf.0.cumulative_amount.oneOf.0","typeLabel":"string"},{"title":"Cumulative Amount","description":"Cumulative total amount paid so far in this channel, expressed in raw token units. Required for voucher actions.","type":"null","uniqueKey":"mpp_session.oneOf.0.cumulative_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.cumulative_amount","typeLabel":"string | null"},"payer_address":{"oneOf":[{"title":"Payer Address","description":"On-chain address of the payer who opened the payment channel. Required for voucher/close actions.","type":"string","uniqueKey":"mpp_session.oneOf.0.payer_address.oneOf.0","typeLabel":"string"},{"title":"Payer Address","description":"On-chain address of the payer who opened the payment channel. Required for voucher/close actions.","type":"null","uniqueKey":"mpp_session.oneOf.0.payer_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.payer_address","typeLabel":"string | null"},"challenge_cache":{"oneOf":[{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.id","typeLabel":"string"},"realm":{"type":"string","title":"Realm","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.realm","typeLabel":"string"},"method":{"type":"string","title":"Method","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.method","typeLabel":"string"},"intent":{"type":"string","title":"Intent","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.intent","typeLabel":"string"},"request":{"additionalProperties":true,"type":"object","title":"Request","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.request","typeLabel":"Request · object"},"request_b64":{"type":"string","title":"Request B64","isRequired":true,"uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.request_b64","typeLabel":"string"},"expires":{"type":"string","title":"Expires","default":"","uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.expires","typeLabel":"string"},"description":{"type":"string","title":"Description","default":"","uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0.description","typeLabel":"string"}},"type":"object","required":["id","realm","method","intent","request","request_b64"],"title":"MppChallenge","description":"Cached challenge for voucher/close (no 402 re-negotiation)","uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.0","typeLabel":"MppChallenge · object"},{"properties":{"id":{"type":"string","title":"Id"},"realm":{"type":"string","title":"Realm"},"method":{"type":"string","title":"Method"},"intent":{"type":"string","title":"Intent"},"request":{"additionalProperties":true,"type":"object","title":"Request"},"request_b64":{"type":"string","title":"Request B64"},"expires":{"type":"string","title":"Expires","default":""},"description":{"type":"string","title":"Description","default":""}},"type":"null","required":["id","realm","method","intent","request","request_b64"],"title":"MppChallenge","description":"Cached challenge for voucher/close (no 402 re-negotiation)","uniqueKey":"mpp_session.oneOf.0.challenge_cache.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session.oneOf.0.challenge_cache","typeLabel":"MppChallenge · object | null"}},"type":"object","required":["action"],"title":"MppSessionParams","description":"Session parameters for MPP session actions (open/voucher/close)","uniqueKey":"mpp_session.oneOf.0","typeLabel":"MppSessionParams · object"},{"properties":{"action":{"type":"string","enum":["open","voucher","close","request_close","withdraw"],"title":"MppSessionAction","description":"Session action: 'open' | 'voucher' | 'close' | 'request_close' | 'withdraw'"},"salt":{"oneOf":[{"title":"Salt","description":"Random salt for session open (hex string)","type":"string"},{"title":"Salt","description":"Random salt for session open (hex string)","type":"null"}]},"deposit":{"oneOf":[{"title":"Deposit","description":"Deposit amount for session open (raw token units)","type":"string"},{"title":"Deposit","description":"Deposit amount for session open (raw token units)","type":"null"}]},"channel_id":{"oneOf":[{"title":"Channel Id","description":"Payment channel identifier, required for voucher, close, request_close, and withdraw actions.","type":"string"},{"title":"Channel Id","description":"Payment channel identifier, required for voucher, close, request_close, and withdraw actions.","type":"null"}]},"cumulative_amount":{"oneOf":[{"title":"Cumulative Amount","description":"Cumulative total amount paid so far in this channel, expressed in raw token units. Required for voucher actions.","type":"string"},{"title":"Cumulative Amount","description":"Cumulative total amount paid so far in this channel, expressed in raw token units. Required for voucher actions.","type":"null"}]},"payer_address":{"oneOf":[{"title":"Payer Address","description":"On-chain address of the payer who opened the payment channel. Required for voucher/close actions.","type":"string"},{"title":"Payer Address","description":"On-chain address of the payer who opened the payment channel. Required for voucher/close actions.","type":"null"}]},"challenge_cache":{"oneOf":[{"properties":{"id":{"type":"string","title":"Id"},"realm":{"type":"string","title":"Realm"},"method":{"type":"string","title":"Method"},"intent":{"type":"string","title":"Intent"},"request":{"additionalProperties":true,"type":"object","title":"Request"},"request_b64":{"type":"string","title":"Request B64"},"expires":{"type":"string","title":"Expires","default":""},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["id","realm","method","intent","request","request_b64"],"title":"MppChallenge","description":"Cached challenge for voucher/close (no 402 re-negotiation)"},{"properties":{"id":{"type":"string","title":"Id"},"realm":{"type":"string","title":"Realm"},"method":{"type":"string","title":"Method"},"intent":{"type":"string","title":"Intent"},"request":{"additionalProperties":true,"type":"object","title":"Request"},"request_b64":{"type":"string","title":"Request B64"},"expires":{"type":"string","title":"Expires","default":""},"description":{"type":"string","title":"Description","default":""}},"type":"null","required":["id","realm","method","intent","request","request_b64"],"title":"MppChallenge","description":"Cached challenge for voucher/close (no 402 re-negotiation)"}]}},"type":"null","required":["action"],"title":"MppSessionParams","description":"Session parameters for MPP session actions (open/voucher/close)","uniqueKey":"mpp_session.oneOf.1","typeLabel":"null"}],"uniqueKey":"mpp_session","typeLabel":"MppSessionParams · object | null"}},"type":"object","required":["protocol"],"title":"PaymentCreate","description":"Unified payment request.\n\nProtocol-specific fields are prefixed with protocol name (x402_ / mpp_).","uniqueKey":"","typeLabel":"PaymentCreate · object"},"examples":{"Example":{"title":"Example","value":{"request_id":"\u003cstring>","x402_payment_required":"\u003cstring>","mpp_www_authenticate":"\u003cstring>","mpp_session":{"salt":"\u003cstring>","deposit":"\u003cstring>","channel_id":"\u003cstring>","cumulative_amount":"\u003cstring>","payer_address":"\u003cstring>","challenge_cache":{"id":"\u003cstring>","realm":"\u003cstring>","method":"\u003cstring>","intent":"\u003cstring>","request":{},"request_b64":"\u003cstring>","expires":"","description":""}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"01ef48bb-f5f9-4f8a-b1ca-fdc5a9b40709":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"result":{"properties":{"protocol":{"type":"string","enum":["x402","mpp"],"title":"PaymentProtocol","description":"'x402' or 'mpp'","isRequired":true,"uniqueKey":"result.protocol","typeLabel":"enum\u003cstring>"},"status":{"type":"string","title":"Status","description":"completed / submitted / failed","isRequired":true,"uniqueKey":"result.status","typeLabel":"string"},"id":{"oneOf":[{"title":"Id","description":"Unique identifier assigned to this payment record.","type":"string","format":"uuid","uniqueKey":"result.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"title":"Id","description":"Unique identifier assigned to this payment record.","type":"null","format":"uuid","uniqueKey":"result.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.id","typeLabel":"string\u003cuuid> | null"},"idempotent":{"type":"boolean","title":"Idempotent","description":"True if this result was served from a cached response for a previously processed request_id; false if it was freshly processed.","default":false,"uniqueKey":"result.idempotent","typeLabel":"boolean"},"request_id":{"oneOf":[{"title":"Request Id","description":"Idempotency key echoed back from the original payment request.","type":"string","uniqueKey":"result.request_id.oneOf.0","typeLabel":"string"},{"title":"Request Id","description":"Idempotency key echoed back from the original payment request.","type":"null","uniqueKey":"result.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.request_id","typeLabel":"string | null"},"retry_headers":{"additionalProperties":{"type":"string","uniqueKey":"result.retry_headers.additionalProperties","typeLabel":"string"},"type":"object","title":"Retry Headers","description":"Headers to set when retrying the original request. x402: {'PAYMENT-SIGNATURE': '...'}. MPP: {'Authorization': 'Payment \u003ccred>'}.","uniqueKey":"result.retry_headers","typeLabel":"Retry Headers · object"},"mpp_session_info":{"oneOf":[{"properties":{"payer_address":{"type":"string","title":"Payer Address","description":"On-chain address of the payer who opened the payment channel.","isRequired":true,"uniqueKey":"result.mpp_session_info.oneOf.0.payer_address","typeLabel":"string"},"chain_id":{"type":"string","title":"Chain Id","description":"Cobo chain ID on which the payment channel was opened (e.g. 'ETH' for Ethereum mainnet). Call the List supported chains operation (GET /metadata/chains) to retrieve all supported chain IDs.","isRequired":true,"uniqueKey":"result.mpp_session_info.oneOf.0.chain_id","typeLabel":"string"},"channel_id":{"oneOf":[{"title":"Channel Id","description":"Unique identifier of the opened payment channel. May be absent if the channel is not yet confirmed on-chain.","type":"string","uniqueKey":"result.mpp_session_info.oneOf.0.channel_id.oneOf.0","typeLabel":"string"},{"title":"Channel Id","description":"Unique identifier of the opened payment channel. May be absent if the channel is not yet confirmed on-chain.","type":"null","uniqueKey":"result.mpp_session_info.oneOf.0.channel_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.mpp_session_info.oneOf.0.channel_id","typeLabel":"string | null"}},"type":"object","required":["payer_address","chain_id"],"title":"MppSessionInfo","description":"MPP session details populated only when the action is 'open'. Null for all other actions.","uniqueKey":"result.mpp_session_info.oneOf.0","typeLabel":"MppSessionInfo · object"},{"properties":{"payer_address":{"type":"string","title":"Payer Address","description":"On-chain address of the payer who opened the payment channel."},"chain_id":{"type":"string","title":"Chain Id","description":"Cobo chain ID on which the payment channel was opened (e.g. 'ETH' for Ethereum mainnet). Call the List supported chains operation (GET /metadata/chains) to retrieve all supported chain IDs."},"channel_id":{"oneOf":[{"title":"Channel Id","description":"Unique identifier of the opened payment channel. May be absent if the channel is not yet confirmed on-chain.","type":"string"},{"title":"Channel Id","description":"Unique identifier of the opened payment channel. May be absent if the channel is not yet confirmed on-chain.","type":"null"}]}},"type":"null","required":["payer_address","chain_id"],"title":"MppSessionInfo","description":"MPP session details populated only when the action is 'open'. Null for all other actions.","uniqueKey":"result.mpp_session_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.mpp_session_info","typeLabel":"MppSessionInfo · object | null"},"tx_hash":{"oneOf":[{"title":"Tx Hash","description":"On-chain transaction hash returned for request_close and withdraw actions. Null for all other actions.","type":"string","uniqueKey":"result.tx_hash.oneOf.0","typeLabel":"string"},{"title":"Tx Hash","description":"On-chain transaction hash returned for request_close and withdraw actions. Null for all other actions.","type":"null","uniqueKey":"result.tx_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.tx_hash","typeLabel":"string | null"}},"type":"object","required":["protocol","status"],"title":"PaymentResult","description":"Unified payment result.\n\nCLI uses retry_headers to retry the original request.","isRequired":true,"uniqueKey":"result","typeLabel":"PaymentResult · object"},"success":{"type":"boolean","title":"Success","default":true,"uniqueKey":"success","typeLabel":"boolean"},"suggestion":{"type":"string","title":"Suggestion","default":"","uniqueKey":"suggestion","typeLabel":"string"},"message":{"type":"string","title":"Message","default":"","uniqueKey":"message","typeLabel":"string"},"meta":{"oneOf":[{"properties":{"total":{"oneOf":[{"title":"Total","type":"integer","uniqueKey":"meta.oneOf.0.total.oneOf.0","typeLabel":"integer"},{"title":"Total","type":"null","uniqueKey":"meta.oneOf.0.total.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.total","typeLabel":"integer | null"},"offset":{"oneOf":[{"title":"Offset","type":"integer","uniqueKey":"meta.oneOf.0.offset.oneOf.0","typeLabel":"integer"},{"title":"Offset","type":"null","uniqueKey":"meta.oneOf.0.offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.offset","typeLabel":"integer | null"},"limit":{"oneOf":[{"title":"Limit","type":"integer","uniqueKey":"meta.oneOf.0.limit.oneOf.0","typeLabel":"integer"},{"title":"Limit","type":"null","uniqueKey":"meta.oneOf.0.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.limit","typeLabel":"integer | null"},"has_more":{"oneOf":[{"title":"Has More","type":"boolean","uniqueKey":"meta.oneOf.0.has_more.oneOf.0","typeLabel":"boolean"},{"title":"Has More","type":"null","uniqueKey":"meta.oneOf.0.has_more.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.has_more","typeLabel":"boolean | null"},"after":{"oneOf":[{"title":"After","type":"string","uniqueKey":"meta.oneOf.0.after.oneOf.0","typeLabel":"string"},{"title":"After","type":"null","uniqueKey":"meta.oneOf.0.after.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.after","typeLabel":"string | null"},"before":{"oneOf":[{"title":"Before","type":"string","uniqueKey":"meta.oneOf.0.before.oneOf.0","typeLabel":"string"},{"title":"Before","type":"null","uniqueKey":"meta.oneOf.0.before.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.oneOf.0.before","typeLabel":"string | null"}},"type":"object","title":"PaginationMeta","description":"Pagination metadata for list responses.\n\nSupports both legacy offset-based and cursor-based pagination.\nCursor fields (``has_more``, ``after``, ``before``) are populated for\ncursor-paginated endpoints. Legacy fields (``offset``, ``limit``) are\npopulated when the caller uses the deprecated ``offset`` parameter.","uniqueKey":"meta.oneOf.0","typeLabel":"PaginationMeta · object"},{"properties":{"total":{"oneOf":[{"title":"Total","type":"integer"},{"title":"Total","type":"null"}]},"offset":{"oneOf":[{"title":"Offset","type":"integer"},{"title":"Offset","type":"null"}]},"limit":{"oneOf":[{"title":"Limit","type":"integer"},{"title":"Limit","type":"null"}]},"has_more":{"oneOf":[{"title":"Has More","type":"boolean"},{"title":"Has More","type":"null"}]},"after":{"oneOf":[{"title":"After","type":"string"},{"title":"After","type":"null"}]},"before":{"oneOf":[{"title":"Before","type":"string"},{"title":"Before","type":"null"}]}},"type":"null","title":"PaginationMeta","description":"Pagination metadata for list responses.\n\nSupports both legacy offset-based and cursor-based pagination.\nCursor fields (``has_more``, ``after``, ``before``) are populated for\ncursor-paginated endpoints. Legacy fields (``offset``, ``limit``) are\npopulated when the caller uses the deprecated ``offset`` parameter.","uniqueKey":"meta.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta","typeLabel":"PaginationMeta · object | null"}},"type":"object","required":["result"],"title":"StandardResponse[PaymentResult]","uniqueKey":"","typeLabel":"StandardResponse[PaymentResult] · object"},"examples":{"Example":{"title":"Example","value":{"result":{"protocol":"x402","status":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","idempotent":false,"request_id":"\u003cstring>","retry_headers":{},"mpp_session_info":{"payer_address":"\u003cstring>","chain_id":"\u003cstring>","channel_id":"\u003cstring>"},"tx_hash":"\u003cstring>"},"success":true,"suggestion":"","message":"","meta":{"total":123,"offset":123,"limit":123,"has_more":true,"after":"\u003cstring>","before":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9de0873c-b84e-4a38-ac8e-99727d18ebec":{"description":"Validation Error","content":{"application/json":{"schema":{"title":"WrappedValidationError","type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","const":false,"default":false,"title":"Success","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","title":"Error","required":["detail"],"properties":{"detail":{"type":"array","title":"Detail","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"error.detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"error.detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"error.detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"error.detail.items.[INDEX]","typeLabel":"ValidationError · object"},"isRequired":true,"uniqueKey":"error.detail","typeLabel":"ValidationError · object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"uniqueKey":"","typeLabel":"WrappedValidationError · object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"products/agentic-wallet/manual/openapi.json"},"subdomain":"agent-wallet-manual","siteName":"Cobo Agentic Wallet","title":"Create payment - Cobo Agentic Wallet","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T02:18:19.004Z","originalFileLocation":"products/agentic-wallet/manual/reference/payment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol. Protocol selection (required protocol field in the request body): - x402: provide the x402_payment_required challenge object received from the payee server. - mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token. Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing. The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create payment - Cobo Agentic Wallet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol. Protocol selection (required protocol field in the request body): - x402: provide the x402_payment_required challenge object received from the payee server. - mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token. Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing. The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agent-wallet-manual.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Create+payment\u0026amp;description=Signs+and+submits+a+payment+on+behalf+of+the+specified+wallet+using+either+the+x402+or+MPP+protocol.%0A%0A**Protocol+selection**+%28required+%60protocol%60+field+in+the+r\u0026amp;theme=97b0a8ee4a6acad46a8f001b\u0026amp;signature=166415bc4c3620af0dc4d9ec07bca118f1c8c0d09e236e9e0be81793ccc13ced\">\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=\"Create payment - Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol. Protocol selection (required protocol field in the request body): - x402: provide the x402_payment_required challenge object received from the payee server. - mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token. Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing. The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agent-wallet-manual.mintlify.site/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Create+payment\u0026amp;description=Signs+and+submits+a+payment+on+behalf+of+the+specified+wallet+using+either+the+x402+or+MPP+protocol.%0A%0A**Protocol+selection**+%28required+%60protocol%60+field+in+the+r\u0026amp;theme=97b0a8ee4a6acad46a8f001b\u0026amp;signature=166415bc4c3620af0dc4d9ec07bca118f1c8c0d09e236e9e0be81793ccc13ced\">\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/agent-wallet-manual/U8EG1aN13-phUo4z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cobo Agentic Wallet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F32D6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/products/agentic-wallet/manual/reference/payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\",\"name\":\"Cobo Agentic Wallet\",\"url\":\"https://agent-wallet-manual.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agent-wallet-manual/NNmNUU0KRwsRQQLC/products/agentic-wallet/manual/logo/light.svg?fit=max\u0026auto=format\u0026n=NNmNUU0KRwsRQQLC\u0026q=85\u0026s=ff7a7c1c88a71bc9c553ffcaafcd99d3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://agent-wallet-manual.mintlify.app#website\",\"name\":\"Cobo Agentic Wallet\",\"url\":\"https://agent-wallet-manual.mintlify.app\",\"publisher\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment#webpage\",\"url\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment\",\"name\":\"Create payment\",\"description\":\"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol. Protocol selection (required protocol field in the request body): - x402: provide the x402_payment_required challenge object received from the payee server. - mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token. Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing. The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.\",\"dateModified\":\"2026-11-03T02:18:19.004Z\",\"isPartOf\":{\"@id\":\"https://agent-wallet-manual.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transactions\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/list-recent-addresses-by-user\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create payment\",\"item\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment#apireference\",\"headline\":\"Create payment\",\"name\":\"Create payment\",\"description\":\"Signs and submits a payment on behalf of the specified wallet using either the x402 or MPP protocol. Protocol selection (required protocol field in the request body): - x402: provide the x402_payment_required challenge object received from the payee server. - mpp: provide the mpp_www_authenticate challenge string and, optionally, an mpp_session token. Idempotency: if you supply a request_id, the endpoint checks for a previously completed transaction with the same request_id for this wallet. When a match is found the original result is returned immediately (idempotent: true) together with the original response headers (retry_headers) so you can replay the HTTP payment call without re-signing. The wallet must be active (non-archived) and your principal must hold the WALLET_TRANSFER permission for the target wallet.\",\"url\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment\",\"mainEntityOfPage\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/products/agentic-wallet/manual/reference/payment#webpage\"},\"dateModified\":\"2026-11-03T02:18:19.004Z\",\"publisher\":{\"@id\":\"https://agent-wallet-manual.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://agent-wallet-manual.mintlify.app#website\"}}]}\u003c/script>","agentPointerHref":"/products/agentic-wallet/manual/reference/payment.md","siteName":"Cobo Agentic Wallet","nav":{"global":null,"tabs":[{"tab":"Start Here","pages":[{"title":"Start Here","href":"/products/agentic-wallet/manual/start-here/introduction"}]},{"tab":"For Agent Owners","pages":[{"title":"For Agent Owners","href":"/products/agentic-wallet/manual/owners/features"}]},{"tab":"For Agent Developers","pages":[{"title":"For Agent Developers","href":"/products/agentic-wallet/manual/developer/quickstart-overview"}]},{"tab":"Security \u0026 Controls","pages":[{"title":"Security \u0026 Controls","href":"/products/agentic-wallet/manual/security/overview"}]},{"tab":"Reference","groups":[{"group":"General","pages":[{"title":"Supported chains","href":"/products/agentic-wallet/manual/reference/supported-chains"},{"title":"Pact policies and completion conditions","href":"/products/agentic-wallet/manual/reference/pact-policies"}]},{"group":"CLI","pages":[{"title":"CLI","icon":"terminal","sidebarTitle":"CLI Reference","href":"/products/agentic-wallet/manual/reference/cli"}]},{"group":"API reference","pages":[{"title":"Overview","href":"/products/agentic-wallet/manual/reference/overview"},{"group":"Identity","pages":[{"openapi":"post /api/v1/principals/provision","title":"Provision agent","href":"/products/agentic-wallet/manual/reference/provision-agent"},{"openapi":"get /api/v1/principals/{agent_id}/status","title":"Get agent status","href":"/products/agentic-wallet/manual/reference/get-agent-status"},{"openapi":"get /api/v1/principals/agents","title":"List my agents","href":"/products/agentic-wallet/manual/reference/list-my-agents"},{"openapi":"patch /api/v1/principals/{principal_id}","title":"Update principal","href":"/products/agentic-wallet/manual/reference/update-principal"},{"openapi":"post /api/v1/api-keys","title":"Create API key","href":"/products/agentic-wallet/manual/reference/create-api-key"},{"openapi":"get /api/v1/api-keys","title":"List API keys","href":"/products/agentic-wallet/manual/reference/list-api-keys"},{"openapi":"delete /api/v1/api-keys/{api_key_id}","title":"Revoke API key","href":"/products/agentic-wallet/manual/reference/revoke-api-key"}]},{"group":"Wallets","pages":[{"openapi":"post /api/v1/wallets","title":"Create wallet","href":"/products/agentic-wallet/manual/reference/create-wallet"},{"openapi":"get /api/v1/wallets","title":"List all wallets","href":"/products/agentic-wallet/manual/reference/list-wallets"},{"openapi":"get /api/v1/wallets/{wallet_uuid}","title":"Get wallet","href":"/products/agentic-wallet/manual/reference/get-wallet"},{"openapi":"patch /api/v1/wallets/{wallet_uuid}","title":"Update wallet","href":"/products/agentic-wallet/manual/reference/update-wallet"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/reshare","title":"Initiate wallet reshare","href":"/products/agentic-wallet/manual/reference/wallet-reshare"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/tss/callback","title":"Report TSS request callback","href":"/products/agentic-wallet/manual/reference/wallet-tss-callback"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/addresses","title":"Create wallet address","href":"/products/agentic-wallet/manual/reference/create-wallet-address"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/addresses","title":"List wallet addresses","href":"/products/agentic-wallet/manual/reference/list-wallet-addresses"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/node-status","title":"Get node status","href":"/products/agentic-wallet/manual/reference/get-wallet-node-status"},{"openapi":"get /api/v1/wallets/pairs/info/{wallet_uuid}","title":"Get pair info by wallet","href":"/products/agentic-wallet/manual/reference/get-pair-info-by-wallet"},{"openapi":"get /api/v1/wallets/pairs/{token}","title":"Get pair info by token","href":"/products/agentic-wallet/manual/reference/get-pair-info"},{"openapi":"post /api/v1/wallets/pairs/initiate","title":"Initiate wallet pairing (or restore code)","href":"/products/agentic-wallet/manual/reference/initiate-wallet-pair"},{"openapi":"post /api/v1/wallets/pairs/confirm","title":"Confirm wallet pairing","href":"/products/agentic-wallet/manual/reference/confirm-wallet-pair"}]},{"group":"Balance","pages":[{"openapi":"get /api/v1/wallets/balances","title":"List token balances","href":"/products/agentic-wallet/manual/reference/list-balances"}]},{"group":"Transactions","pages":[{"openapi":"get /api/v1/wallets/recent-addresses","title":"List recent addresses for current user","href":"/products/agentic-wallet/manual/reference/list-recent-addresses-by-user"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transfer","title":"Transfer tokens","href":"/products/agentic-wallet/manual/reference/transfer-tokens"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/estimate-transfer-fee","title":"Estimate transfer fee","href":"/products/agentic-wallet/manual/reference/estimate-transfer-fee"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/contract-call","title":"Call contract","href":"/products/agentic-wallet/manual/reference/contract-call"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/estimate-contract-call-fee","title":"Estimate contract call fee","href":"/products/agentic-wallet/manual/reference/estimate-contract-call-fee"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/message-sign","title":"Sign a message","href":"/products/agentic-wallet/manual/reference/message-sign"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/recent-addresses","title":"List recent addresses","href":"/products/agentic-wallet/manual/reference/list-recent-addresses"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transactions/{transaction_uuid}/drop","title":"Drop transaction","href":"/products/agentic-wallet/manual/reference/drop-transaction"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/transactions/{transaction_uuid}/speedup","title":"Speed up transaction","href":"/products/agentic-wallet/manual/reference/speedup-transaction"},{"openapi":"post /api/v1/wallets/webhook","title":"Handle WaaS webhook","description":"This endpoint receives webhook events from the Cobo WaaS platform and processes transaction status updates and balance changes. Requests must include valid `biz-timestamp` and `biz-resp-signature` headers for signature verification.","href":"/products/agentic-wallet/manual/reference/handle-waas-webhook"},{"openapi":"post /api/v1/wallets/{wallet_uuid}/payment","title":"Create payment","href":"/products/agentic-wallet/manual/reference/payment"}]},{"group":"Transaction records","pages":[{"openapi":"get /api/v1/wallets/transactions","title":"List transaction records","description":"This operation retrieves on-chain transaction records, including transfers, contract calls, and deposits. When `wallet_uuid` is provided, records are scoped to that wallet (with permission enforcement). When omitted, records across all wallets visible to the authenticated principal are returned. Use cursor-based pagination with `after`/`before`.","href":"/products/agentic-wallet/manual/reference/list-user-transactions"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/transactions/by-request-id/{request_id}","title":"Get transaction record by request id","href":"/products/agentic-wallet/manual/reference/get-user-transaction-by-request-id"},{"openapi":"get /api/v1/wallets/transactions/{record_uuid}","title":"Get transaction record by record id","href":"/products/agentic-wallet/manual/reference/get-user-transaction-by-uuid"},{"openapi":"get /api/v1/wallets/{wallet_uuid}/transactions/{record_uuid}","title":"Get transaction record","href":"/products/agentic-wallet/manual/reference/get-user-transaction"}]},{"group":"Pacts","pages":[{"openapi":"post /api/v1/pacts/submit","title":"Submit pact for approval","href":"/products/agentic-wallet/manual/reference/submit-pact"},{"openapi":"get /api/v1/pacts","title":"List pacts","href":"/products/agentic-wallet/manual/reference/list-pacts"},{"openapi":"get /api/v1/wallets/{wallet_id}/pacts/stats","title":"Get wallet pact statistics","href":"/products/agentic-wallet/manual/reference/get-wallet-pact-stats"},{"openapi":"get /api/v1/wallets/{wallet_id}/pacts/history","title":"Get wallet pact history","href":"/products/agentic-wallet/manual/reference/get-wallet-pact-history"},{"openapi":"get /api/v1/pacts/{pact_id}","title":"Get pact detail","href":"/products/agentic-wallet/manual/reference/get-pact"},{"openapi":"post /api/v1/pacts/{pact_id}/revoke","title":"Revoke active pact","href":"/products/agentic-wallet/manual/reference/revoke-pact"},{"openapi":"post /api/v1/pacts/{pact_id}/withdraw","title":"Withdraw pending pact","href":"/products/agentic-wallet/manual/reference/withdraw-pact"},{"openapi":"patch /api/v1/pacts/{pact_id}/completion-conditions","title":"Update completion conditions","href":"/products/agentic-wallet/manual/reference/update-completion-conditions"},{"openapi":"patch /api/v1/pacts/{pact_id}/policies","title":"Update pact policies","href":"/products/agentic-wallet/manual/reference/update-policies"},{"openapi":"get /api/v1/pacts/{pact_id}/events","title":"List pact events","href":"/products/agentic-wallet/manual/reference/list-pact-events"}]},{"group":"Pending operations","pages":[{"openapi":"get /api/v1/pending-operations","title":"List pending operations","href":"/products/agentic-wallet/manual/reference/list-pending-operations"},{"openapi":"get /api/v1/pending-operations/{pending_operation_id}","title":"Get pending operation","href":"/products/agentic-wallet/manual/reference/get-pending-operation"},{"openapi":"post /api/v1/pending-operations/{pending_operation_id}/approve","title":"Approve pending operation","href":"/products/agentic-wallet/manual/reference/approve-pending-operation"},{"openapi":"post /api/v1/pending-operations/{pending_operation_id}/reject","title":"Reject pending operation","href":"/products/agentic-wallet/manual/reference/reject-pending-operation"}]},{"group":"Audit","pages":[{"openapi":"get /api/v1/audit-logs","title":"List audit logs","href":"/products/agentic-wallet/manual/reference/list-audit-logs"}]},{"group":"Metadata","pages":[{"openapi":"get /api/v1/metadata/chains","title":"List supported chains","href":"/products/agentic-wallet/manual/reference/list-chains"},{"openapi":"get /api/v1/metadata/assets","title":"List supported assets","href":"/products/agentic-wallet/manual/reference/list-assets"},{"openapi":"get /api/v1/metadata/tokens/search","title":"Search tokens by symbol","href":"/products/agentic-wallet/manual/reference/search-tokens"},{"openapi":"get /api/v1/metadata/chains/{chain_id}/info","title":"Get chain info","href":"/products/agentic-wallet/manual/reference/get-chain-info-by-chain-id"},{"openapi":"post /api/v1/metadata/eth-call","title":"Call a view/pure function on an EVM contract","href":"/products/agentic-wallet/manual/reference/eth-call"}]},{"group":"Coin price","pages":[{"openapi":"get /api/v1/coin-price","title":"Get coin prices","href":"/products/agentic-wallet/manual/reference/get-asset-coin-prices"}]},{"group":"Faucet","pages":[{"openapi":"post /api/v1/faucet/deposit","title":"Request faucet deposit","href":"/products/agentic-wallet/manual/reference/deposit"},{"openapi":"get /api/v1/faucet/tokens","title":"List faucet tokens","href":"/products/agentic-wallet/manual/reference/list-tokens"}]},{"group":"Recipes","pages":[{"openapi":"post /api/v1/recipes/search","title":"Search recipes","href":"/products/agentic-wallet/manual/reference/search-recipes"}]}]}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/products/agentic-wallet/manual/learn/overview"}]}]},"basePath":"","title":"Create payment - Cobo Agentic Wallet","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}