{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StablePay 文档","description":"稳定、安全、易用的稳定币支付解决方案","colors":{"primary":"#2454fc","light":"#557efc","dark":"#d2eafb"},"logo":{"light":"https://mintcdn.com/stablepay-a1f5fa99/xOIDhGi9P3TuJYlm/images/%E8%8B%B1%E6%96%87logo.png?fit=max\u0026auto=format\u0026n=xOIDhGi9P3TuJYlm\u0026q=85\u0026s=c344e915c981d92f80998f8f5ec00792","dark":"https://mintcdn.com/stablepay-a1f5fa99/xOIDhGi9P3TuJYlm/images/%E8%8B%B1%E6%96%87logo.png?fit=max\u0026auto=format\u0026n=xOIDhGi9P3TuJYlm\u0026q=85\u0026s=c344e915c981d92f80998f8f5ec00792","href":"https://stablepayfi.ai/"},"favicon":"https://media.brand.dev/144a80cc-7738-4a39-9c0e-a2b7cbbf94ce.png","api":{"params":{"expanded":"closed"},"playground":{"display":"simple","proxy":true,"credentials":false},"examples":{"defaults":"all","languages":["bash","javascript"],"prefill":false,"autogenerate":false}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"seo":{"indexing":"navigable"},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"contextual":{"options":["copy","view","chatgpt"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"zh","default":true,"navbar":{"links":[{"href":"https://stablepayfi.ai/","label":"StablePay 官网"},{"href":"https://merchant.stablepayfi.ai/","label":"商户后台"}]},"href":"zh/product/Get-Started"},{"language":"en","navbar":{"links":[{"href":"https://stablepayfi.ai/","label":"StablePay Website"},{"href":"https://merchant.stablepayfi.ai/","label":"Merchant Portal"}]},"href":"en/product/Get-Started"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stablepay-a1f5fa99","hasAudioNarration":false,"actualSubdomain":"stablepay-a1f5fa99","customDomains":["docs.stablepayfi.ai"],"gitSource":{"type":"github","owner":"stablepayfi-ai","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae302ba264f7878df3f7f5c","collectionId":"68f11468-abd9-4d60-aa67-87835873633e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae302ba264f7878df3f7f5c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae302ba264f7878df3f7f5c","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"en","tag":"API","count":53},{"language":"zh","tag":"API 参考","count":53},{"language":"en","tag":"Product","count":20},{"language":"zh","tag":"产品文档","count":20},{"language":"en","tag":"Global Accounts API","count":17},{"language":"zh","tag":"全球账户 API","count":17},{"language":"en","tag":"Stablecoin Exchange API","count":10},{"language":"zh","tag":"稳定币兑换 API","count":10},{"language":"en","tag":"FAQ","count":9},{"language":"zh","tag":"常见问题","count":9},{"language":"en","tag":"Payouts API","count":7},{"language":"en","tag":"Reference","count":7},{"language":"zh","tag":"付款 API","count":7},{"language":"zh","tag":"参考","count":7},{"language":"en","tag":"Pay In","count":6},{"language":"zh","tag":"稳定币收单","count":6},{"language":"en","tag":"SaaS","count":4},{"language":"en","tag":"Payment API","count":4},{"language":"zh","tag":"SaaS接入","count":4},{"language":"zh","tag":"支付 API","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/payment-sessions/retrieve-a-payment-session","slug":"/api-reference/payment-sessions/retrieve-a-payment-session","pageMetadata":{"title":"Retrieve a payment session","description":"Retrieve a payment session by session ID.","deprecated":null,"version":null,"openapi":"/en/api/openapi.json get /api/v1/checkout/sessions/{session_id}","href":"/api-reference/payment-sessions/retrieve-a-payment-session","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: \"Retrieve a payment session by session ID.\"\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Retrieve a payment session","description":"Retrieve a payment session by session ID.","deprecated":null,"version":null,"openapi":"/en/api/openapi.json get /api/v1/checkout/sessions/{session_id}","href":"/api-reference/payment-sessions/retrieve-a-payment-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Payment Sessions"],"operationId":"getPaymentSession","summary":"Retrieve a payment session","description":"Retrieve a payment session by session ID.","parameters":["d4610820-1952-426a-be27-143596543baf","d955e480-473f-4b77-ab67-268098ab88a3","724f5d0d-a4ef-4ca8-9dfe-4ca491cc8f21","ed5ac05a-9c69-4e96-8c70-d08fbf02e8e0"],"responses":{"200":"cc617c73-981b-4bf4-81c0-15026d7a6ba0","400":"4ea08bb1-79f2-4fea-a9aa-5ecd1d7dd9bb","401":"bbc30147-47b1-416a-810f-b855d37197f1","404":"51b1f691-fabe-4402-a0fe-59515143f63f","500":"1e6f1425-f3db-4b84-9f7b-b53d4a7d697e"},"method":"get","type":"path","servers":["8b76ce6e-b076-4a84-88d9-daa47d86b6ee"],"security":["0d98d847-110b-4a2b-af4e-7b585299e2f5"],"path":"/api/v1/checkout/sessions/{session_id}","baseUrlOptions":["https://api.stablepay.co"],"title":"Retrieve a payment session","codeSamples":[],"requestExampleLanguages":["bash","javascript"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"responseExampleType":"generated"},"dependencies":{"parameters":{"d4610820-1952-426a-be27-143596543baf":{"name":"session_id","in":"path","required":true,"description":"Payment session ID.","schema":{"type":"string","isRequired":true,"description":"Payment session ID.","uniqueKey":"","typeLabel":"string"}},"d955e480-473f-4b77-ab67-268098ab88a3":{"name":"X-StablePay-Timestamp","in":"header","required":true,"description":"Unix timestamp in seconds. Must be within 5 minutes of server time.","schema":{"type":"string","isRequired":true,"description":"Unix timestamp in seconds. Must be within 5 minutes of server time.","uniqueKey":"","typeLabel":"string"},"example":"1735689600"},"724f5d0d-a4ef-4ca8-9dfe-4ca491cc8f21":{"name":"X-StablePay-Nonce","in":"header","required":true,"description":"Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.","schema":{"type":"string","minLength":16,"maxLength":64,"isRequired":true,"description":"Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.","uniqueKey":"","typeLabel":"string"},"example":"550e8400-e29b-41d4-a716-446655440000"},"ed5ac05a-9c69-4e96-8c70-d08fbf02e8e0":{"name":"X-StablePay-Signature","in":"header","required":true,"description":"Lowercase hex HMAC-SHA256 of `{timestamp}.{nonce}.{requestBody}` signed with the merchant API Secret. For GET requests, `requestBody` is an empty string.","schema":{"type":"string","isRequired":true,"description":"Lowercase hex HMAC-SHA256 of `{timestamp}.{nonce}.{requestBody}` signed with the merchant API Secret. For GET requests, `requestBody` is an empty string.","uniqueKey":"","typeLabel":"string"},"example":"a1b2c3d4e5f6..."}},"responses":{"cc617c73-981b-4bf4-81c0-15026d7a6ba0":{"description":"Retrieved successfully.","content":{"application/json":{"schema":{"type":"object","required":["id","amount_total","currency","payment_status","created","expires_at"],"properties":{"id":{"type":"string","description":"Payment session ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"amount_total":{"type":"integer","format":"int64","description":"Total amount in minor units.","isRequired":true,"uniqueKey":"amount_total","typeLabel":"integer\u003cint64>"},"currency":{"type":"string","description":"Merchant ledger currency, returned in lowercase.","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"payment_status":{"type":"string","enum":["pending","processing","paid","failed","expired","canceled"],"description":"Payment status. `confirming` is returned as `processing`; `completed` is returned as `paid`.","isRequired":true,"uniqueKey":"payment_status","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","format":"int64","description":"Creation time, Unix seconds.","isRequired":true,"uniqueKey":"created","typeLabel":"integer\u003cint64>"},"expires_at":{"type":"integer","format":"int64","description":"Expiration time, Unix seconds.","isRequired":true,"uniqueKey":"expires_at","typeLabel":"integer\u003cint64>"},"url":{"type":"string","format":"uri","description":"Checkout URL.","uniqueKey":"url","typeLabel":"string\u003curi>"},"line_items":{"type":"array","items":{"type":"object","required":["price_data","quantity"],"additionalProperties":false,"properties":{"price_data":{"type":"object","required":["currency","unit_amount","product_data"],"additionalProperties":false,"properties":{"currency":{"type":"string","description":"Item currency. Must match the top-level `currency`.","isRequired":true,"uniqueKey":"line_items.items.[INDEX].price_data.currency","typeLabel":"string"},"unit_amount":{"type":"integer","format":"int64","minimum":1,"description":"Unit amount in minor units.","isRequired":true,"uniqueKey":"line_items.items.[INDEX].price_data.unit_amount","typeLabel":"integer\u003cint64>"},"product_data":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"Product name. Cannot be empty.","isRequired":true,"uniqueKey":"line_items.items.[INDEX].price_data.product_data.name","typeLabel":"string"},"description":{"type":"string","description":"Product description.","uniqueKey":"line_items.items.[INDEX].price_data.product_data.description","typeLabel":"string"}},"isRequired":true,"uniqueKey":"line_items.items.[INDEX].price_data.product_data","typeLabel":"object"}},"isRequired":true,"uniqueKey":"line_items.items.[INDEX].price_data","typeLabel":"object"},"quantity":{"type":"integer","minimum":1,"description":"Item quantity. Must be greater than 0.","isRequired":true,"uniqueKey":"line_items.items.[INDEX].quantity","typeLabel":"integer"}},"uniqueKey":"line_items.items.[INDEX]","typeLabel":"object"},"description":"Line items.","uniqueKey":"line_items","typeLabel":"object[]"},"tax_amount":{"type":"integer","format":"int64","description":"Tax amount in minor units.","uniqueKey":"tax_amount","typeLabel":"integer\u003cint64>"},"shipping_amount":{"type":"integer","format":"int64","description":"Shipping amount in minor units.","uniqueKey":"shipping_amount","typeLabel":"integer\u003cint64>"},"exchange_rate":{"type":"string","description":"Exchange rate when currency conversion applies.","uniqueKey":"exchange_rate","typeLabel":"string"},"target_currency":{"type":"string","description":"Actual on-chain payment currency, for example `USDT`.","uniqueKey":"target_currency","typeLabel":"string"},"target_amount_total":{"type":"integer","format":"int64","description":"Target amount in target-currency minor units.","uniqueKey":"target_amount_total","typeLabel":"integer\u003cint64>"},"rate_locked_at":{"type":"integer","format":"int64","description":"Rate lock time, Unix seconds.","uniqueKey":"rate_locked_at","typeLabel":"integer\u003cint64>"},"subscription_id":{"type":"string","description":"Related subscription ID, returned for subscription payments.","uniqueKey":"subscription_id","typeLabel":"string"},"invoice_id":{"type":"string","description":"Related invoice ID, returned for invoice or subscription payments.","uniqueKey":"invoice_id","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Merchant metadata.","uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","amount_total":123,"currency":"\u003cstring>","payment_status":"pending","created":123,"expires_at":123,"url":"\u003cstring>","line_items":[{"price_data":{"currency":"\u003cstring>","unit_amount":2,"product_data":{"name":"\u003cstring>","description":"\u003cstring>"}},"quantity":2}],"tax_amount":123,"shipping_amount":123,"exchange_rate":"\u003cstring>","target_currency":"\u003cstring>","target_amount_total":123,"rate_locked_at":123,"subscription_id":"\u003cstring>","invoice_id":"\u003cstring>","metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"4ea08bb1-79f2-4fea-a9aa-5ecd1d7dd9bb":{"description":"Invalid request parameters.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type.","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message.","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Related parameter.","uniqueKey":"error.param","typeLabel":"string"},"doc_url":{"type":"string","description":"Error documentation URL.","uniqueKey":"error.doc_url","typeLabel":"string"},"decline_code":{"type":"string","description":"Decline code.","uniqueKey":"error.decline_code","typeLabel":"string"},"request_log_url":{"type":"string","description":"Request log URL.","uniqueKey":"error.request_log_url","typeLabel":"string"},"charge":{"type":"string","description":"Related payment ID.","uniqueKey":"error.charge","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request ID.","uniqueKey":"request_id","typeLabel":"string"},"timestamp":{"type":"integer","format":"int64","description":"Error timestamp in Unix seconds.","uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","doc_url":"\u003cstring>","decline_code":"\u003cstring>","request_log_url":"\u003cstring>","charge":"\u003cstring>"},"request_id":"\u003cstring>","timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"},"bbc30147-47b1-416a-810f-b855d37197f1":{"description":"Authentication failed.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type.","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message.","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Related parameter.","uniqueKey":"error.param","typeLabel":"string"},"doc_url":{"type":"string","description":"Error documentation URL.","uniqueKey":"error.doc_url","typeLabel":"string"},"decline_code":{"type":"string","description":"Decline code.","uniqueKey":"error.decline_code","typeLabel":"string"},"request_log_url":{"type":"string","description":"Request log URL.","uniqueKey":"error.request_log_url","typeLabel":"string"},"charge":{"type":"string","description":"Related payment ID.","uniqueKey":"error.charge","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request ID.","uniqueKey":"request_id","typeLabel":"string"},"timestamp":{"type":"integer","format":"int64","description":"Error timestamp in Unix seconds.","uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","doc_url":"\u003cstring>","decline_code":"\u003cstring>","request_log_url":"\u003cstring>","charge":"\u003cstring>"},"request_id":"\u003cstring>","timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"},"51b1f691-fabe-4402-a0fe-59515143f63f":{"description":"Payment session not found or not accessible.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type.","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message.","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Related parameter.","uniqueKey":"error.param","typeLabel":"string"},"doc_url":{"type":"string","description":"Error documentation URL.","uniqueKey":"error.doc_url","typeLabel":"string"},"decline_code":{"type":"string","description":"Decline code.","uniqueKey":"error.decline_code","typeLabel":"string"},"request_log_url":{"type":"string","description":"Request log URL.","uniqueKey":"error.request_log_url","typeLabel":"string"},"charge":{"type":"string","description":"Related payment ID.","uniqueKey":"error.charge","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request ID.","uniqueKey":"request_id","typeLabel":"string"},"timestamp":{"type":"integer","format":"int64","description":"Error timestamp in Unix seconds.","uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","doc_url":"\u003cstring>","decline_code":"\u003cstring>","request_log_url":"\u003cstring>","charge":"\u003cstring>"},"request_id":"\u003cstring>","timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"},"1e6f1425-f3db-4b84-9f7b-b53d4a7d697e":{"description":"Server error.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"Error type.","uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Error code.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error message.","uniqueKey":"error.message","typeLabel":"string"},"param":{"type":"string","description":"Related parameter.","uniqueKey":"error.param","typeLabel":"string"},"doc_url":{"type":"string","description":"Error documentation URL.","uniqueKey":"error.doc_url","typeLabel":"string"},"decline_code":{"type":"string","description":"Decline code.","uniqueKey":"error.decline_code","typeLabel":"string"},"request_log_url":{"type":"string","description":"Request log URL.","uniqueKey":"error.request_log_url","typeLabel":"string"},"charge":{"type":"string","description":"Related payment ID.","uniqueKey":"error.charge","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","description":"Request ID.","uniqueKey":"request_id","typeLabel":"string"},"timestamp":{"type":"integer","format":"int64","description":"Error timestamp in Unix seconds.","uniqueKey":"timestamp","typeLabel":"integer\u003cint64>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","param":"\u003cstring>","doc_url":"\u003cstring>","decline_code":"\u003cstring>","request_log_url":"\u003cstring>","charge":"\u003cstring>"},"request_id":"\u003cstring>","timestamp":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0d98d847-110b-4a2b-af4e-7b585299e2f5":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Bearer API Key, for example `Bearer sk_live_xxx`.","scopes":[]},"stablepayTimestamp":{"type":"apiKey","in":"header","name":"X-StablePay-Timestamp","description":"Unix timestamp in seconds. Must be within 5 minutes of server time.","scopes":[]},"stablepayNonce":{"type":"apiKey","in":"header","name":"X-StablePay-Nonce","description":"Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.","scopes":[]},"stablepaySignature":{"type":"apiKey","in":"header","name":"X-StablePay-Signature","description":"Lowercase hex HMAC-SHA256 of `{timestamp}.{nonce}.{requestBody}` signed with the merchant API Secret. For GET requests, `requestBody` is an empty string.","scopes":[]}}},"servers":{"8b76ce6e-b076-4a84-88d9-daa47d86b6ee":{"url":"https://api.stablepay.co","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Bearer API Key, for example `Bearer sk_live_xxx`.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer API Key, for example `Bearer sk_live_xxx`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"},{"scheme":{"type":"apiKey","in":"header","name":"X-StablePay-Timestamp","description":"Unix timestamp in seconds. Must be within 5 minutes of server time.","scopes":[]},"schema":{"title":"X-StablePay-Timestamp","type":"string","description":"Unix timestamp in seconds. Must be within 5 minutes of server time.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"stablepayTimestamp","name":"X-StablePay-Timestamp"},{"scheme":{"type":"apiKey","in":"header","name":"X-StablePay-Nonce","description":"Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.","scopes":[]},"schema":{"title":"X-StablePay-Nonce","type":"string","description":"Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"stablepayNonce","name":"X-StablePay-Nonce"},{"scheme":{"type":"apiKey","in":"header","name":"X-StablePay-Signature","description":"Lowercase hex HMAC-SHA256 of `{timestamp}.{nonce}.{requestBody}` signed with the merchant API Secret. For GET requests, `requestBody` is an empty string.","scopes":[]},"schema":{"title":"X-StablePay-Signature","type":"string","description":"Lowercase hex HMAC-SHA256 of `{timestamp}.{nonce}.{requestBody}` signed with the merchant API Secret. For GET requests, `requestBody` is an empty string.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"stablepaySignature","name":"X-StablePay-Signature"}],"title":"bearerAuth \u0026 stablepayTimestamp \u0026 stablepayNonce \u0026 stablepaySignature"}]},"originalFileLocation":"en/api/openapi.json"},"subdomain":"stablepay-a1f5fa99","siteName":"StablePay 文档","title":"Retrieve a payment session - StablePay 文档","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/product/Get-Started","matchLevel":4},"en":{"href":"/api-reference/payment-sessions/retrieve-a-payment-session","matchLevel":0}}},"originalFileLocation":"api-reference/payment-sessions/retrieve-a-payment-session.mdx","locale":"en"},"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=\"Retrieve a payment session by session ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"StablePay 文档\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://media.brand.dev/144a80cc-7738-4a39-9c0e-a2b7cbbf94ce.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://media.brand.dev/144a80cc-7738-4a39-9c0e-a2b7cbbf94ce.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://media.brand.dev/144a80cc-7738-4a39-9c0e-a2b7cbbf94ce.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://media.brand.dev/144a80cc-7738-4a39-9c0e-a2b7cbbf94ce.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve a payment session - StablePay 文档\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a payment session by session ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StablePay 文档\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stablepay-a1f5fa99.mintlify.app/_mintlify/api/og/v2?division=Payment+API\u0026amp;title=Retrieve+a+payment+session\u0026amp;description=Retrieve+a+payment+session+by+session+ID.\u0026amp;theme=199e3b3da1346596c36384ec\u0026amp;signature=eeb8e5e16059940226ceab5210e00abc7bfc24913092642f11a329b3f7eb80d6\">\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=\"Retrieve a payment session - StablePay 文档\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a payment session by session ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stablepay-a1f5fa99.mintlify.app/_mintlify/api/og/v2?division=Payment+API\u0026amp;title=Retrieve+a+payment+session\u0026amp;description=Retrieve+a+payment+session+by+session+ID.\u0026amp;theme=199e3b3da1346596c36384ec\u0026amp;signature=eeb8e5e16059940226ceab5210e00abc7bfc24913092642f11a329b3f7eb80d6\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/stablepay-a1f5fa99/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StablePay 文档\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2454fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payment-sessions/retrieve-a-payment-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stablepayfi.ai/#organization\",\"name\":\"StablePay 文档\",\"url\":\"https://docs.stablepayfi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stablepay-a1f5fa99/xOIDhGi9P3TuJYlm/images/%E8%8B%B1%E6%96%87logo.png?fit=max\u0026auto=format\u0026n=xOIDhGi9P3TuJYlm\u0026q=85\u0026s=c344e915c981d92f80998f8f5ec00792\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stablepayfi.ai#website\",\"name\":\"StablePay 文档\",\"url\":\"https://docs.stablepayfi.ai\",\"publisher\":{\"@id\":\"https://docs.stablepayfi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session#webpage\",\"url\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session\",\"name\":\"Retrieve a payment session\",\"description\":\"Retrieve a payment session by session ID.\",\"isPartOf\":{\"@id\":\"https://docs.stablepayfi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment API\",\"item\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/create-a-payment-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieve a payment session\",\"item\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session#apireference\",\"headline\":\"Retrieve a payment session\",\"name\":\"Retrieve a payment session\",\"description\":\"Retrieve a payment session by session ID.\",\"url\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stablepayfi.ai/api-reference/payment-sessions/retrieve-a-payment-session#webpage\"},\"publisher\":{\"@id\":\"https://docs.stablepayfi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stablepayfi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StablePay 文档\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"StablePay 文档","nav":{"global":null,"languages":[{"language":"zh","default":true,"navbar":{"links":[{"href":"https://stablepayfi.ai/","label":"StablePay 官网"},{"href":"https://merchant.stablepayfi.ai/","label":"商户后台"}]},"pages":[{"title":"zh","href":"/zh/product/Get-Started"}]},{"language":"en","navbar":{"links":[{"href":"https://stablepayfi.ai/","label":"StablePay Website"},{"href":"https://merchant.stablepayfi.ai/","label":"Merchant Portal"}]},"tabs":[{"tab":"Product","pages":[{"title":"Product","href":"/en/product/Get-Started"}]},{"tab":"API","groups":[{"group":"Getting Started","pages":[{"title":"Pre-integration Preparation","href":"/en/api/getting-started"},{"title":"Webhook Notifications","href":"/en/api/webhook-notifications"},{"title":"Checkout iframe Integration","href":"/en/api/checkout-iframe-integration"}]},{"group":"Payment API","pages":[{"title":"Create a payment session","description":"Create a new payment session. The server derives the source system from the merchant store and returns a checkout URL.","deprecated":null,"version":null,"openapi":"/en/api/openapi.json post /api/v1/checkout/sessions/create","href":"/api-reference/payment-sessions/create-a-payment-session"},{"title":"Retrieve a payment session","deprecated":null,"version":null,"openapi":"/en/api/openapi.json get /api/v1/checkout/sessions/{session_id}","href":"/api-reference/payment-sessions/retrieve-a-payment-session"},{"title":"Cancel a payment session","description":"Cancel or expire a payment session. The current implementation marks the session as expired; nonexistent sessions return a simplified success response for idempotency.","deprecated":null,"version":null,"openapi":"/en/api/openapi.json post /api/v1/checkout/sessions/{session_id}/cancel","href":"/api-reference/payment-sessions/cancel-a-payment-session"},{"title":"Retrieve a payment method","deprecated":null,"version":null,"openapi":"/en/api/openapi.json get /api/v1/payment_method/{payment_method_id}","href":"/api-reference/payment-methods/retrieve-a-payment-method"}]},{"group":"QR Pay API","pages":[{"title":"Create QR Pay","deprecated":null,"version":null,"openapi":"/en/api/customer-deposits.openapi.json post /api/v1/customer-deposits","href":"/api-reference/qr-pay/create-qr-pay"},{"title":"Retrieve QR Pay","deprecated":null,"version":null,"openapi":"/en/api/customer-deposits.openapi.json get /api/v1/customer-deposits/{deposit_session_id}","href":"/api-reference/qr-pay/retrieve-qr-pay"}]},{"group":"Global Accounts API","pages":[{"title":"List all accounts and balances for the target merchant","api":"GET https://api.stablepay.co/api/v1/account","playground":"simple","href":"/en/api/global-accounts/get-account"},{"title":"Retrieve one account and balance","api":"GET https://api.stablepay.co/api/v1/account/{account_no}","playground":"simple","href":"/en/api/global-accounts/get-account-account-no"},{"title":"Pending settlement balances by currency","api":"GET https://api.stablepay.co/api/v1/pending_settlement_balance","playground":"simple","href":"/en/api/global-accounts/get-pending-settlement-balance"},{"title":"Retrieve a stablecoin deposit address","api":"GET https://api.stablepay.co/api/v1/fund/deposit_address","playground":"simple","href":"/en/api/global-accounts/get-fund-deposit-address"},{"title":"List stablecoin deposit records","api":"GET https://api.stablepay.co/api/v1/fund/deposits","playground":"simple","href":"/en/api/global-accounts/get-fund-deposits"},{"title":"Retrieve one stablecoin deposit","api":"GET https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}","playground":"simple","href":"/en/api/global-accounts/get-fund-deposits-deposit-id"},{"title":"Add Travel Rule funding source details","api":"POST https://api.stablepay.co/api/v1/fund/deposits/{deposit_id}/confirm","playground":"simple","href":"/en/api/global-accounts/post-fund-deposits-deposit-id-confirm"},{"title":"Create a withdrawal","api":"POST https://api.stablepay.co/api/v1/fund/withdrawals","playground":"simple","href":"/en/api/global-accounts/post-fund-withdrawals"},{"title":"Retrieve a withdrawal","api":"GET https://api.stablepay.co/api/v1/fund/withdrawals/{withdrawal_id}","playground":"simple","href":"/en/api/global-accounts/get-fund-withdrawals-withdrawal-id"},{"title":"Create an account transfer","api":"POST https://api.stablepay.co/api/v1/fund/account_transfers","playground":"simple","href":"/en/api/global-accounts/post-fund-account-transfers"},{"title":"Retrieve an account transfer","api":"GET https://api.stablepay.co/api/v1/fund/account_transfers/{account_transfer_id}","playground":"simple","href":"/en/api/global-accounts/get-fund-account-transfers-account-transfer-id"},{"title":"Retrieve recipient field rules","api":"GET https://api.stablepay.co/api/v1/recipient/requirements","playground":"simple","href":"/en/api/global-accounts/get-recipient-requirements"},{"title":"Create a recipient","api":"POST https://api.stablepay.co/api/v1/recipient","playground":"simple","href":"/en/api/global-accounts/post-recipient"},{"title":"List recipients","api":"GET https://api.stablepay.co/api/v1/recipient","playground":"simple","href":"/en/api/global-accounts/get-recipient"},{"title":"Retrieve a recipient","api":"GET https://api.stablepay.co/api/v1/recipient/{recipient_id}","playground":"simple","href":"/en/api/global-accounts/get-recipient-recipient-id"},{"title":"Update a recipient","api":"PUT https://api.stablepay.co/api/v1/recipient/{recipient_id}","playground":"simple","href":"/en/api/global-accounts/put-recipient-recipient-id"},{"title":"Delete a recipient","api":"DELETE https://api.stablepay.co/api/v1/recipient/{recipient_id}","playground":"simple","href":"/en/api/global-accounts/delete-recipient-recipient-id"}]},{"group":"Stablecoin Exchange API","pages":[{"title":"List supported currency pairs","api":"GET https://api.stablepay.co/api/v1/quote/pairs","playground":"simple","href":"/en/api/stablecoin-exchange/get-quote-pairs"},{"title":"Retrieve the current pair rate","api":"GET https://api.stablepay.co/api/v1/quote/exchange_rate","playground":"simple","href":"/en/api/stablecoin-exchange/get-quote-exchange-rate"},{"title":"Create a quote and lock a rate","api":"POST https://api.stablepay.co/api/v1/quote","playground":"simple","href":"/en/api/stablecoin-exchange/post-quote"},{"title":"Retrieve a quote","api":"GET https://api.stablepay.co/api/v1/quote/{quote_id}","playground":"simple","href":"/en/api/stablecoin-exchange/get-quote-quote-id"},{"title":"Retrieve fiat collection details and reference code","api":"GET https://api.stablepay.co/api/v1/fiat/account_details","playground":"simple","href":"/en/api/stablecoin-exchange/get-fiat-account-details"},{"title":"List fiat deposit records","api":"GET https://api.stablepay.co/api/v1/fiat/deposits","playground":"simple","href":"/en/api/stablecoin-exchange/get-fiat-deposits"},{"title":"Retrieve one fiat deposit","api":"GET https://api.stablepay.co/api/v1/fiat/deposits/{fiat_deposit_id}","playground":"simple","href":"/en/api/stablecoin-exchange/get-fiat-deposits-fiat-deposit-id"},{"title":"Convertible fiat deposit balance","api":"GET https://api.stablepay.co/api/v1/fiat/deposit_balance","playground":"simple","href":"/en/api/stablecoin-exchange/get-fiat-deposit-balance"},{"title":"Create a transfer (fiat to stablecoin, stablecoin to fiat, stablecoin swap)","api":"POST https://api.stablepay.co/api/v1/transfer","playground":"simple","href":"/en/api/stablecoin-exchange/post-transfer"},{"title":"Retrieve a transfer","api":"GET https://api.stablepay.co/api/v1/transfer/{transfer_id}","playground":"simple","href":"/en/api/stablecoin-exchange/get-transfer-transfer-id"}]},{"group":"Refund API","pages":[{"title":"Create refund","deprecated":null,"version":null,"openapi":"/en/api/refund-openapi.json post /api/v1/refunds/create","href":"/api-reference/refunds/create-refund"},{"title":"Retrieve refund","deprecated":null,"version":null,"openapi":"/en/api/refund-openapi.json get /api/v1/refunds/{refund_id}","href":"/api-reference/refunds/retrieve-refund"},{"title":"Cancel refund","deprecated":null,"version":null,"openapi":"/en/api/refund-openapi.json post /api/v1/refunds/{refund_id}/cancel","href":"/api-reference/refunds/cancel-refund"}]},{"group":"Subscription API","pages":[{"title":"Create subscription","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json post /api/v1/subscriptions/create","href":"/api-reference/subscriptions/create-subscription"},{"title":"Retrieve payment details","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json get /api/v1/payment/{payment_id}","href":"/api-reference/subscriptions/retrieve-payment-details"},{"title":"Retrieve subscription","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json get /api/v1/subscriptions/{subscription_id}","href":"/api-reference/subscriptions/retrieve-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json get /api/v1/subscriptions","href":"/api-reference/subscriptions/list-subscriptions"}]},{"group":"Invoice API","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"/en/api/invoice-openapi.json get /api/v1/invoices","href":"/api-reference/invoices/list-invoices"}]},{"group":"Bills API","pages":[{"title":"List Bills","api":"GET https://api.stablepay.co/api/v1/bills","playground":"simple","href":"/en/api/bills/list"},{"title":"Get Bill Download URL","api":"GET https://api.stablepay.co/api/v1/bills/{bill_id}/download_url","playground":"simple","href":"/en/api/bills/get-download-url"}]},{"group":"Payouts API","pages":[{"title":"Create Payout Batch","api":"POST https://api.stablepay.co/api/v1/payout-batches","playground":"simple","href":"/en/api/payouts/create-batch"},{"title":"Submit Payout Batch","api":"POST https://api.stablepay.co/api/v1/payout-batches/{batch_id}/submit","playground":"simple","href":"/en/api/payouts/submit-batch"},{"title":"Cancel Payout Batch","api":"POST https://api.stablepay.co/api/v1/payout-batches/{batch_id}/cancel","playground":"simple","href":"/en/api/payouts/cancel-batch"},{"title":"Get Payout Batch","api":"GET https://api.stablepay.co/api/v1/payout-batches/{batch_id}","playground":"simple","href":"/en/api/payouts/get-batch"},{"title":"List Payout Batches","api":"GET https://api.stablepay.co/api/v1/payout-batches","playground":"simple","href":"/en/api/payouts/list-batches"},{"title":"List Batch Items","api":"GET https://api.stablepay.co/api/v1/payout-batches/{batch_id}/items","playground":"simple","href":"/en/api/payouts/list-batch-items"},{"title":"Get Payout Item","api":"GET https://api.stablepay.co/api/v1/payout-items/{item_id}","playground":"simple","href":"/en/api/payouts/get-item"}]}]},{"tab":"SaaS","pages":[{"title":"SaaS","href":"/en/product/SaaS/Shopify"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/en/faq/Binance-Wallet-WalletConnect-Troubleshooting"}]}]}]},"basePath":"","title":"Retrieve a payment session - StablePay 文档","buildId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","deploymentId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CVpqyvFO.js","utils-vpweLD0v.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BIOodqb0.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B1LM3qmu.js","snippetPresets-C5xK0GtN.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CCsxLnQl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C2-WKG22.js","shallow-SdoLUC-q.js","getApiPlaygroundDisplay-BnI8L2hB.js","CodeSnippet-D5M8NCHI.js","CodeSnippets-CXRO8Uom.js","Page-CN9QbZiA.js","getPastedJson-CrfHEdRt.js","icon-Cr8AyUnW.js","MethodPill-J_Cs0kNw.js","DuplicateIcon-DrMboxGw.js","createIcon-B4CIWVbU.js","DynamicMarkdown-D9cdbgj9.js","SectionHeading-BO4CouT0.js","axios-vUo_bRtp.js","Markdown-L1m1-PSi.js","clsx-rIpTdK8h.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-ptfS1uB_.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D31Sm3f9.js"]}