Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Daimo","colors":{"primary":"#009110","light":"#6fba6c","dark":"#127b17"},"logo":{"light":"https://mintcdn.com/daimo/9lH0w9xCPumaY8Il/logo.svg?fit=max\u0026auto=format\u0026n=9lH0w9xCPumaY8Il\u0026q=85\u0026s=64db2bb549081a11580068f5169bdf5a","dark":"https://mintcdn.com/daimo/9lH0w9xCPumaY8Il/logo-dark.svg?fit=max\u0026auto=format\u0026n=9lH0w9xCPumaY8Il\u0026q=85\u0026s=dacd44f92cafcfcf4a79c2744cb94be7"},"favicon":"https://mintcdn.com/daimo/9lH0w9xCPumaY8Il/favicon.svg?fit=max\u0026auto=format\u0026n=9lH0w9xCPumaY8Il\u0026q=85\u0026s=db5cd79782ff6a218bb97c98b01049fb","styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"daimo","hasAudioNarration":false,"actualSubdomain":"daimo","customDomains":["docs.daimo.com"],"gitSource":{"type":"github","owner":"daimo-eth","repo":"daimo-internal","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af633bdc9aed49005cc059a","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Guide","count":16},{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"Accept Deposits","count":9},{"language":"default","tag":"Webhooks","count":5},{"language":"default","tag":"Sessions","count":4},{"language":"default","tag":"Advanced","count":3},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Withdrawals","count":1},{"language":"default","tag":"Resources","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/create-payment-method","slug":"/api-reference/create-payment-method","pageMetadata":{"title":"Create payment method","description":"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{sessionId}/paymentMethods","href":"/api-reference/create-payment-method","autogeneratedByOpenApi":true},"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: \"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\"\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":{"title":"Create payment method","description":"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{sessionId}/paymentMethods","href":"/api-reference/create-payment-method","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create payment method","description":"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.","parameters":["742bed26-11ec-4740-ba90-a55df09e1937"],"requestBody":"5a028a64-18c1-4c25-97d4-83645de65ea3","responses":{"201":"a6d0bd77-9a93-4851-b44c-4e3d7b776963","400":"70e5ae22-da7a-4476-99c9-1bac1b67d011","401":"9e8002e6-2421-4834-80f1-4c344ffae3ef","404":"367ffb57-a50a-4a55-9364-74b8bf05c777"},"method":"post","type":"path","servers":["b96ac1b4-d6b8-4971-a9c7-00c2fbf6d8d9"],"security":[],"path":"/v1/sessions/{sessionId}/paymentMethods","baseUrlOptions":["https://api.daimo.com"],"title":"Create payment method","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"742bed26-11ec-4740-ba90-a55df09e1937":{"schema":{"type":"string","description":"32-character hex session ID","example":"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"sessionId","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"clientSecret":{"type":"string","description":"Per-session client secret","isRequired":true,"uniqueKey":"clientSecret","typeLabel":"string"},"paymentMethod":{"oneOf":[{"type":"object","description":"EVM payment method","required":["type"],"properties":{"type":{"type":"string","enum":["evm"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.0","typeLabel":"object"},{"type":"object","description":"Tron payment method","required":["type","amountUsd"],"properties":{"type":{"type":"string","enum":["tron"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.type","typeLabel":"enum\u003cstring>"},"amountUsd":{"type":"number","exclusiveMinimum":0,"description":"Deposit amount in USD","example":10,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1.amountUsd","typeLabel":"number"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.1","typeLabel":"object"},{"type":"object","description":"Solana payment method","required":["type","walletAddress","inputTokenMint","amountUsd"],"properties":{"type":{"type":"string","enum":["solana"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.2.type","typeLabel":"enum\u003cstring>"},"walletAddress":{"type":"string","minLength":1,"description":"User's Solana wallet address","isRequired":true,"uniqueKey":"paymentMethod.oneOf.2.walletAddress","typeLabel":"string"},"inputTokenMint":{"type":"string","minLength":1,"description":"Solana token mint address to pay with","isRequired":true,"uniqueKey":"paymentMethod.oneOf.2.inputTokenMint","typeLabel":"string"},"amountUsd":{"type":"number","exclusiveMinimum":0,"description":"Deposit amount in USD","example":10,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.2.amountUsd","typeLabel":"number"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.2","typeLabel":"object"},{"type":"object","description":"Exchange payment method","required":["type","exchangeId","amountUsd"],"properties":{"type":{"type":"string","enum":["exchange"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.3.type","typeLabel":"enum\u003cstring>"},"exchangeId":{"type":"string","enum":["Coinbase","Binance","BinanceUSDC","BinanceUSDT","CashApp","Lemon","BitgetExchange","BybitExchange","MtPelerin","RevolutRamp"],"description":"Exchange provider","isRequired":true,"uniqueKey":"paymentMethod.oneOf.3.exchangeId","typeLabel":"enum\u003cstring>"},"amountUsd":{"type":"number","exclusiveMinimum":0,"description":"Deposit amount in USD","example":10,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.3.amountUsd","typeLabel":"number"},"platform":{"type":"string","enum":["ios","android","other","desktop","mobile"],"description":"Client platform for deeplink behavior","uniqueKey":"paymentMethod.oneOf.3.platform","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.3","typeLabel":"object"},{"type":"object","description":"Currency-aware hosted payment method","required":["type","exchangeId","sourceAmount"],"properties":{"type":{"type":"string","enum":["exchange"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.4.type","typeLabel":"enum\u003cstring>"},"exchangeId":{"type":"string","enum":["Coinbase","Binance","BinanceUSDC","BinanceUSDT","CashApp","Lemon","BitgetExchange","BybitExchange","MtPelerin","RevolutRamp"],"description":"Hosted payment provider","isRequired":true,"uniqueKey":"paymentMethod.oneOf.4.exchangeId","typeLabel":"enum\u003cstring>"},"sourceAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 source currency","example":"EUR","isRequired":true,"uniqueKey":"paymentMethod.oneOf.4.sourceAmount.currency","typeLabel":"string"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)(\\.\\d+)?$","description":"Decimal source-currency units","example":"25.50","isRequired":true,"uniqueKey":"paymentMethod.oneOf.4.sourceAmount.units","typeLabel":"string"}},"required":["currency","units"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.4.sourceAmount","typeLabel":"object"},"platform":{"type":"string","enum":["ios","android","other","desktop","mobile"],"description":"Client platform for deeplink behavior","uniqueKey":"paymentMethod.oneOf.4.platform","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.4","typeLabel":"object"},{"type":"object","description":"Stripe Onramp payment method","required":["type","amountUsd"],"properties":{"type":{"type":"string","enum":["stripe"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.5.type","typeLabel":"enum\u003cstring>"},"amountUsd":{"type":"number","exclusiveMinimum":0,"description":"Deposit amount in USD","example":10,"isRequired":true,"uniqueKey":"paymentMethod.oneOf.5.amountUsd","typeLabel":"number"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.5","typeLabel":"object"},{"type":"object","description":"Fiat payment method","required":["type"],"properties":{"type":{"type":"string","enum":["fiat"],"isRequired":true,"uniqueKey":"paymentMethod.oneOf.6.type","typeLabel":"enum\u003cstring>"},"fiatMethod":{"type":"string","enum":["interac","ach","sepa","apple_pay","google_pay","jpyc","ars","breb"],"description":"Pins the hosted flow to one rail. If omitted, the hosted page shows every fiat method enabled for the org.","example":"interac","uniqueKey":"paymentMethod.oneOf.6.fiatMethod","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"paymentMethod.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"paymentMethod","typeLabel":"object"}},"required":["clientSecret","paymentMethod"],"uniqueKey":"","typeLabel":"object"},"example":{"clientSecret":"d7a8f3b2e1c94a6db8f0e2a7c3d5b9f1","paymentMethod":{"type":"evm"}},"examples":{"Example":{"title":"Example","value":{"clientSecret":"d7a8f3b2e1c94a6db8f0e2a7c3d5b9f1","paymentMethod":{"type":"evm"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a6d0bd77-9a93-4851-b44c-4e3d7b776963":{"description":"Payment method created","content":{"application/json":{"schema":{"type":"object","properties":{"session":{"type":"object","properties":{"sessionId":{"type":"string","description":"Session ID","isRequired":true,"uniqueKey":"session.sessionId","typeLabel":"string"},"status":{"type":"string","enum":["requires_payment_method","waiting_payment","processing","succeeded","bounced","expired"],"description":"Current session status","example":"requires_payment_method","isRequired":true,"uniqueKey":"session.status","typeLabel":"enum\u003cstring>"},"destination":{"oneOf":[{"type":"object","required":["type","address","chainId","chainName","tokenAddress","tokenSymbol"],"properties":{"type":{"type":"string","enum":["evm"],"description":"Always \"evm\"","isRequired":true,"uniqueKey":"session.destination.oneOf.0.type","typeLabel":"enum\u003cstring>"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Destination address","isRequired":true,"uniqueKey":"session.destination.oneOf.0.address","typeLabel":"string"},"chainId":{"type":"number","description":"Destination chain ID","example":8453,"isRequired":true,"uniqueKey":"session.destination.oneOf.0.chainId","typeLabel":"number"},"chainName":{"type":"string","description":"Destination chain name","example":"Base","isRequired":true,"uniqueKey":"session.destination.oneOf.0.chainName","typeLabel":"string"},"tokenAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Destination token address","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","isRequired":true,"uniqueKey":"session.destination.oneOf.0.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","description":"Destination token symbol","example":"USDC","isRequired":true,"uniqueKey":"session.destination.oneOf.0.tokenSymbol","typeLabel":"string"},"amountUnits":{"type":"string","description":"Requested amount in token units","example":"10.00","uniqueKey":"session.destination.oneOf.0.amountUnits","typeLabel":"string"},"calldata":{"type":"string","pattern":"^0x[0-9a-fA-F]*$","description":"Hex-encoded calldata for contract calls","uniqueKey":"session.destination.oneOf.0.calldata","typeLabel":"string"},"delivery":{"type":"object","properties":{"txHash":{"type":"string","pattern":"^0x[0-9a-fA-F]*$","description":"Delivery transaction hash","isRequired":true,"uniqueKey":"session.destination.oneOf.0.delivery.txHash","typeLabel":"string"},"receivedUnits":{"type":"string","description":"Amount actually received","isRequired":true,"uniqueKey":"session.destination.oneOf.0.delivery.receivedUnits","typeLabel":"string"}},"required":["txHash","receivedUnits"],"description":"Set once funds are delivered","uniqueKey":"session.destination.oneOf.0.delivery","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.destination.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","address","tokenAddress","tokenSymbol"],"properties":{"type":{"type":"string","enum":["solana"],"description":"Always \"solana\"","isRequired":true,"uniqueKey":"session.destination.oneOf.1.type","typeLabel":"enum\u003cstring>"},"address":{"type":"string","description":"Destination address (base58)","example":"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU","isRequired":true,"uniqueKey":"session.destination.oneOf.1.address","typeLabel":"string"},"tokenAddress":{"type":"string","description":"Destination token mint (base58). USDC only.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"session.destination.oneOf.1.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","description":"Destination token symbol","example":"USDC","isRequired":true,"uniqueKey":"session.destination.oneOf.1.tokenSymbol","typeLabel":"string"},"amountUnits":{"type":"string","description":"Requested amount in token units","example":"10.00","uniqueKey":"session.destination.oneOf.1.amountUnits","typeLabel":"string"},"delivery":{"type":"object","properties":{"txHash":{"type":"string","description":"Delivery transaction signature","isRequired":true,"uniqueKey":"session.destination.oneOf.1.delivery.txHash","typeLabel":"string"},"receivedUnits":{"type":"string","description":"Amount actually received","isRequired":true,"uniqueKey":"session.destination.oneOf.1.delivery.receivedUnits","typeLabel":"string"}},"required":["txHash","receivedUnits"],"description":"Set once funds are delivered","uniqueKey":"session.destination.oneOf.1.delivery","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.destination.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","address","tokenAddress","tokenSymbol"],"properties":{"type":{"type":"string","enum":["tron"],"description":"Always \"tron\"","isRequired":true,"uniqueKey":"session.destination.oneOf.2.type","typeLabel":"enum\u003cstring>"},"address":{"type":"string","description":"Destination address (base58)","example":"TTbM6AR9cEqXzqMaTqTTf4wC6h1bj6mY6N","isRequired":true,"uniqueKey":"session.destination.oneOf.2.address","typeLabel":"string"},"tokenAddress":{"type":"string","description":"Destination token address (base58). USDT only.","example":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","isRequired":true,"uniqueKey":"session.destination.oneOf.2.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","description":"Destination token symbol","example":"USDT","isRequired":true,"uniqueKey":"session.destination.oneOf.2.tokenSymbol","typeLabel":"string"},"amountUnits":{"type":"string","description":"Requested amount in token units","example":"10.00","uniqueKey":"session.destination.oneOf.2.amountUnits","typeLabel":"string"},"delivery":{"type":"object","properties":{"txHash":{"type":"string","description":"Delivery transaction ID","isRequired":true,"uniqueKey":"session.destination.oneOf.2.delivery.txHash","typeLabel":"string"},"receivedUnits":{"type":"string","description":"Amount actually received","isRequired":true,"uniqueKey":"session.destination.oneOf.2.delivery.receivedUnits","typeLabel":"string"}},"required":["txHash","receivedUnits"],"description":"Set once funds are delivered","uniqueKey":"session.destination.oneOf.2.delivery","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.destination.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"session.destination","typeLabel":"object"},"display":{"type":"object","properties":{"title":{"type":"string","description":"Title shown in the payment modal","isRequired":true,"uniqueKey":"session.display.title","typeLabel":"string"},"verb":{"type":"string","description":"One-word verb for CTAs","example":"Deposit","isRequired":true,"uniqueKey":"session.display.verb","typeLabel":"string"},"themeCssUrl":{"type":"string","description":"Custom theme CSS URL","uniqueKey":"session.display.themeCssUrl","typeLabel":"string"},"themeMode":{"type":"string","enum":["system","light","dark"],"description":"Org-controlled theme mode. Defaults to system.","example":"system","uniqueKey":"session.display.themeMode","typeLabel":"enum\u003cstring>"}},"required":["title","verb"],"isRequired":true,"uniqueKey":"session.display","typeLabel":"object"},"paymentMethod":{"oneOf":[{"type":"object","required":["type","receiverAddress","createdAt"],"properties":{"type":{"type":"string","enum":["evm"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.type","typeLabel":"enum\u003cstring>"},"receiverAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address that receives user's funds","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.receiverAddress","typeLabel":"string"},"createdAt":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.createdAt","typeLabel":"number"},"source":{"type":"object","properties":{"chainId":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.source.chainId","typeLabel":"number"},"chainName":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.source.chainName","typeLabel":"string"},"tokenAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Checksummed Ethereum address","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.source.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.source.tokenSymbol","typeLabel":"string"},"sentUnits":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0.source.sentUnits","typeLabel":"string"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Checksummed Ethereum address","uniqueKey":"session.paymentMethod.oneOf.0.source.address","typeLabel":"string"},"txHash":{"type":"string","pattern":"^0x[0-9a-fA-F]*$","description":"Hex-encoded bytes","uniqueKey":"session.paymentMethod.oneOf.0.source.txHash","typeLabel":"string"}},"required":["chainId","chainName","tokenAddress","tokenSymbol","sentUnits"],"uniqueKey":"session.paymentMethod.oneOf.0.source","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","receiverAddress","createdAt"],"properties":{"type":{"type":"string","enum":["tron"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.type","typeLabel":"enum\u003cstring>"},"receiverAddress":{"type":"string","description":"Tron receiver address","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.receiverAddress","typeLabel":"string"},"createdAt":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.createdAt","typeLabel":"number"},"source":{"type":"object","properties":{"chainId":{"type":"number","enum":[728126428],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.source.chainId","typeLabel":"enum\u003cnumber>"},"chainName":{"type":"string","enum":["tron"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.source.chainName","typeLabel":"enum\u003cstring>"},"tokenAddress":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.source.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.source.tokenSymbol","typeLabel":"string"},"sentUnits":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1.source.sentUnits","typeLabel":"string"},"address":{"type":"string","uniqueKey":"session.paymentMethod.oneOf.1.source.address","typeLabel":"string"},"txHash":{"type":"string","uniqueKey":"session.paymentMethod.oneOf.1.source.txHash","typeLabel":"string"}},"required":["chainId","chainName","tokenAddress","tokenSymbol","sentUnits"],"uniqueKey":"session.paymentMethod.oneOf.1.source","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","createdAt"],"properties":{"type":{"type":"string","enum":["solana"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.type","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.createdAt","typeLabel":"number"},"source":{"type":"object","properties":{"chainId":{"type":"number","enum":[501],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.source.chainId","typeLabel":"enum\u003cnumber>"},"chainName":{"type":"string","enum":["solana"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.source.chainName","typeLabel":"enum\u003cstring>"},"tokenAddress":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.source.tokenAddress","typeLabel":"string"},"tokenSymbol":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.source.tokenSymbol","typeLabel":"string"},"sentUnits":{"type":"string","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2.source.sentUnits","typeLabel":"string"},"address":{"type":"string","uniqueKey":"session.paymentMethod.oneOf.2.source.address","typeLabel":"string"},"txHash":{"type":"string","uniqueKey":"session.paymentMethod.oneOf.2.source.txHash","typeLabel":"string"}},"required":["chainId","chainName","tokenAddress","tokenSymbol","sentUnits"],"uniqueKey":"session.paymentMethod.oneOf.2.source","typeLabel":"object"}},"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.2","typeLabel":"object"},{"type":"object","required":["type","createdAt"],"properties":{"type":{"type":"string","enum":["stripe"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.3.type","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.3.createdAt","typeLabel":"number"}},"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.3","typeLabel":"object"},{"type":"object","required":["type","createdAt"],"properties":{"type":{"type":"string","enum":["fiat"],"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.4.type","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"number","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.4.createdAt","typeLabel":"number"},"fiatMethod":{"type":"string","enum":["interac","ach","sepa","apple_pay","google_pay","jpyc","ars","breb"],"description":"Selected fiat method, when known","example":"interac","uniqueKey":"session.paymentMethod.oneOf.4.fiatMethod","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.4","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"session.paymentMethod.oneOf.5","typeLabel":"null"}],"isRequired":true,"uniqueKey":"session.paymentMethod","typeLabel":"object · object · object · object · object · null"},"createdAt":{"type":"number","description":"Unix timestamp (seconds)","example":1700000000,"isRequired":true,"uniqueKey":"session.createdAt","typeLabel":"number"},"expiresAt":{"type":"number","description":"Unix timestamp (seconds)","example":1700003600,"isRequired":true,"uniqueKey":"session.expiresAt","typeLabel":"number"}},"required":["sessionId","status","destination","display","paymentMethod","createdAt","expiresAt"],"isRequired":true,"uniqueKey":"session","typeLabel":"object"},"tron":{"type":"object","properties":{"receiverAddress":{"type":"string","description":"Temporary Tron deposit address","isRequired":true,"uniqueKey":"tron.receiverAddress","typeLabel":"string"},"expiresAt":{"type":"number","description":"Expiration time (unix seconds)","isRequired":true,"uniqueKey":"tron.expiresAt","typeLabel":"number"},"deeplinks":{"type":"object","properties":{"trustWallet":{"type":"object","properties":{"url":{"type":"string","description":"Trust Wallet Tron USDT send deeplink for this address and amount","isRequired":true,"uniqueKey":"tron.deeplinks.trustWallet.url","typeLabel":"string"},"label":{"type":"string","enum":["USDT on Tron"],"description":"Display label for the Trust Wallet deeplink","isRequired":true,"uniqueKey":"tron.deeplinks.trustWallet.label","typeLabel":"enum\u003cstring>"}},"required":["url","label"],"uniqueKey":"tron.deeplinks.trustWallet","typeLabel":"object"}},"description":"Optional Tron wallet deeplinks","uniqueKey":"tron.deeplinks","typeLabel":"object"}},"required":["receiverAddress","expiresAt"],"description":"Tron-specific response data","uniqueKey":"tron","typeLabel":"object"},"solana":{"type":"object","properties":{"serializedTx":{"type":"string","description":"Hex-encoded serialized Solana transaction to sign and submit","isRequired":true,"uniqueKey":"solana.serializedTx","typeLabel":"string"}},"required":["serializedTx"],"description":"Solana-specific response data","uniqueKey":"solana","typeLabel":"object"},"exchange":{"type":"object","properties":{"url":{"type":"string","description":"Hosted exchange or deeplink URL for the user to open","isRequired":true,"uniqueKey":"exchange.url","typeLabel":"string"},"waitingMessage":{"type":"string","description":"Copy to show while waiting for the exchange deposit","isRequired":true,"uniqueKey":"exchange.waitingMessage","typeLabel":"string"},"waitingInstructions":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Instruction text","isRequired":true,"uniqueKey":"exchange.waitingInstructions.items.[INDEX].text","typeLabel":"string"},"emphasis":{"type":"string","description":"Optional emphasized follow-up line displayed separately","uniqueKey":"exchange.waitingInstructions.items.[INDEX].emphasis","typeLabel":"string"}},"required":["text"],"uniqueKey":"exchange.waitingInstructions.items.[INDEX]","typeLabel":"object"},"description":"Structured copy to show while waiting for the exchange deposit","uniqueKey":"exchange.waitingInstructions","typeLabel":"object[]"},"expiresAt":{"type":"number","description":"Invoice expiry time (unix seconds). Present for Lightning invoices.","uniqueKey":"exchange.expiresAt","typeLabel":"number"}},"required":["url","waitingMessage"],"description":"Exchange-specific response data","uniqueKey":"exchange","typeLabel":"object"},"fiat":{"type":"object","properties":{"hostedUrl":{"type":"string","description":"Hosted URL where the user completes KYC and the selected fiat flow","isRequired":true,"uniqueKey":"fiat.hostedUrl","typeLabel":"string"},"fiatMethod":{"type":"string","enum":["interac","ach","sepa","apple_pay","google_pay","jpyc","ars","breb"],"description":"Selected fiat method for the hosted flow, when the payment method is pinned to one method","example":"interac","uniqueKey":"fiat.fiatMethod","typeLabel":"enum\u003cstring>"}},"required":["hostedUrl"],"description":"Fiat-specific response data","uniqueKey":"fiat","typeLabel":"object"},"stripe":{"type":"object","properties":{"onrampSessionClientSecret":{"type":"string","description":"Stripe OnrampSession client secret scoped to this onramp session. This is not the Stripe API secret key.","isRequired":true,"uniqueKey":"stripe.onrampSessionClientSecret","typeLabel":"string"},"publishableKey":{"type":"string","description":"Stripe publishable key for the onramp SDK","isRequired":true,"uniqueKey":"stripe.publishableKey","typeLabel":"string"},"redirectUrl":{"type":"string","description":"Stripe-hosted onramp URL","isRequired":true,"uniqueKey":"stripe.redirectUrl","typeLabel":"string"}},"required":["onrampSessionClientSecret","publishableKey","redirectUrl"],"description":"Stripe-specific response data","uniqueKey":"stripe","typeLabel":"object"}},"required":["session"],"uniqueKey":"","typeLabel":"object"},"example":{"session":{"sessionId":"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4","status":"waiting_payment","destination":{"type":"evm","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chainId":8453,"chainName":"Base","tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenSymbol":"USDC","amountUnits":"10.00"},"display":{"title":"Deposit to Acme","verb":"Deposit"},"paymentMethod":{"type":"evm","receiverAddress":"0x1234567890abcdef1234567890abcdef12345678","createdAt":1700000000},"createdAt":1700000000,"expiresAt":1700003600}},"examples":{"Example":{"title":"Example","value":{"session":{"sessionId":"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4","status":"waiting_payment","destination":{"type":"evm","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chainId":8453,"chainName":"Base","tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenSymbol":"USDC","amountUnits":"10.00"},"display":{"title":"Deposit to Acme","verb":"Deposit"},"paymentMethod":{"type":"evm","receiverAddress":"0x1234567890abcdef1234567890abcdef12345678","createdAt":1700000000},"createdAt":1700000000,"expiresAt":1700003600}}}},"exampleType":"examples"}},"exampleType":"examples"},"70e5ae22-da7a-4476-99c9-1bac1b67d011":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error category","example":"validation_error","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","example":"invalid_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description","example":"invalid session create request","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Parameter that caused the error","example":"body","uniqueKey":"error.param","typeLabel":"string"}},"required":["type","code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"validation_error","code":"invalid_parameter","message":"invalid session create request","param":"body"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9e8002e6-2421-4834-80f1-4c344ffae3ef":{"description":"Invalid client secret","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error category","example":"validation_error","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","example":"invalid_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description","example":"invalid session create request","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Parameter that caused the error","example":"body","uniqueKey":"error.param","typeLabel":"string"}},"required":["type","code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"validation_error","code":"invalid_parameter","message":"invalid session create request","param":"body"}}}},"exampleType":"generated"}},"exampleType":"generated"},"367ffb57-a50a-4a55-9364-74b8bf05c777":{"description":"Session not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error category","example":"validation_error","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code","example":"invalid_parameter","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description","example":"invalid session create request","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Parameter that caused the error","example":"body","uniqueKey":"error.param","typeLabel":"string"}},"required":["type","code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"validation_error","code":"invalid_parameter","message":"invalid session create request","param":"body"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"b96ac1b4-d6b8-4971-a9c7-00c2fbf6d8d9":{"url":"https://api.daimo.com"}}},"originalFileLocation":"openapi.json"},"subdomain":"daimo","siteName":"Daimo","title":"Create payment method - Daimo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T21:20:37.110Z","originalFileLocation":"api-reference/create-payment-method.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=\"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Daimo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_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/daimo/v0Gc6IuKr0Zv8Fs8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create payment method - Daimo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Daimo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.daimo.com/api-reference/create-payment-method\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://daimo.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Create+payment+method\u0026amp;description=Sets+the+payment+method+for+a+session.+Transitions+the+session+from+requires_payment_method+to+waiting_payment+and+returns+payment+data+for+the+selected+method.\u0026amp;theme=c79f996493a64e0ed1e8e326\u0026amp;signature=5a62737ebb75a2ecddf37e731c7cb331fbe477708c9829d114eaee8157a9f7cf\">\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 method - Daimo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://daimo.mintlify.site/_mintlify/api/og/v2?division=Sessions\u0026amp;title=Create+payment+method\u0026amp;description=Sets+the+payment+method+for+a+session.+Transitions+the+session+from+requires_payment_method+to+waiting_payment+and+returns+payment+data+for+the+selected+method.\u0026amp;theme=c79f996493a64e0ed1e8e326\u0026amp;signature=5a62737ebb75a2ecddf37e731c7cb331fbe477708c9829d114eaee8157a9f7cf\">\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/daimo/v0Gc6IuKr0Zv8Fs8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Daimo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#009110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.daimo.com/api-reference/create-payment-method\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/create-payment-method.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.daimo.com/#organization\",\"name\":\"Daimo\",\"url\":\"https://docs.daimo.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/daimo/9lH0w9xCPumaY8Il/logo.svg?fit=max\u0026auto=format\u0026n=9lH0w9xCPumaY8Il\u0026q=85\u0026s=64db2bb549081a11580068f5169bdf5a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.daimo.com#website\",\"name\":\"Daimo\",\"url\":\"https://docs.daimo.com\",\"publisher\":{\"@id\":\"https://docs.daimo.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.daimo.com/api-reference/create-payment-method#webpage\",\"url\":\"https://docs.daimo.com/api-reference/create-payment-method\",\"name\":\"Create payment method\",\"description\":\"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\",\"dateModified\":\"2026-10-19T21:20:37.110Z\",\"isPartOf\":{\"@id\":\"https://docs.daimo.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.daimo.com/api-reference/create-payment-method#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.daimo.com/api-reference/create-payment-method#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sessions\",\"item\":\"https://docs.daimo.com/api-reference/create-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create payment method\",\"item\":\"https://docs.daimo.com/api-reference/create-payment-method\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.daimo.com/api-reference/create-payment-method#apireference\",\"headline\":\"Create payment method\",\"name\":\"Create payment method\",\"description\":\"Sets the payment method for a session. Transitions the session from requires_payment_method to waiting_payment and returns payment data for the selected method. EVM and Tron return receiver addresses, Solana returns a serialized transaction to sign, exchanges return a hosted payment URL plus waiting copy, and fiat returns a hosted URL.\",\"url\":\"https://docs.daimo.com/api-reference/create-payment-method\",\"mainEntityOfPage\":{\"@id\":\"https://docs.daimo.com/api-reference/create-payment-method#webpage\"},\"dateModified\":\"2026-10-19T21:20:37.110Z\",\"publisher\":{\"@id\":\"https://docs.daimo.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.daimo.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Daimo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Daimo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/create-payment-method.md","siteName":"Daimo","nav":{"global":null,"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Overview","href":"/api-reference/overview"}]},{"group":"Sessions","pages":[{"title":"Create session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions","href":"/api-reference/create-session"},{"title":"Retrieve session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{sessionId}","href":"/api-reference/retrieve-session"},{"title":"Check session","description":"Checks the current status of a session. Optionally pass a txHash to hint that the user has sent a transaction, which can speed up detection.","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/sessions/{sessionId}/check","href":"/api-reference/check-session"},{"title":"Create payment method","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/{sessionId}/paymentMethods","href":"/api-reference/create-payment-method"}]},{"group":"External Integrations","pages":[{"title":"Import Sumsub KYC","description":"Imports reusable Sumsub KYC from a share token after matching its applicant email to the email asserted by the caller.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sumsub/import","href":"/api-reference/import-sumsub-kyc"}]},{"group":"Webhooks","pages":[{"title":"Create webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/create-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/list-webhook-endpoints"},{"title":"Retrieve webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{webhookId}","href":"/api-reference/retrieve-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{webhookId}","href":"/api-reference/delete-webhook-endpoint"},{"title":"Send test event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks/{webhookId}/test","href":"/api-reference/send-test-event"}]}]}]},"basePath":"","title":"Create payment method - Daimo","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}