Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.
{"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.4043","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/subscriptions/retrieve-payment-details","slug":"/api-reference/subscriptions/retrieve-payment-details","pageMetadata":{"title":"Retrieve payment details","description":"Retrieve payment details by the `payment_id` returned from a subscription invoice. This `payment_id` identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json get /api/v1/payment/{payment_id}","href":"/api-reference/subscriptions/retrieve-payment-details","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Retrieve payment details by the \", _jsx(_components.code, {\n children: \"payment_id\"\n }), \" returned from a subscription invoice. This \", _jsx(_components.code, {\n children: \"payment_id\"\n }), \" identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\"]\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 payment details","description":"Retrieve payment details by the `payment_id` returned from a subscription invoice. This `payment_id` identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.","deprecated":null,"version":null,"openapi":"/en/api/subscription-openapi.json get /api/v1/payment/{payment_id}","href":"/api-reference/subscriptions/retrieve-payment-details","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Subscriptions"],"operationId":"getSubscriptionPaymentDetail","summary":"Retrieve payment details","description":"Retrieve payment details by the `payment_id` returned from a subscription invoice. This `payment_id` identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.","parameters":["5be339c4-2330-4916-9fef-6137e325dc7d","029e0a12-e171-46d9-8c9b-09e73e2a1668","10dafe82-86e2-423a-a515-e7cff49c7ba9","cb33e0c5-80e8-4908-bd70-3a75af844cef"],"responses":{"200":"a1423bd5-7c59-4cbb-8040-ec17ff2fbccb","400":"7526ca34-234e-4cf0-ab51-58b4713b109b","401":"2efbec45-1ba0-414e-a2a2-3f96f1598e45","404":"e4a2a727-df9f-4d41-b91f-b0dc7a78115a","500":"57548f3a-c88f-422d-a755-531d9966e5ad"},"method":"get","type":"path","servers":["263c7760-6782-4119-b1fe-918e4000200e"],"security":["da238c8d-45aa-40b2-ac96-53b85d6f5f58"],"path":"/api/v1/payment/{payment_id}","baseUrlOptions":["https://api.stablepay.co"],"title":"Retrieve payment details","codeSamples":[],"requestExampleLanguages":["bash","javascript"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"responseExampleType":"generated"},"dependencies":{"parameters":{"5be339c4-2330-4916-9fef-6137e325dc7d":{"name":"payment_id","in":"path","required":true,"description":"Payment ID returned by a subscription invoice, used to retrieve subscription charge payment details.","schema":{"type":"string","isRequired":true,"description":"Payment ID returned by a subscription invoice, used to retrieve subscription charge payment details.","uniqueKey":"","typeLabel":"string"}},"029e0a12-e171-46d9-8c9b-09e73e2a1668":{"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"},"10dafe82-86e2-423a-a515-e7cff49c7ba9":{"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"},"cb33e0c5-80e8-4908-bd70-3a75af844cef":{"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":{"a1423bd5-7c59-4cbb-8040-ec17ff2fbccb":{"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","properties":{"id":{"type":"string","description":"Price ID. This field is usually not returned by the current HTTP response.","uniqueKey":"line_items.items.[INDEX].price_data.id","typeLabel":"string"},"currency":{"type":"string","description":"Currency.","uniqueKey":"line_items.items.[INDEX].price_data.currency","typeLabel":"string"},"product":{"type":"string","description":"Product ID or product name.","uniqueKey":"line_items.items.[INDEX].price_data.product","typeLabel":"string"},"unit_amount":{"type":"integer","format":"int64","description":"Unit amount in minor units.","uniqueKey":"line_items.items.[INDEX].price_data.unit_amount","typeLabel":"integer\u003cint64>"},"recurring":{"type":"object","properties":{"interval":{"type":"string","enum":["day","week","month","year"],"description":"Billing interval.","uniqueKey":"line_items.items.[INDEX].price_data.recurring.interval","typeLabel":"enum\u003cstring>"},"interval_count":{"type":"integer","description":"Billing interval count. Currently fixed to 1 by the server.","uniqueKey":"line_items.items.[INDEX].price_data.recurring.interval_count","typeLabel":"integer"}},"uniqueKey":"line_items.items.[INDEX].price_data.recurring","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":{"id":"\u003cstring>","currency":"\u003cstring>","product":"\u003cstring>","unit_amount":123,"recurring":{"interval":"day","interval_count":123}},"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"},"7526ca34-234e-4cf0-ab51-58b4713b109b":{"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"},"2efbec45-1ba0-414e-a2a2-3f96f1598e45":{"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"},"e4a2a727-df9f-4d41-b91f-b0dc7a78115a":{"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"},"57548f3a-c88f-422d-a755-531d9966e5ad":{"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":{"da238c8d-45aa-40b2-ac96-53b85d6f5f58":{"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":{"263c7760-6782-4119-b1fe-918e4000200e":{"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/subscription-openapi.json"},"subdomain":"stablepay-a1f5fa99","siteName":"StablePay 文档","title":"Retrieve payment details - StablePay 文档","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/zh/product/Get-Started","matchLevel":4},"en":{"href":"/api-reference/subscriptions/retrieve-payment-details","matchLevel":0}}},"originalFileLocation":"api-reference/subscriptions/retrieve-payment-details.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 payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\">\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 payment details - StablePay 文档\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StablePay 文档\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details\">\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=Subscription+API\u0026amp;title=Retrieve+payment+details\u0026amp;description=Retrieve+payment+details+by+the+%60payment_id%60+returned+from+a+subscription+invoice.+This+%60payment_id%60+identifies+the+payment+generated+for+a+subscription+charge+\u0026amp;theme=199e3b3da1346596c36384ec\u0026amp;signature=05aa6157a3ff8be4620716d4c79e29603a35b527a57e910bc1eb06087fb46b6c\">\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 payment details - StablePay 文档\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stablepay-a1f5fa99.mintlify.app/_mintlify/api/og/v2?division=Subscription+API\u0026amp;title=Retrieve+payment+details\u0026amp;description=Retrieve+payment+details+by+the+%60payment_id%60+returned+from+a+subscription+invoice.+This+%60payment_id%60+identifies+the+payment+generated+for+a+subscription+charge+\u0026amp;theme=199e3b3da1346596c36384ec\u0026amp;signature=05aa6157a3ff8be4620716d4c79e29603a35b527a57e910bc1eb06087fb46b6c\">\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/subscriptions/retrieve-payment-details\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/subscriptions/retrieve-payment-details.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/subscriptions/retrieve-payment-details#webpage\",\"url\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details\",\"name\":\"Retrieve payment details\",\"description\":\"Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\",\"isPartOf\":{\"@id\":\"https://docs.stablepayfi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subscription API\",\"item\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/create-subscription\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieve payment details\",\"item\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details#apireference\",\"headline\":\"Retrieve payment details\",\"name\":\"Retrieve payment details\",\"description\":\"Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.\",\"url\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stablepayfi.ai/api-reference/subscriptions/retrieve-payment-details#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","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","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","description":"Create a new subscription. The subscription is typically returned in `incomplete` status; the customer must complete first-payment authorization via the returned `checkout_url` before the subscription transitions to `active` (or `trialing`).","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","description":"Retrieve a subscription by ID. Use `expand` to inline related objects.","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 payment details - StablePay 文档","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}