{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BitGPT 402pay Documentation","colors":{"primary":"#2E74FF","light":"#F5F2E9","dark":"#1E54BF"},"logo":{"light":"https://mintcdn.com/bitgpt/N6Qn8nkrAkxXvrVZ/images/logo/light.png?fit=max\u0026auto=format\u0026n=N6Qn8nkrAkxXvrVZ\u0026q=85\u0026s=983649556b8a67d1d2025eaca748d434","dark":"https://mintcdn.com/bitgpt/N6Qn8nkrAkxXvrVZ/images/logo/dark.png?fit=max\u0026auto=format\u0026n=N6Qn8nkrAkxXvrVZ\u0026q=85\u0026s=1fb970415ae19b9b2a779415fa394d42"},"favicon":"/images/favicon.png","navbar":{"links":[{"label":"Demo","href":"https://play.bitgpt.xyz"},{"label":"Support","href":"mailto:support@bitgpt.xyz"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.bitgpt.xyz"}},"footer":{"socials":{"x":"https://x.com/BitGPTnetwork","discord":"https://bitgpt.xyz/discord"}},"seo":{"metatags":{"og:image":"/images/og.png","og:title":"BitGPT 402pay Documentation","og:description":"One platform to leverage blockchain-native payments for the future of commerce, agents and payments.","twitter:title":"BitGPT 402pay Documentation","twitter:description":"One platform to leverage blockchain-native payments for the future of commerce, agents and payments.","twitter:image":"/images/og.png"}},"styling":{"codeblocks":"system"},"contextual":{"options":["chatgpt","claude","copy","view"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bitgpt","hasAudioNarration":false,"actualSubdomain":"bitgpt","customDomains":["docs.bitgpt.xyz"],"gitSource":{"type":"github","owner":"bit-gpt","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e6c694a5dc2e6daf4379","collectionId":"c41e2263-12b1-4185-9c84-da13bd9e6d07","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a21e6c694a5dc2e6daf4379:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Developer resources","count":71},{"language":"default","tag":"API REFERENCE","count":45},{"language":"default","tag":"WEBHOOKS","count":16},{"language":"default","tag":"Payloads","count":14},{"language":"default","tag":"Payments and Invoices","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Get started","count":11},{"language":"default","tag":"GET STARTED","count":10},{"language":"default","tag":"API Keys","count":10},{"language":"default","tag":"Schemas","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developer-resources/webhooks/events/invoices/invoice-updated","slug":"/developer-resources/webhooks/events/invoices/invoice-updated","pageMetadata":{"title":"invoice.updated","description":"Triggered when an event occurs","openapi":"developer-resources/reference/openapi.json webhook invoice.updated","href":"/developer-resources/webhooks/events/invoices/invoice-updated"},"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: \"Triggered when an event occurs\"\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":"invoice.updated","description":"Triggered when an event occurs","openapi":"developer-resources/reference/openapi.json webhook invoice.updated","href":"/developer-resources/webhooks/events/invoices/invoice-updated"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Webhook received on Invoice updated event","requestBody":"183ee765-95cc-455f-8873-67b2924dcf3d","parameters":["e3acd733-5607-4ec7-8a3d-60ab72be1f61","dc318fc6-2e6b-41f5-b3b9-0a0943e95b4a","ba01fe33-ead3-4bfd-a04f-cabd6872887d"],"method":"post","type":"webhook","servers":["6b043ab9-7c16-4701-a6ef-b073ad3c825f"],"security":[],"path":"invoice.updated","baseUrlOptions":["https://api.bitgpt.xyz"],"title":"Webhook received on Invoice updated event","description":"Triggered when an event occurs","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"webhook_id\": \"webhook_0197be04-14b7-716e-9cba-f3582532f7dc\",\n \"url\": \"https://webhook-handler.com/webhooks\",\n \"event\": \"invoice.updated\",\n \"resource_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"payload\": {\n \"id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"status\": \"PENDING\",\n \"substatus\": null,\n \"currency\": \"EUR\",\n \"price\": \"56.550000000000000000000000000000\",\n \"price_usd\": \"66.750000000000000000000000000000\",\n \"created_at\": \"2025-07-28 18:54:42\",\n \"updated_at\": \"2025-07-28 18:55:34\",\n \"redirect_url\": null,\n \"customer_email\": \"test@test.tt\",\n \"metadata\": {\n \"one\": \"1\",\n \"two\": \"2\",\n \"three\": \"3\",\n \"four\": \"4\"\n },\n \"items\": [\n {\n \"id\": \"invoice_item_019851f5-39f8-753b-9cf5-985300807b51\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"type\": \"PRODUCT\",\n \"currency\": \"GBP\",\n \"product_id\": \"product_01982266-ee05-7249-a0bf-787b4b6e0946\",\n \"billing_schema_id\": \"schema_01982266-ee06-70fe-9cac-bc4b6d964815\",\n \"payment_intent_id\": null,\n \"quantity\": 4,\n \"status\": \"INCLUDED\",\n \"exclude_reason\": null,\n \"created_at\": \"2025-07-28 18:54:42\",\n \"updated_at\": null,\n \"product\": {\n \"id\": \"product_01982266-ee05-7249-a0bf-787b4b6e0946\",\n \"version_group_id\": \"product_01981e60-62f5-7f75-8576-aa262be8ea54\",\n \"is_active\": 1,\n \"name\": \"Product #1\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"description\": \"111\",\n \"image_id\": null,\n \"created_at\": \"2025-07-19 13:17:07\",\n \"updated_at\": null,\n \"image\": null\n },\n \"billing_schema\": {\n \"id\": \"schema_01982266-ee06-70fe-9cac-bc4b6d964815\",\n \"is_active\": 1,\n \"version_group_id\": \"schema_01982266-ee06-70fe-9cac-bc4b6d964815\",\n \"name\": \"Basic Product\",\n \"description\": \"Billing Schema #1\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"product_id\": \"product_01982266-ee05-7249-a0bf-787b4b6e0946\",\n \"type\": \"ONE_TIME\",\n \"currency\": \"GBP\",\n \"base_price\": \"10.000000000000000000000000000000\",\n \"interval_type\": null,\n \"interval_count\": null,\n \"payment_type\": null,\n \"renew_type\": null,\n \"billing_type\": null,\n \"created_at\": \"2025-07-19 13:17:07\",\n \"updated_at\": null\n }\n },\n {\n \"id\": \"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"type\": \"PRODUCT\",\n \"currency\": \"EUR\",\n \"product_id\": \"product_0198222f-fe06-743f-8651-42128a1e218a\",\n \"billing_schema_id\": \"schema_0198222f-fe07-76a8-87d0-880d5289f759\",\n \"payment_intent_id\": null,\n \"quantity\": 1,\n \"status\": \"INCLUDED\",\n \"exclude_reason\": null,\n \"created_at\": \"2025-07-28 18:54:42\",\n \"updated_at\": null,\n \"product\": {\n \"id\": \"product_0198222f-fe06-743f-8651-42128a1e218a\",\n \"version_group_id\": \"product_0198222f-fe06-743f-8651-42128a1e218a\",\n \"is_active\": 1,\n \"name\": \"Product #2\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"description\": \"ONE_TIME PRODUCT\",\n \"image_id\": null,\n \"created_at\": \"2025-07-19 12:17:07\",\n \"updated_at\": null,\n \"image\": null\n },\n \"billing_schema\": {\n \"id\": \"schema_0198222f-fe07-76a8-87d0-880d5289f759\",\n \"is_active\": 1,\n \"version_group_id\": \"schema_0198222f-fe07-76a8-87d0-880d5289f759\",\n \"name\": \"Product #2\",\n \"description\": \"Billing Schema #1\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"product_id\": \"product_0198222f-fe06-743f-8651-42128a1e218a\",\n \"type\": \"ONE_TIME\",\n \"currency\": \"EUR\",\n \"base_price\": \"10.000000000000000000000000000000\",\n \"interval_type\": null,\n \"interval_count\": null,\n \"payment_type\": null,\n \"renew_type\": null,\n \"billing_type\": null,\n \"created_at\": \"2025-07-19 12:17:07\",\n \"updated_at\": null\n }\n }\n ],\n \"calculations\": [\n {\n \"id\": \"invoice_calc_019851f6-03c9-7768-9a6f-3e7a86b7eeed\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"invoice_item_id\": \"invoice_item_019851f5-39f8-753b-9cf5-985300807b51\",\n \"title\": \"Product #1\",\n \"calculation_type\": \"PRODUCT\",\n \"idx\": 0,\n \"currency\": \"GBP\",\n \"initial_price\": \"40.000000000000000000000000000000\",\n \"price_delta\": \"0.000000000000000000000000000000\",\n \"price\": \"40.000000000000000000000000000000\",\n \"details\": {\n \"price\": \"10.000000000000000000000000000000\",\n \"currency\": \"GBP\",\n \"quantity\": 4,\n \"product_id\": \"product_01982266-ee05-7249-a0bf-787b4b6e0946\"\n },\n \"created_at\": \"2025-07-28 18:55:34\",\n \"updated_at\": null\n },\n {\n \"id\": \"invoice_calc_019851f6-03cc-7fe9-8c19-a4cb550bb75c\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"invoice_item_id\": \"invoice_item_019851f5-39f8-753b-9cf5-985300807b51\",\n \"title\": \"Currency change GBP => EUR\",\n \"calculation_type\": \"CURRENCY_CHANGE\",\n \"idx\": 1,\n \"currency\": \"EUR\",\n \"initial_price\": \"40.000000000000000000000000000000\",\n \"price_delta\": \"0.000000000000000000000000000000\",\n \"price\": \"46.557223908892338549036308436250\",\n \"details\": {\n \"to\": \"EUR\",\n \"from\": \"GBP\",\n \"to_rate_usd\": \"0.847260000000000000\",\n \"from_rate_usd\": \"0.727930000000000000\"\n },\n \"created_at\": \"2025-07-28 18:55:34\",\n \"updated_at\": null\n },\n {\n \"id\": \"invoice_calc_019851f6-03ce-7afb-a2e6-897bb4a22728\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"invoice_item_id\": \"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3\",\n \"title\": \"Product #2\",\n \"calculation_type\": \"PRODUCT\",\n \"idx\": 0,\n \"currency\": \"EUR\",\n \"initial_price\": \"10.000000000000000000000000000000\",\n \"price_delta\": \"0.000000000000000000000000000000\",\n \"price\": \"10.000000000000000000000000000000\",\n \"details\": {\n \"price\": \"10.000000000000000000000000000000\",\n \"currency\": \"EUR\",\n \"quantity\": 1,\n \"product_id\": \"product_0198222f-fe06-743f-8651-42128a1e218a\"\n },\n \"created_at\": \"2025-07-28 18:55:34\",\n \"updated_at\": null\n },\n {\n \"id\": \"invoice_calc_019851f6-03d0-755e-ac57-96ca8b9dd424\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"invoice_item_id\": null,\n \"title\": \"Total\",\n \"calculation_type\": \"TOTAL\",\n \"idx\": 0,\n \"currency\": \"EUR\",\n \"initial_price\": \"56.557223908892338549036308436250\",\n \"price_delta\": \"0.000000000000000000000000000000\",\n \"price\": \"56.557223908892338549036308436250\",\n \"details\": [],\n \"created_at\": \"2025-07-28 18:55:34\",\n \"updated_at\": null\n },\n {\n \"id\": \"invoice_calc_019851f6-03d2-7cd5-872e-d0fdc5f19f97\",\n \"organization_id\": \"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"invoice_item_id\": null,\n \"title\": \"Total, USD\",\n \"calculation_type\": \"TOTAL_USD\",\n \"idx\": 0,\n \"currency\": \"USD\",\n \"initial_price\": \"66.753091033321930161976616901836\",\n \"price_delta\": \"0.000000000000000000000000000000\",\n \"price\": \"66.753091033321930161976616901836\",\n \"details\": [],\n \"created_at\": \"2025-07-28 18:55:34\",\n \"updated_at\": null\n }\n ],\n \"organization\": {\n \"name\": \"4\",\n \"image_url\": \"https://assets.bitgpt.xyz/uploads/2025/03/26/156091ee0884f36de9836d.jpeg\"\n },\n \"payments\": [\n {\n \"id\": \"payment_01979449-dc2f-71e4-b565-42d78c0d83aa\",\n \"idempotency_key\": \"1b70f35483e563e009967abe74308e6977f9b36f1bfc05168fa22104b64293d6-invoice_01979284-7610-79f8-86c4-978168730054\",\n \"organization_id\": \"org_f44b7809595e5ebe3bb4d6\",\n \"provider_id\": \"prov_bitcoin_bitcoin\",\n \"invoice_id\": \"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4\",\n \"currency\": \"BITCOIN\",\n \"price\": \"0.000126300000000000000000000000\",\n \"status\": \"COMPLETED\",\n \"created_at\": \"2025-06-21 22:59:17\",\n \"updated_at\": \"2025-08-20 23:57:58\",\n \"happened_at\": \"2025-06-21 22:59:17\"\n }\n ]\n },\n \"timestamp\": \"2025-08-20 20:56:36.456\"\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{"e3acd733-5607-4ec7-8a3d-60ab72be1f61":{"name":"X-Webhook-Signature","in":"header","required":true,"description":"Signature of the webhook event payload, used for verification.","schema":{"type":"string","isRequired":true,"description":"Signature of the webhook event payload, used for verification.","uniqueKey":"","typeLabel":"string"}},"dc318fc6-2e6b-41f5-b3b9-0a0943e95b4a":{"name":"X-Webhook-Timestamp","in":"header","required":true,"description":"Timestamp of the webhook event, used to prevent replay attacks.","schema":{"type":"string","examples":["2025-08-20 20:56:36.456"],"isRequired":true,"description":"Timestamp of the webhook event, used to prevent replay attacks.","uniqueKey":"","typeLabel":"string"}},"ba01fe33-ead3-4bfd-a04f-cabd6872887d":{"name":"X-Webhook-Event","in":"header","required":true,"description":"The type of event being sent.","schema":{"type":"string","examples":["payment.created"],"isRequired":true,"description":"The type of event being sent.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"webhook_id":{"type":"string","description":"Unique identifier for the webhook","examples":["webhook_0197be04-14b7-716e-9cba-f3582532f7dc"],"isRequired":true,"uniqueKey":"webhook_id","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL where webhook events will be sent","examples":["https://webhook-handler.com/webhooks"],"isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"event":{"type":"string","enum":["invoice.updated"],"description":"Type of webhook event that occurred","examples":["invoice.updated"],"isRequired":true,"uniqueKey":"event","typeLabel":"enum\u003cstring>"},"resource_id":{"type":"string","description":"Updated Invoice identifier","examples":["invoice_019851f5-39f7-714a-8f2c-3c3eede808b4"],"isRequired":true,"uniqueKey":"resource_id","typeLabel":"string"},"payload":{"type":"object","description":"Details of the Invoice that was updated","properties":{"id":{"type":"string","description":"Unique identifier for the invoice","examples":["invoice_0197d634-7d8e-7615-8007-e37b992cdb30"],"isRequired":true,"uniqueKey":"payload.id","typeLabel":"string"},"organization_id":{"type":"string","description":"Unique identifier for the organization","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"],"isRequired":true,"uniqueKey":"payload.organization_id","typeLabel":"string"},"status":{"type":"string","description":"Current status of the invoice","enum":["PENDING","COMPLETED","VOIDED","PROCESSING","WAITING_FOR_CONFIRMATIONS","PARTIALLY_PAID"],"examples":["PENDING"],"isRequired":true,"uniqueKey":"payload.status","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["EUR"],"description":"Currency code for the invoice","isRequired":true,"uniqueKey":"payload.currency","typeLabel":"enum\u003cstring>"},"price":{"type":"string","description":"Total price of the invoice as a decimal string","examples":["504.818257074815000000000000000000"],"isRequired":true,"uniqueKey":"payload.price","typeLabel":"string"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the invoice was created","examples":["2025-07-04 18:10:53"],"isRequired":true,"uniqueKey":"payload.created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the invoice was last updated","examples":["2025-07-04 18:10:53"],"isRequired":true,"uniqueKey":"payload.updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the invoice was last updated","examples":["2025-07-04 18:10:53"],"isRequired":true,"uniqueKey":"payload.updated_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"payload.updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"customer_email":{"type":"string","format":"email","description":"Customer email address for the invoice","examples":["customer@example.com"],"uniqueKey":"payload.customer_email","typeLabel":"string\u003cemail>"},"substatus":{"oneOf":[{"type":"string","description":"Provides additional context to the invoice's current status","enum":["OVERPAID"],"examples":["OVERPAID"],"uniqueKey":"payload.substatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Provides additional context to the invoice's current status","enum":["OVERPAID"],"examples":["OVERPAID"],"uniqueKey":"payload.substatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.substatus","typeLabel":"enum\u003cstring> | null"},"price_usd":{"type":"string","description":"Total price of the invoice in USD as a decimal string","examples":["504.818257074815000000000000000000"],"uniqueKey":"payload.price_usd","typeLabel":"string"},"metadata":{"oneOf":[{"type":"object","description":"Additional metadata for the invoice","uniqueKey":"payload.metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional metadata for the invoice","uniqueKey":"payload.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.metadata","typeLabel":"object | null"},"redirect_url":{"oneOf":[{"type":"string","format":"uri","description":"URL to redirect to after payment completion","examples":["https://example.com/success"],"uniqueKey":"payload.redirect_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL to redirect to after payment completion","examples":["https://example.com/success"],"uniqueKey":"payload.redirect_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.redirect_url","typeLabel":"string\u003curi> | null"},"items":{"type":"array","description":"Array of invoice items","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the invoice item","uniqueKey":"payload.\\items.items.[INDEX].id","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier","uniqueKey":"payload.\\items.items.[INDEX].organization_id","typeLabel":"string"},"invoice_id":{"type":"string","description":"Invoice identifier","uniqueKey":"payload.\\items.items.[INDEX].invoice_id","typeLabel":"string"},"type":{"type":"string","enum":["PAYMENT_INTENT","PRODUCT"],"description":"Type of the invoice item","uniqueKey":"payload.\\items.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency code for the item","uniqueKey":"payload.\\items.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"product_id":{"oneOf":[{"type":"string","description":"Product identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].product_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product_id","typeLabel":"string | null"},"billing_schema_id":{"oneOf":[{"type":"string","description":"Billing schema identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].billing_schema_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Billing schema identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].billing_schema_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema_id","typeLabel":"string | null"},"payment_intent_id":{"oneOf":[{"type":"string","description":"Payment intent identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].payment_intent_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment intent identifier if applicable","uniqueKey":"payload.\\items.items.[INDEX].payment_intent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent_id","typeLabel":"string | null"},"quantity":{"type":"integer","description":"Quantity of the item","uniqueKey":"payload.\\items.items.[INDEX].quantity","typeLabel":"integer"},"status":{"type":"string","enum":["INCLUDED","EXCLUDED"],"description":"Status of the invoice item","uniqueKey":"payload.\\items.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"exclude_reason":{"oneOf":[{"type":"string","description":"Reason for exclusion if applicable","uniqueKey":"payload.\\items.items.[INDEX].exclude_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason for exclusion if applicable","uniqueKey":"payload.\\items.items.[INDEX].exclude_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].exclude_reason","typeLabel":"string | null"},"created_at":{"type":"string","format":"mysql-date-time","description":"Creation timestamp","uniqueKey":"payload.\\items.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.\\items.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.\\items.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"product":{"type":"object","description":"Product entity","required":["id","name","organization_id"],"properties":{"id":{"type":"string","description":"Unique product identifier","examples":["product_0197a8d9-8426-7e71-9edf-26301686ed26"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].product.id","typeLabel":"string"},"name":{"type":"string","description":"Product name","examples":["Premium API Access"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].product.name","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier","examples":["org_0197a8d9-8426-7e71-9edf-26301686ed26"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].product.organization_id","typeLabel":"string"},"version_group_id":{"type":"string","description":"Version group identifier","examples":["vg_0197a8d9-8426-7e71-9edf-26301686ed26"],"uniqueKey":"payload.\\items.items.[INDEX].product.version_group_id","typeLabel":"string"},"is_active":{"oneOf":[{"type":"integer","description":"Whether the product is active","uniqueKey":"payload.\\items.items.[INDEX].product.is_active.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Whether the product is active","uniqueKey":"payload.\\items.items.[INDEX].product.is_active.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.is_active","typeLabel":"integer | null"},"description":{"oneOf":[{"type":"string","description":"Product description","examples":["Premium API access with advanced features"],"uniqueKey":"payload.\\items.items.[INDEX].product.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product description","examples":["Premium API access with advanced features"],"uniqueKey":"payload.\\items.items.[INDEX].product.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.description","typeLabel":"string | null"},"image_id":{"oneOf":[{"type":"string","description":"Product image identifier","examples":["img_0197a8d9-8426-7e71-9edf-26301686ed26"],"uniqueKey":"payload.\\items.items.[INDEX].product.image_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product image identifier","examples":["img_0197a8d9-8426-7e71-9edf-26301686ed26"],"uniqueKey":"payload.\\items.items.[INDEX].product.image_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image_id","typeLabel":"string | null"},"metadata":{"oneOf":[{"type":"object","description":"Additional product metadata","uniqueKey":"payload.\\items.items.[INDEX].product.metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional product metadata","uniqueKey":"payload.\\items.items.[INDEX].product.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.metadata","typeLabel":"object | null"},"schemas":{"type":"array","description":"Product billing schemas","items":{"type":"object","description":"Billing schema","properties":{"id":{"type":"string","description":"Unique schema identifier","examples":["schema_01971675-8d85-7007-bc44-dc2a77e1038d"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].id","typeLabel":"string"},"version_group_id":{"type":"string","description":"Version group identifier","examples":["schema_01971675-8d85-7007-bc44-dc2a77e1038d"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].version_group_id","typeLabel":"string"},"is_active":{"oneOf":[{"type":"integer","description":"Whether the schema is active","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].is_active.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Whether the schema is active","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].is_active.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].is_active","typeLabel":"integer | null"},"name":{"type":"string","description":"Schema name","examples":["Basic Product"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Schema description","examples":["Basic Product Schema"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Schema description","examples":["Basic Product Schema"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].description","typeLabel":"string | null"},"organization_id":{"type":"string","description":"Organization identifier","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].organization_id","typeLabel":"string"},"product_id":{"oneOf":[{"type":"string","description":"Product identifier","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].product_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product identifier","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].product_id","typeLabel":"string | null"},"type":{"type":"string","enum":["ONE_TIME","RECURRING","USAGE_BASED","TIERED_USAGE"],"description":"Billing schema type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency code","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"base_price":{"oneOf":[{"type":"string","format":"decimal","description":"Price","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].base_price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"number","format":"decimal","description":"Price","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].base_price.oneOf.1","typeLabel":"number\u003cdecimal>"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].base_price","typeLabel":"string\u003cdecimal> | number\u003cdecimal>"},"interval_type":{"oneOf":[{"type":"string","enum":["DAY","WEEK","MONTH","YEAR",null],"description":"Billing interval type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DAY","WEEK","MONTH","YEAR",null],"description":"Billing interval type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_type","typeLabel":"enum\u003cstring> | null"},"interval_count":{"oneOf":[{"type":"number","description":"Billing interval count","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_count.oneOf.0","typeLabel":"number"},{"type":"null","description":"Billing interval count","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].interval_count","typeLabel":"number | null"},"payment_type":{"oneOf":[{"type":"string","enum":["ADVANCE","ARREARS",null],"description":"Payment type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].payment_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["ADVANCE","ARREARS",null],"description":"Payment type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].payment_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].payment_type","typeLabel":"enum\u003cstring> | null"},"renew_type":{"oneOf":[{"type":"string","enum":["CALENDAR","ANNIVERSARY",null],"description":"Renewal type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].renew_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["CALENDAR","ANNIVERSARY",null],"description":"Renewal type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].renew_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].renew_type","typeLabel":"enum\u003cstring> | null"},"billing_type":{"oneOf":[{"type":"string","enum":["PRORATED","FULL",null],"description":"Billing type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].billing_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PRORATED","FULL",null],"description":"Billing type","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].billing_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].billing_type","typeLabel":"enum\u003cstring> | null"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was created","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"configurations":{"type":"array","description":"Array of billing configurations for the schema","items":{"type":"object","description":"Schema configuration","properties":{"id":{"type":"string","description":"Configuration identifier","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].id","typeLabel":"string"},"version_group_id":{"type":"string","description":"Version group identifier","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].version_group_id","typeLabel":"string"},"is_active":{"oneOf":[{"type":"integer","description":"Whether the configuration is active","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].is_active.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Whether the configuration is active","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].is_active.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].is_active","typeLabel":"integer | null"},"schema_id":{"type":"string","description":"Schema identifier","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].schema_id","typeLabel":"string"},"starts_at":{"oneOf":[{"type":"string","format":"decimal","description":"Start time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].starts_at.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"Start time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].starts_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].starts_at","typeLabel":"string\u003cdecimal> | null"},"ends_at":{"oneOf":[{"type":"string","format":"decimal","description":"End time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].ends_at.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"End time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].ends_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].ends_at","typeLabel":"string\u003cdecimal> | null"},"price_per_unit":{"oneOf":[{"type":"string","format":"decimal","description":"Price per unit in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].price_per_unit.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"Price per unit in decimal format","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].price_per_unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].price_per_unit","typeLabel":"string\u003cdecimal> | null"},"metric_id":{"oneOf":[{"type":"string","description":"Metric identifier for the configuration","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].metric_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Metric identifier for the configuration","uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].metric_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].metric_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was created","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"}},"examples":[{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"1.000000000000","ends_at":"2.000000000000","price_per_unit":"5.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41"}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX].configurations","typeLabel":"object[]"}},"examples":[{"id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","version_group_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","is_active":1,"name":"Basic Product","description":"Basic Product Schema","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01971675-8d84-79cb-8daa-304ca034b067","type":"RECURRING","currency":"USD","base_price":"10.030000000000000000000000000000","interval_type":"MONTH","interval_count":1,"payment_type":"ARREARS","renew_type":"CALENDAR","billing_type":"FULL","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41","configurations":[{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"1.000000000000","ends_at":"2.000000000000","price_per_unit":"5.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41"},{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"2.000000000000","ends_at":"3.000000000000","price_per_unit":"6.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-06-12 23:57:41","updated_at":"2025-06-22 19:12:41"}]}],"uniqueKey":"payload.\\items.items.[INDEX].product.schemas.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.\\items.items.[INDEX].product.schemas","typeLabel":"object[]"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was created","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].product.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"image":{"oneOf":[{"type":"object","description":"Associated product's image","properties":{"id":{"type":"string","description":"Unique identifier for the file","examples":["file_0196b6e6-54e3-796d-9c6a-2862a5fef597"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Original filename","examples":["4.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.name","typeLabel":"string"},"url":{"oneOf":[{"type":"string","format":"uri","description":"URL for accessing the file resource","examples":["https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL for accessing the file resource","examples":["https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.url","typeLabel":"string\u003curi> | null"},"mime_type":{"type":"string","description":"MIME type of the file","examples":["image/jpeg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.mime_type","typeLabel":"string"},"type":{"type":"string","description":"Type of the file (e.g., image, document, video, audio, archive, general)","enum":["image","document","video","audio","archive","general"],"examples":["image"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.type","typeLabel":"enum\u003cstring>"},"is_duplicate":{"type":"boolean","description":"Indicates if the file is a duplicate","examples":[true],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.is_duplicate","typeLabel":"boolean"},"hash":{"type":"string","description":"File hash for duplicate detection","examples":["04b9e2ec43133ae7287f97764c0beda19f304374e1d6bfe4fcc36ad54502e5dc"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.hash","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier that owns the file","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.organization_id","typeLabel":"string"},"original_name":{"type":"string","description":"Original filename as uploaded","examples":["4.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.original_name","typeLabel":"string"},"filename":{"type":"string","description":"Generated filename for storage","examples":["0198042e-6dde-76e0-b817-3afb324e29ac.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.filename","typeLabel":"string"},"filepath":{"type":"string","description":"Full path to the file in storage","examples":["org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.filepath","typeLabel":"string"},"file_size":{"type":"integer","description":"File size in bytes (alternative to size field)","examples":[1060793],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.file_size","typeLabel":"integer"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the file was created","examples":["2025-07-13 16:26:48.415"],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the file was last updated","examples":[null],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the file was last updated","examples":[null],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0.updated_at","typeLabel":"string\u003cmysql-date-time> | null"}},"examples":[{"id":"file_0196b6e6-54e3-796d-9c6a-2862a5fef597","url":"https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"},{"id":"file_0198042e-6dde-7b9c-bc91-452a7e0c833b","name":"4.jpg","url":"https://assets.bitgpt.xyz/org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg","file_size":1060793,"mime_type":"image/jpeg","is_duplicate":true},{"id":"file_0198042e-6dde-7b9c-bc91-452a7e0c833b","hash":"04b9e2ec43133ae7287f97764c0beda19f304374e1d6bfe4fcc36ad54502e5dc","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","original_name":"4.jpg","filename":"0198042e-6dde-76e0-b817-3afb324e29ac.jpg","filepath":"org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg","mime_type":"image/jpeg","file_size":1060793,"type":"image","created_at":"2025-07-13 16:26:48.415","updated_at":null,"url":"https://assets.bitgpt.xyz/org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.0","typeLabel":"object"},{"type":"null","description":"Associated product's image","properties":{"id":{"type":"string","description":"Unique identifier for the file","examples":["file_0196b6e6-54e3-796d-9c6a-2862a5fef597"]},"name":{"type":"string","description":"Original filename","examples":["4.jpg"]},"url":{"oneOf":[{"type":"string","format":"uri","description":"URL for accessing the file resource","examples":["https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"]},{"type":"null","format":"uri","description":"URL for accessing the file resource","examples":["https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"]}]},"mime_type":{"type":"string","description":"MIME type of the file","examples":["image/jpeg"]},"type":{"type":"string","description":"Type of the file (e.g., image, document, video, audio, archive, general)","enum":["image","document","video","audio","archive","general"],"examples":["image"]},"is_duplicate":{"type":"boolean","description":"Indicates if the file is a duplicate","examples":[true]},"hash":{"type":"string","description":"File hash for duplicate detection","examples":["04b9e2ec43133ae7287f97764c0beda19f304374e1d6bfe4fcc36ad54502e5dc"]},"organization_id":{"type":"string","description":"Organization identifier that owns the file","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"]},"original_name":{"type":"string","description":"Original filename as uploaded","examples":["4.jpg"]},"filename":{"type":"string","description":"Generated filename for storage","examples":["0198042e-6dde-76e0-b817-3afb324e29ac.jpg"]},"filepath":{"type":"string","description":"Full path to the file in storage","examples":["org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg"]},"file_size":{"type":"integer","description":"File size in bytes (alternative to size field)","examples":[1060793]},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the file was created","examples":["2025-07-13 16:26:48.415"]},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the file was last updated","examples":[null]},{"type":"null","format":"mysql-date-time","description":"Timestamp when the file was last updated","examples":[null]}]}},"examples":[{"id":"file_0196b6e6-54e3-796d-9c6a-2862a5fef597","url":"https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"},{"id":"file_0198042e-6dde-7b9c-bc91-452a7e0c833b","name":"4.jpg","url":"https://assets.bitgpt.xyz/org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg","file_size":1060793,"mime_type":"image/jpeg","is_duplicate":true},{"id":"file_0198042e-6dde-7b9c-bc91-452a7e0c833b","hash":"04b9e2ec43133ae7287f97764c0beda19f304374e1d6bfe4fcc36ad54502e5dc","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","original_name":"4.jpg","filename":"0198042e-6dde-76e0-b817-3afb324e29ac.jpg","filepath":"org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg","mime_type":"image/jpeg","file_size":1060793,"type":"image","created_at":"2025-07-13 16:26:48.415","updated_at":null,"url":"https://assets.bitgpt.xyz/org_uploads/org_0196b0e9-11d8-7f26-b1d2-bd47054e4827/image/0198042e-6dde-76e0-b817-3afb324e29ac.jpg"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].product.image","typeLabel":"object | null"}},"examples":[{"id":"product_01971675-8d84-79cb-8daa-304ca034b067","version_group_id":"product_01971675-8d84-79cb-8daa-304ca034b067","is_active":1,"name":"First Subscription #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"Third Subscriptio is coming","image_id":null,"metadata":{"one":"1","two":"2","three":"3","four":"4"},"created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41","schemas":[{"id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","version_group_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","is_active":1,"name":"Basic Product","description":"Basic Product Schema","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01971675-8d84-79cb-8daa-304ca034b067","type":"RECURRING","currency":"USD","base_price":"10.030000000000000000000000000000","interval_type":"MONTH","interval_count":1,"payment_type":"ARREARS","renew_type":"CALENDAR","billing_type":"FULL","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41","configurations":[{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"1.000000000000","ends_at":"2.000000000000","price_per_unit":"5.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41"},{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"2.000000000000","ends_at":"3.000000000000","price_per_unit":"6.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-06-12 23:57:41","updated_at":"2025-06-22 19:12:41"}]},{"id":"schema_01971675-8d85-7007-bc44-dc2a77e1038e","version_group_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038e","is_active":1,"name":"Middle Products","description":"Middle Product Schema","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01971675-8d84-79cb-8daa-304ca034b067","type":"RECURRING","currency":"USD","base_price":"15.000000000000000000000000000000","interval_type":"MONTH","interval_count":1,"payment_type":"ARREARS","renew_type":"CALENDAR","billing_type":"FULL","created_at":"2025-06-12 23:47:20","updated_at":"2025-06-22 19:12:41","configurations":[]}]}],"uniqueKey":"payload.\\items.items.[INDEX].product","typeLabel":"object"},"billing_schema":{"type":"object","description":"Billing schema","properties":{"id":{"type":"string","description":"Unique schema identifier","examples":["schema_01971675-8d85-7007-bc44-dc2a77e1038d"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.id","typeLabel":"string"},"version_group_id":{"type":"string","description":"Version group identifier","examples":["schema_01971675-8d85-7007-bc44-dc2a77e1038d"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.version_group_id","typeLabel":"string"},"is_active":{"oneOf":[{"type":"integer","description":"Whether the schema is active","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.is_active.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Whether the schema is active","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.is_active.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.is_active","typeLabel":"integer | null"},"name":{"type":"string","description":"Schema name","examples":["Basic Product"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Schema description","examples":["Basic Product Schema"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Schema description","examples":["Basic Product Schema"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.description","typeLabel":"string | null"},"organization_id":{"type":"string","description":"Organization identifier","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.organization_id","typeLabel":"string"},"product_id":{"oneOf":[{"type":"string","description":"Product identifier","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.product_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Product identifier","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.product_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.product_id","typeLabel":"string | null"},"type":{"type":"string","enum":["ONE_TIME","RECURRING","USAGE_BASED","TIERED_USAGE"],"description":"Billing schema type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.type","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency code","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.currency","typeLabel":"enum\u003cstring>"},"base_price":{"oneOf":[{"type":"string","format":"decimal","description":"Price","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.base_price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"number","format":"decimal","description":"Price","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.base_price.oneOf.1","typeLabel":"number\u003cdecimal>"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.base_price","typeLabel":"string\u003cdecimal> | number\u003cdecimal>"},"interval_type":{"oneOf":[{"type":"string","enum":["DAY","WEEK","MONTH","YEAR",null],"description":"Billing interval type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["DAY","WEEK","MONTH","YEAR",null],"description":"Billing interval type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_type","typeLabel":"enum\u003cstring> | null"},"interval_count":{"oneOf":[{"type":"number","description":"Billing interval count","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_count.oneOf.0","typeLabel":"number"},{"type":"null","description":"Billing interval count","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.interval_count","typeLabel":"number | null"},"payment_type":{"oneOf":[{"type":"string","enum":["ADVANCE","ARREARS",null],"description":"Payment type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.payment_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["ADVANCE","ARREARS",null],"description":"Payment type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.payment_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.payment_type","typeLabel":"enum\u003cstring> | null"},"renew_type":{"oneOf":[{"type":"string","enum":["CALENDAR","ANNIVERSARY",null],"description":"Renewal type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.renew_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["CALENDAR","ANNIVERSARY",null],"description":"Renewal type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.renew_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.renew_type","typeLabel":"enum\u003cstring> | null"},"billing_type":{"oneOf":[{"type":"string","enum":["PRORATED","FULL",null],"description":"Billing type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.billing_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PRORATED","FULL",null],"description":"Billing type","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.billing_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.billing_type","typeLabel":"enum\u003cstring> | null"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was created","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"configurations":{"type":"array","description":"Array of billing configurations for the schema","items":{"type":"object","description":"Schema configuration","properties":{"id":{"type":"string","description":"Configuration identifier","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].id","typeLabel":"string"},"version_group_id":{"type":"string","description":"Version group identifier","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].version_group_id","typeLabel":"string"},"is_active":{"oneOf":[{"type":"integer","description":"Whether the configuration is active","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].is_active.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Whether the configuration is active","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].is_active.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].is_active","typeLabel":"integer | null"},"schema_id":{"type":"string","description":"Schema identifier","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].schema_id","typeLabel":"string"},"starts_at":{"oneOf":[{"type":"string","format":"decimal","description":"Start time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].starts_at.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"Start time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].starts_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].starts_at","typeLabel":"string\u003cdecimal> | null"},"ends_at":{"oneOf":[{"type":"string","format":"decimal","description":"End time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].ends_at.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"End time in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].ends_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].ends_at","typeLabel":"string\u003cdecimal> | null"},"price_per_unit":{"oneOf":[{"type":"string","format":"decimal","description":"Price per unit in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].price_per_unit.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"Price per unit in decimal format","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].price_per_unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].price_per_unit","typeLabel":"string\u003cdecimal> | null"},"metric_id":{"oneOf":[{"type":"string","description":"Metric identifier for the configuration","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].metric_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Metric identifier for the configuration","uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].metric_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].metric_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was created","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the product was last updated","examples":["2024-01-15 10:30:00"],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"}},"examples":[{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"1.000000000000","ends_at":"2.000000000000","price_per_unit":"5.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41"}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.\\items.items.[INDEX].billing_schema.configurations","typeLabel":"object[]"}},"examples":[{"id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","version_group_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","is_active":1,"name":"Basic Product","description":"Basic Product Schema","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01971675-8d84-79cb-8daa-304ca034b067","type":"RECURRING","currency":"USD","base_price":"10.030000000000000000000000000000","interval_type":"MONTH","interval_count":1,"payment_type":"ARREARS","renew_type":"CALENDAR","billing_type":"FULL","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41","configurations":[{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e26","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"1.000000000000","ends_at":"2.000000000000","price_per_unit":"5.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-05-28 12:34:52","updated_at":"2025-06-22 19:12:41"},{"id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","version_group_id":"config_01971675-8d86-72bb-9f08-82e2456c6e27","is_active":1,"schema_id":"schema_01971675-8d85-7007-bc44-dc2a77e1038d","starts_at":"2.000000000000","ends_at":"3.000000000000","price_per_unit":"6.000000000000000000000000000000","metric_id":"metric_01971675-8d86-797c-8621-b918d4c83fc1","created_at":"2025-06-12 23:57:41","updated_at":"2025-06-22 19:12:41"}]}],"uniqueKey":"payload.\\items.items.[INDEX].billing_schema","typeLabel":"object"},"payment_intent":{"type":"object","description":"Payment intent entity","required":["id","organization_id","currency","price","created_at"],"properties":{"id":{"type":"string","description":"Unique payment intent identifier","examples":["pi_0197d634-7d90-7124-acc6-fc69c1a3598b"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.id","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier","examples":["org_0196b0e9-11d8-7f26-b1d2-bd47054e4827"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.organization_id","typeLabel":"string"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Payment currency code","isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.currency","typeLabel":"enum\u003cstring>"},"price":{"type":"string","description":"Payment amount with high precision decimal","examples":["501.000000000000000000000000000000"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.price","typeLabel":"string"},"created_at":{"type":"string","format":"mysql-date-time","description":"Timestamp when the payment intent was created","examples":["2025-07-04 18:10:53"],"isRequired":true,"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.created_at","typeLabel":"string\u003cmysql-date-time>"},"customer_email":{"oneOf":[{"type":"string","description":"Email address of the customer (optional)","uniqueKey":"payload.\\items.items.[INDEX].payment_intent.customer_email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email address of the customer (optional)","uniqueKey":"payload.\\items.items.[INDEX].payment_intent.customer_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.customer_email","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Timestamp when the payment intent was last updated","examples":["2025-07-04 18:10:53",null],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Timestamp when the payment intent was last updated","examples":["2025-07-04 18:10:53",null],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent.updated_at","typeLabel":"string\u003cmysql-date-time> | null"}},"examples":[{"id":"pi_0197d634-7d90-7124-acc6-fc69c1a3598b","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","currency":"AUD","price":"501.000000000000000000000000000000","created_at":"2025-07-04 18:10:53","updated_at":null}],"uniqueKey":"payload.\\items.items.[INDEX].payment_intent","typeLabel":"object"}},"uniqueKey":"payload.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.\\items","typeLabel":"object[]"},"calculations":{"type":"array","description":"Array of invoice calculations","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the calculation","uniqueKey":"payload.calculations.items.[INDEX].id","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier","uniqueKey":"payload.calculations.items.[INDEX].organization_id","typeLabel":"string"},"invoice_id":{"type":"string","description":"Invoice identifier","uniqueKey":"payload.calculations.items.[INDEX].invoice_id","typeLabel":"string"},"invoice_item_id":{"oneOf":[{"type":"string","description":"Invoice item identifier if applicable","uniqueKey":"payload.calculations.items.[INDEX].invoice_item_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Invoice item identifier if applicable","uniqueKey":"payload.calculations.items.[INDEX].invoice_item_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.calculations.items.[INDEX].invoice_item_id","typeLabel":"string | null"},"title":{"type":"string","description":"Title of the calculation","uniqueKey":"payload.calculations.items.[INDEX].title","typeLabel":"string"},"calculation_type":{"type":"string","enum":["CURRENCY_CHANGE","PAYMENT_INTENT","PRODUCT","TOTAL","TOTAL_USD","TOTAL_ORIGINAL"],"description":"Type of calculation","uniqueKey":"payload.calculations.items.[INDEX].calculation_type","typeLabel":"enum\u003cstring>"},"idx":{"type":"integer","description":"Index of the calculation","uniqueKey":"payload.calculations.items.[INDEX].idx","typeLabel":"integer"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency code for the calculation","uniqueKey":"payload.calculations.items.[INDEX].currency","typeLabel":"enum\u003cstring>"},"initial_price":{"type":"string","description":"Initial price as decimal string","uniqueKey":"payload.calculations.items.[INDEX].initial_price","typeLabel":"string"},"price_delta":{"type":"string","description":"Price delta as decimal string","uniqueKey":"payload.calculations.items.[INDEX].price_delta","typeLabel":"string"},"price":{"type":"string","description":"Final price as decimal string","uniqueKey":"payload.calculations.items.[INDEX].price","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Additional calculation details","uniqueKey":"payload.calculations.items.[INDEX].details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Additional calculation details","uniqueKey":"payload.calculations.items.[INDEX].details.oneOf.1","typeLabel":"array"}],"uniqueKey":"payload.calculations.items.[INDEX].details","typeLabel":"object | array"},"created_at":{"type":"string","format":"mysql-date-time","description":"Creation timestamp","uniqueKey":"payload.calculations.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.calculations.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.calculations.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.calculations.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"}},"uniqueKey":"payload.calculations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.calculations","typeLabel":"object[]"},"calculation_summary":{"type":"object","description":"Summary of invoice calculations","properties":{"invoice_id":{"type":"string","description":"Invoice identifier","uniqueKey":"payload.calculation_summary.invoice_id","typeLabel":"string"},"currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency code","uniqueKey":"payload.calculation_summary.currency","typeLabel":"enum\u003cstring>"},"currency_original":{"oneOf":[{"type":"string","description":"Original currency code","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"example":"GBP","uniqueKey":"payload.calculation_summary.currency_original.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Original currency code","uniqueKey":"payload.calculation_summary.currency_original.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.calculation_summary.currency_original","typeLabel":"enum\u003cstring> | null"},"total_price":{"type":"string","description":"Total price as decimal string","uniqueKey":"payload.calculation_summary.total_price","typeLabel":"string"},"total_price_usd":{"type":"string","description":"Total price in USD as decimal string","uniqueKey":"payload.calculation_summary.total_price_usd","typeLabel":"string"},"total_price_original":{"oneOf":[{"type":"string","description":"Total price in original currency as decimal string","uniqueKey":"payload.calculation_summary.total_price_original.oneOf.0","typeLabel":"string"},{"type":"null","description":"Total price in original currency as decimal string","uniqueKey":"payload.calculation_summary.total_price_original.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.calculation_summary.total_price_original","typeLabel":"string | null"},"cache":{"type":"object","description":"Cache information","properties":{"used":{"type":"boolean","description":"Whether cache was used","uniqueKey":"payload.calculation_summary.cache.used","typeLabel":"boolean"},"expires_at":{"type":"integer","description":"Cache expiration timestamp","uniqueKey":"payload.calculation_summary.cache.expires_at","typeLabel":"integer"},"expires_in":{"type":"integer","description":"Cache expiration time in seconds","uniqueKey":"payload.calculation_summary.cache.expires_in","typeLabel":"integer"}},"uniqueKey":"payload.calculation_summary.cache","typeLabel":"object"},"convert_currency":{"type":"string","enum":["BITCOIN","ETHEREUM","USDT","USDC","USDC_NATIVE","SOLANA","BINANCE_COIN","RIPPLE","POLYGON","TRON","LITECOIN","BITCOIN_CASH","DOGECOIN","USD","EUR","CHF","GBP","AUD","JPY","CNY","CAD","HKD","SGD","SEK","KRW","NOK","NZD","INR","MXN","TWD","ZAR","BRL","DKK","PLN","THB","ILS","IDR","CZK","AED","TRY","HUF","CLP","SAR","PHP","MYR","COP","RUB","RON","PEN"],"examples":["GBP","BITCOIN"],"description":"Currency to convert to","uniqueKey":"payload.calculation_summary.convert_currency","typeLabel":"enum\u003cstring>"},"total_price_converted":{"type":"string","description":"Total price converted to specified currency","uniqueKey":"payload.calculation_summary.total_price_converted","typeLabel":"string"}},"uniqueKey":"payload.calculation_summary","typeLabel":"object"},"organization":{"type":"object","description":"Organization information","properties":{"name":{"type":"string","description":"Organization name","uniqueKey":"payload.organization.name","typeLabel":"string"},"image_url":{"oneOf":[{"type":"string","description":"Organization image URL","uniqueKey":"payload.organization.image_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Organization image URL","uniqueKey":"payload.organization.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.organization.image_url","typeLabel":"string | null"},"stripe_config":{"oneOf":[{"type":"object","description":"Stripe configuration details","properties":{"stripe_user_id":{"type":"string","description":"Stripe user identifier","uniqueKey":"payload.organization.stripe_config.oneOf.0.stripe_user_id","typeLabel":"string"}},"uniqueKey":"payload.organization.stripe_config.oneOf.0","typeLabel":"object"},{"type":"null","description":"Stripe configuration details","properties":{"stripe_user_id":{"type":"string","description":"Stripe user identifier"}},"uniqueKey":"payload.organization.stripe_config.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.organization.stripe_config","typeLabel":"object | null"}},"uniqueKey":"payload.organization","typeLabel":"object"},"payments":{"type":"array","description":"Array of payments","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the payment","uniqueKey":"payload.payments.items.[INDEX].id","typeLabel":"string"},"idempotency_key":{"type":"string","description":"Idempotency key for the payment","uniqueKey":"payload.payments.items.[INDEX].idempotency_key","typeLabel":"string"},"organization_id":{"type":"string","description":"Organization identifier","uniqueKey":"payload.payments.items.[INDEX].organization_id","typeLabel":"string"},"provider_id":{"type":"string","description":"Provider identifier","uniqueKey":"payload.payments.items.[INDEX].provider_id","typeLabel":"string"},"invoice_id":{"type":"string","description":"Invoice identifier","uniqueKey":"payload.payments.items.[INDEX].invoice_id","typeLabel":"string"},"currency":{"type":"string","description":"Currency code for the payment","uniqueKey":"payload.payments.items.[INDEX].currency","typeLabel":"string"},"price":{"type":"string","description":"Price of the payment","uniqueKey":"payload.payments.items.[INDEX].price","typeLabel":"string"},"status":{"type":"string","description":"Status of the payment","uniqueKey":"payload.payments.items.[INDEX].status","typeLabel":"string"},"created_at":{"type":"string","format":"mysql-date-time","description":"Creation timestamp","uniqueKey":"payload.payments.items.[INDEX].created_at","typeLabel":"string\u003cmysql-date-time>"},"updated_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.payments.items.[INDEX].updated_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Last update timestamp","uniqueKey":"payload.payments.items.[INDEX].updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.payments.items.[INDEX].updated_at","typeLabel":"string\u003cmysql-date-time> | null"},"happened_at":{"oneOf":[{"type":"string","format":"mysql-date-time","description":"Happened at timestamp","uniqueKey":"payload.payments.items.[INDEX].happened_at.oneOf.0","typeLabel":"string\u003cmysql-date-time>"},{"type":"null","format":"mysql-date-time","description":"Happened at timestamp","uniqueKey":"payload.payments.items.[INDEX].happened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"payload.payments.items.[INDEX].happened_at","typeLabel":"string\u003cmysql-date-time> | null"}},"uniqueKey":"payload.payments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payload.payments","typeLabel":"object[]"}},"required":["id","organization_id","status","currency","price","created_at","updated_at"],"examples":[{"id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","status":"PENDING","substatus":null,"currency":"EUR","price":"56.550000000000000000000000000000","price_usd":"66.750000000000000000000000000000","created_at":"2025-07-28 18:54:42","updated_at":"2025-07-28 18:55:34","redirect_url":null,"customer_email":"test@test.tt","metadata":{"one":"1","two":"2","three":"3","four":"4"},"items":[{"id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","type":"PRODUCT","currency":"GBP","product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","billing_schema_id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","payment_intent_id":null,"quantity":4,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-28 18:54:42","updated_at":null,"product":{"id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","version_group_id":"product_01981e60-62f5-7f75-8576-aa262be8ea54","is_active":1,"name":"Product #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"111","image_id":null,"created_at":"2025-07-19 13:17:07","updated_at":null,"image":null},"billing_schema":{"id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","is_active":1,"version_group_id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","name":"Basic Product","description":"Billing Schema #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","type":"ONE_TIME","currency":"GBP","base_price":"10.000000000000000000000000000000","interval_type":null,"interval_count":null,"payment_type":null,"renew_type":null,"billing_type":null,"created_at":"2025-07-19 13:17:07","updated_at":null}},{"id":"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","type":"PRODUCT","currency":"EUR","product_id":"product_0198222f-fe06-743f-8651-42128a1e218a","billing_schema_id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","payment_intent_id":null,"quantity":1,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-28 18:54:42","updated_at":null,"product":{"id":"product_0198222f-fe06-743f-8651-42128a1e218a","version_group_id":"product_0198222f-fe06-743f-8651-42128a1e218a","is_active":1,"name":"Product #2","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"ONE_TIME PRODUCT","image_id":null,"created_at":"2025-07-19 12:17:07","updated_at":null,"image":null},"billing_schema":{"id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","is_active":1,"version_group_id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","name":"Product #2","description":"Billing Schema #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_0198222f-fe06-743f-8651-42128a1e218a","type":"ONE_TIME","currency":"EUR","base_price":"10.000000000000000000000000000000","interval_type":null,"interval_count":null,"payment_type":null,"renew_type":null,"billing_type":null,"created_at":"2025-07-19 12:17:07","updated_at":null}}],"calculations":[{"id":"invoice_calc_019851f6-03c9-7768-9a6f-3e7a86b7eeed","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","title":"Product #1","calculation_type":"PRODUCT","idx":0,"currency":"GBP","initial_price":"40.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"40.000000000000000000000000000000","details":{"price":"10.000000000000000000000000000000","currency":"GBP","quantity":4,"product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03cc-7fe9-8c19-a4cb550bb75c","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","title":"Currency change GBP => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"40.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"46.557223908892338549036308436250","details":{"to":"EUR","from":"GBP","to_rate_usd":"0.847260000000000000","from_rate_usd":"0.727930000000000000"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03ce-7afb-a2e6-897bb4a22728","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3","title":"Product #2","calculation_type":"PRODUCT","idx":0,"currency":"EUR","initial_price":"10.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"10.000000000000000000000000000000","details":{"price":"10.000000000000000000000000000000","currency":"EUR","quantity":1,"product_id":"product_0198222f-fe06-743f-8651-42128a1e218a"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03d0-755e-ac57-96ca8b9dd424","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":null,"title":"Total","calculation_type":"TOTAL","idx":0,"currency":"EUR","initial_price":"56.557223908892338549036308436250","price_delta":"0.000000000000000000000000000000","price":"56.557223908892338549036308436250","details":[],"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03d2-7cd5-872e-d0fdc5f19f97","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":null,"title":"Total, USD","calculation_type":"TOTAL_USD","idx":0,"currency":"USD","initial_price":"66.753091033321930161976616901836","price_delta":"0.000000000000000000000000000000","price":"66.753091033321930161976616901836","details":[],"created_at":"2025-07-28 18:55:34","updated_at":null}],"organization":{"name":"4","image_url":"https://assets.bitgpt.xyz/uploads/2025/03/26/156091ee0884f36de9836d.jpeg"},"payments":[{"id":"payment_01979449-dc2f-71e4-b565-42d78c0d83aa","idempotency_key":"1b70f35483e563e009967abe74308e6977f9b36f1bfc05168fa22104b64293d6-invoice_01979284-7610-79f8-86c4-978168730054","organization_id":"org_f44b7809595e5ebe3bb4d6","provider_id":"prov_bitcoin_bitcoin","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","currency":"BITCOIN","price":"0.000126300000000000000000000000","status":"COMPLETED","created_at":"2025-06-21 22:59:17","updated_at":"2025-08-20 23:57:58","happened_at":"2025-06-21 22:59:17"}]},{"id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","customer_email":"user@example.com","status":"PENDING","substatus":null,"currency":"EUR","price":"504.818257074815000000000000000000","price_usd":"550.123456789012345678901234567890","metadata":{"value1":1,"value2":"test"},"redirect_url":null,"created_at":"2025-07-04 18:10:53","updated_at":"2025-07-04 18:10:53"},{"id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","customer_email":"user@example.com","status":"PENDING","substatus":null,"currency":"EUR","price":"504.818257074815000000000000000000","price_usd":"550.123456789012345678901234567890","metadata":null,"redirect_url":"","created_at":"2025-07-04 18:10:53","updated_at":"2025-07-04 18:10:53","items":[{"id":"invoice_item_0197d634-7d91-712c-a766-510e8d889c69","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","type":"PAYMENT_INTENT","currency":"AUD","product_id":null,"billing_schema_id":null,"payment_intent_id":"pi_0197d634-7d90-7124-acc6-fc69c1a3598b","quantity":1,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_item_0197d634-7d93-7f7a-9131-5f18e7770773","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","type":"PAYMENT_INTENT","currency":"BITCOIN","product_id":null,"billing_schema_id":null,"payment_intent_id":"pi_0197d634-7d92-7d0c-b2e8-9021ad9f599d","quantity":1,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_item_0197d634-7d94-7bcf-a7ef-0979f02b1caf","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","type":"PAYMENT_INTENT","currency":"GBP","product_id":null,"billing_schema_id":null,"payment_intent_id":"pi_0197d634-7d93-7433-b205-b7ec90311980","quantity":1,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_item_0197d634-7d95-720e-8117-7854f2ea3414","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","type":"PRODUCT","currency":"GBP","product_id":"product_0197a8d9-8426-7e71-9edf-26301686ed26","billing_schema_id":"schema_0197a8d9-8427-7dc4-9b9f-4e29594b5d12","payment_intent_id":null,"quantity":2,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-04 18:10:53","updated_at":null,"product":{"id":"product_0197a8d9-8426-7e71-9edf-26301686ed26","version_group_id":"product_01971675-cbb6-7c81-8281-98c2c8607f09","is_active":1,"name":"444","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"111","image_id":"file_0196b6e6-54e3-796d-9c6a-2862a5fef597","created_at":"2025-06-25 22:48:36","updated_at":"2025-07-09 17:39:38","image":{"id":"file_0196b6e6-54e3-796d-9c6a-2862a5fef597","url":"https://assets.bitgpt.xyz//app/public/src/storage/uploads/image/2025/05/09/0196b6e6-54e3-7290-9d73-0074c623e368.jpg"}}}],"calculations":[{"id":"invoice_calc_0197d634-7db1-7350-8e0d-4bafd500fecd","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d91-712c-a766-510e8d889c69","title":"Currency change AUD => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"501.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"286.233549368620000000000000000000","details":{"to":"EUR","from":"AUD","to_rate_usd":"0.879502000000000005","from_rate_usd":"1.539409000000000027"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db1-7923-9a3c-6d26d3c541b1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d91-712c-a766-510e8d889c69","title":"Payment Intent: pi_0197d634-7d90-7124-acc6-fc69c1a3598b","calculation_type":"PAYMENT_INTENT","idx":0,"currency":"AUD","initial_price":"501.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"501.000000000000000000000000000000","details":{"price":null,"currency":"AUD","quantity":1,"payment_intent_id":"pi_0197d634-7d90-7124-acc6-fc69c1a3598b"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db2-7ea3-be57-3a8da42b5736","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d93-7f7a-9131-5f18e7770773","title":"Payment Intent: pi_0197d634-7d92-7d0c-b2e8-9021ad9f599d","calculation_type":"PAYMENT_INTENT","idx":0,"currency":"BITCOIN","initial_price":"0.001000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"0.001000000000000000000000000000","details":{"price":null,"currency":"BITCOIN","quantity":1,"payment_intent_id":"pi_0197d634-7d92-7d0c-b2e8-9021ad9f599d"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db3-713c-ab66-c765668c2866","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d94-7bcf-a7ef-0979f02b1caf","title":"Payment Intent: pi_0197d634-7d93-7433-b205-b7ec90311980","calculation_type":"PAYMENT_INTENT","idx":0,"currency":"GBP","initial_price":"10.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"10.000000000000000000000000000000","details":{"price":null,"currency":"GBP","quantity":1,"payment_intent_id":"pi_0197d634-7d93-7433-b205-b7ec90311980"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db3-763f-bc53-0f85b942f469","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d93-7f7a-9131-5f18e7770773","title":"Currency change BITCOIN => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"0.001000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"92.397019055174000000000000000000","details":{"to":"EUR","from":"BITCOIN","to_rate_usd":"0.879502000000000005","from_rate_usd":"0.000009518727000000"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db4-7ad5-a3ca-5cc27915ade6","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d94-7bcf-a7ef-0979f02b1caf","title":"Currency change GBP => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"10.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"11.904498929341000000000000000000","details":{"to":"EUR","from":"GBP","to_rate_usd":"0.879502000000000005","from_rate_usd":"0.738797999999999954"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db5-7133-8a1a-6ce942788d57","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d95-720e-8117-7854f2ea3414","title":"Currency change GBP => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"48.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"57.141594860840000000000000000000","details":{"to":"EUR","from":"GBP","to_rate_usd":"0.879502000000000005","from_rate_usd":"0.738797999999999954"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db5-7ab5-9818-8fb301c02b71","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d95-720e-8117-7854f2ea3414","title":"444","calculation_type":"PRODUCT","idx":0,"currency":"GBP","initial_price":"48.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"48.000000000000000000000000000000","details":{"price":"24.000000000000000000000000000000","currency":"GBP","quantity":2,"product_id":"product_0197a8d9-8426-7e71-9edf-26301686ed26"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db6-753a-9bd9-00241f790bbb","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d95-720e-8117-7854f2ea3414","title":"444","calculation_type":"PRODUCT","idx":0,"currency":"GBP","initial_price":"48.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"48.000000000000000000000000000000","details":{"price":"24.000000000000000000000000000000","currency":"GBP","quantity":2,"product_id":"product_0197a8d9-8426-7e71-9edf-26301686ed26"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db7-7761-9a34-d56e71948e73","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":"invoice_item_0197d634-7d95-720e-8117-7854f2ea3414","title":"Currency change GBP => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"48.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"57.141594860840000000000000000000","details":{"to":"EUR","from":"GBP","to_rate_usd":"0.879502000000000005","from_rate_usd":"0.738797999999999954"},"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db8-75af-93bf-0af3202b8705","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":null,"title":"Total","calculation_type":"TOTAL","idx":0,"currency":"EUR","initial_price":"504.818257074815000000000000000000","price_delta":"0.000000000000000000000000000000","price":"504.818257074815000000000000000000","details":[],"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db9-7d8b-b91d-732600f7217b","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":null,"title":"Total, USD","calculation_type":"TOTAL_USD","idx":0,"currency":"USD","initial_price":"573.981931905572000000000000000000","price_delta":"0.000000000000000000000000000000","price":"573.981931905572000000000000000000","details":[],"created_at":"2025-07-04 18:10:53","updated_at":null},{"id":"invoice_calc_0197d634-7db9-7d8b-b91d-732600f7217b","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","invoice_item_id":null,"title":"Total, GBP","calculation_type":"TOTAL_ORIGINAL","idx":0,"currency":"GBP","initial_price":"424.103470801800000000000000000000","price_delta":"0.000000000000000000000000000000","price":"424.103470801800000000000000000000","details":[],"created_at":"2025-07-04 18:10:53","updated_at":null}],"calculation_summary":{"invoice_id":"invoice_0197d634-7d8e-7615-8007-e37b992cdb30","currency":"EUR","total_price":"504.818257074815000000000000000000","total_price_usd":"573.981931905572000000000000000000","cache":{"used":false,"expires_at":1751912947,"expires_in":0},"convert_currency":"GBP","total_price_converted":"424.056703327972"},"organization":{"name":"Organization Name","image_url":null,"stripe_config":{"stripe_user_id":"acct_2SD34569a7asSd0a"}}}],"isRequired":true,"uniqueKey":"payload","typeLabel":"object"},"timestamp":{"type":"string","description":"Timestamp when the event occurred","examples":["2025-08-20 20:56:36.456"],"isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"}},"required":["webhook_id","url","event","resource_id","payload","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"webhook_id":"webhook_0197be04-14b7-716e-9cba-f3582532f7dc","url":"https://webhook-handler.com/webhooks","event":"invoice.updated","resource_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","payload":{"id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","status":"PENDING","substatus":null,"currency":"EUR","price":"56.550000000000000000000000000000","price_usd":"66.750000000000000000000000000000","created_at":"2025-07-28 18:54:42","updated_at":"2025-07-28 18:55:34","redirect_url":null,"customer_email":"test@test.tt","metadata":{"one":"1","two":"2","three":"3","four":"4"},"items":[{"id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","type":"PRODUCT","currency":"GBP","product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","billing_schema_id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","payment_intent_id":null,"quantity":4,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-28 18:54:42","updated_at":null,"product":{"id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","version_group_id":"product_01981e60-62f5-7f75-8576-aa262be8ea54","is_active":1,"name":"Product #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"111","image_id":null,"created_at":"2025-07-19 13:17:07","updated_at":null,"image":null},"billing_schema":{"id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","is_active":1,"version_group_id":"schema_01982266-ee06-70fe-9cac-bc4b6d964815","name":"Basic Product","description":"Billing Schema #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946","type":"ONE_TIME","currency":"GBP","base_price":"10.000000000000000000000000000000","interval_type":null,"interval_count":null,"payment_type":null,"renew_type":null,"billing_type":null,"created_at":"2025-07-19 13:17:07","updated_at":null}},{"id":"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","type":"PRODUCT","currency":"EUR","product_id":"product_0198222f-fe06-743f-8651-42128a1e218a","billing_schema_id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","payment_intent_id":null,"quantity":1,"status":"INCLUDED","exclude_reason":null,"created_at":"2025-07-28 18:54:42","updated_at":null,"product":{"id":"product_0198222f-fe06-743f-8651-42128a1e218a","version_group_id":"product_0198222f-fe06-743f-8651-42128a1e218a","is_active":1,"name":"Product #2","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","description":"ONE_TIME PRODUCT","image_id":null,"created_at":"2025-07-19 12:17:07","updated_at":null,"image":null},"billing_schema":{"id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","is_active":1,"version_group_id":"schema_0198222f-fe07-76a8-87d0-880d5289f759","name":"Product #2","description":"Billing Schema #1","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","product_id":"product_0198222f-fe06-743f-8651-42128a1e218a","type":"ONE_TIME","currency":"EUR","base_price":"10.000000000000000000000000000000","interval_type":null,"interval_count":null,"payment_type":null,"renew_type":null,"billing_type":null,"created_at":"2025-07-19 12:17:07","updated_at":null}}],"calculations":[{"id":"invoice_calc_019851f6-03c9-7768-9a6f-3e7a86b7eeed","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","title":"Product #1","calculation_type":"PRODUCT","idx":0,"currency":"GBP","initial_price":"40.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"40.000000000000000000000000000000","details":{"price":"10.000000000000000000000000000000","currency":"GBP","quantity":4,"product_id":"product_01982266-ee05-7249-a0bf-787b4b6e0946"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03cc-7fe9-8c19-a4cb550bb75c","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f8-753b-9cf5-985300807b51","title":"Currency change GBP => EUR","calculation_type":"CURRENCY_CHANGE","idx":1,"currency":"EUR","initial_price":"40.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"46.557223908892338549036308436250","details":{"to":"EUR","from":"GBP","to_rate_usd":"0.847260000000000000","from_rate_usd":"0.727930000000000000"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03ce-7afb-a2e6-897bb4a22728","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":"invoice_item_019851f5-39f9-7eeb-aa8c-2ddfca8c65a3","title":"Product #2","calculation_type":"PRODUCT","idx":0,"currency":"EUR","initial_price":"10.000000000000000000000000000000","price_delta":"0.000000000000000000000000000000","price":"10.000000000000000000000000000000","details":{"price":"10.000000000000000000000000000000","currency":"EUR","quantity":1,"product_id":"product_0198222f-fe06-743f-8651-42128a1e218a"},"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03d0-755e-ac57-96ca8b9dd424","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":null,"title":"Total","calculation_type":"TOTAL","idx":0,"currency":"EUR","initial_price":"56.557223908892338549036308436250","price_delta":"0.000000000000000000000000000000","price":"56.557223908892338549036308436250","details":[],"created_at":"2025-07-28 18:55:34","updated_at":null},{"id":"invoice_calc_019851f6-03d2-7cd5-872e-d0fdc5f19f97","organization_id":"org_0196b0e9-11d8-7f26-b1d2-bd47054e4827","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","invoice_item_id":null,"title":"Total, USD","calculation_type":"TOTAL_USD","idx":0,"currency":"USD","initial_price":"66.753091033321930161976616901836","price_delta":"0.000000000000000000000000000000","price":"66.753091033321930161976616901836","details":[],"created_at":"2025-07-28 18:55:34","updated_at":null}],"organization":{"name":"4","image_url":"https://assets.bitgpt.xyz/uploads/2025/03/26/156091ee0884f36de9836d.jpeg"},"payments":[{"id":"payment_01979449-dc2f-71e4-b565-42d78c0d83aa","idempotency_key":"1b70f35483e563e009967abe74308e6977f9b36f1bfc05168fa22104b64293d6-invoice_01979284-7610-79f8-86c4-978168730054","organization_id":"org_f44b7809595e5ebe3bb4d6","provider_id":"prov_bitcoin_bitcoin","invoice_id":"invoice_019851f5-39f7-714a-8f2c-3c3eede808b4","currency":"BITCOIN","price":"0.000126300000000000000000000000","status":"COMPLETED","created_at":"2025-06-21 22:59:17","updated_at":"2025-08-20 23:57:58","happened_at":"2025-06-21 22:59:17"}]},"timestamp":"2025-08-20 20:56:36.456"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{},"security":{},"servers":{"6b043ab9-7c16-4701-a6ef-b073ad3c825f":{"url":"https://api.bitgpt.xyz","description":"Production API server"}}},"originalFileLocation":"developer-resources/reference/openapi.json"},"subdomain":"bitgpt","siteName":"BitGPT 402pay Documentation","title":"BitGPT 402pay Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"developer-resources/webhooks/events/invoices/invoice-updated.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Triggered when an event occurs\">\u003cmeta data-mint-head name=\"application-name\" content=\"BitGPT 402pay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"BitGPT 402pay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"One platform to leverage blockchain-native payments for the future of commerce, agents and payments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BitGPT 402pay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bitgpt.mintlify.app/images/og.png\">\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=\"BitGPT 402pay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One platform to leverage blockchain-native payments for the future of commerce, agents and payments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bitgpt.mintlify.app/images/og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bitgpt/TXnqDz_1-WZcwU5O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BitGPT 402pay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E74FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer-resources/webhooks/events/invoices/invoice-updated.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bitgpt.xyz/#organization\",\"name\":\"BitGPT 402pay Documentation\",\"url\":\"https://docs.bitgpt.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bitgpt/N6Qn8nkrAkxXvrVZ/images/logo/light.png?fit=max\u0026auto=format\u0026n=N6Qn8nkrAkxXvrVZ\u0026q=85\u0026s=983649556b8a67d1d2025eaca748d434\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bitgpt.xyz#website\",\"name\":\"BitGPT 402pay Documentation\",\"url\":\"https://docs.bitgpt.xyz\",\"publisher\":{\"@id\":\"https://docs.bitgpt.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated#webpage\",\"url\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated\",\"name\":\"invoice.updated\",\"description\":\"Triggered when an event occurs\",\"isPartOf\":{\"@id\":\"https://docs.bitgpt.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WEBHOOKS\",\"item\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Payloads\",\"item\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-created\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Invoices\",\"item\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-created\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"invoice.updated\",\"item\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated#apireference\",\"headline\":\"invoice.updated\",\"name\":\"invoice.updated\",\"description\":\"Triggered when an event occurs\",\"url\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bitgpt.xyz/developer-resources/webhooks/events/invoices/invoice-updated#webpage\"},\"image\":\"https://docs.bitgpt.xyz/images/og.png\",\"publisher\":{\"@id\":\"https://docs.bitgpt.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bitgpt.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BitGPT 402pay Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"BitGPT 402pay Documentation","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":"/basics/get-started/bitgpt"}]},{"tab":"Infrastructure","pages":[{"title":"Infrastructure","href":"/infrastructure/architecture"}]},{"tab":"Developer resources","groups":[{"group":"GET STARTED","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"arrow-right-to-arc","href":"/developer-resources/get-started/introduction"},{"title":"API Keys","sidebarTitle":"API Keys","icon":"key","href":"/developer-resources/get-started/api-keys"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"lock","href":"/developer-resources/get-started/authentication"},{"title":"Sandbox","sidebarTitle":"Sandbox","icon":"flask-vial","href":"/developer-resources/get-started/sandbox"},{"title":"Errors","sidebarTitle":"Errors","icon":"bomb","href":"/developer-resources/get-started/errors"},{"title":"Rate limits","sidebarTitle":"Rate limits","icon":"wave-pulse","href":"/developer-resources/get-started/rate-limits"},{"title":"Idempotency","sidebarTitle":"Idempotency","icon":"fingerprint","href":"/developer-resources/get-started/idempotency"},{"title":"Expanding Objects","sidebarTitle":"Expanding Objects","icon":"expand","href":"/developer-resources/get-started/expanding-objects"},{"title":"Providers and Gateways","sidebarTitle":"Providers and Gateways","icon":"receipt","href":"/developer-resources/get-started/providers-gateways"},{"title":"Metadata","sidebarTitle":"Metadata","icon":"database","href":"/developer-resources/get-started/metadata"}]},{"group":"WEBHOOKS","pages":[{"title":"Webhooks","sidebarTitle":"Overview","icon":"webhook","href":"/developer-resources/webhooks/overview"},{"title":"Events","sidebarTitle":"Events","icon":"list-tree","href":"/developer-resources/webhooks/events"},{"group":"Payloads","icon":"brackets-curly","pages":[{"group":"Invoices","icon":"receipt","pages":[{"title":"invoice.created","description":"Triggered when an event occurs","openapi":"developer-resources/reference/openapi.json webhook invoice.created","href":"/developer-resources/webhooks/events/invoices/invoice-created"},{"title":"invoice.updated","openapi":"developer-resources/reference/openapi.json webhook invoice.updated","href":"/developer-resources/webhooks/events/invoices/invoice-updated"},{"title":"invoice.completed","description":"Triggered when an event occurs","openapi":"developer-resources/reference/openapi.json webhook invoice.completed","href":"/developer-resources/webhooks/events/invoices/invoice-completed"},{"title":"invoice.cancelled","openapi":"developer-resources/reference/openapi.json webhook invoice.cancelled","href":"/developer-resources/webhooks/events/invoices/invoice-cancelled"}]},{"group":"Payments","icon":"credit-card","pages":[{"title":"payment.created","openapi":"developer-resources/reference/openapi.json webhook payment.created","href":"/developer-resources/webhooks/events/payments/payment-created"},{"title":"payment.updated","openapi":"developer-resources/reference/openapi.json webhook payment.updated","href":"/developer-resources/webhooks/events/payments/payment-updated"},{"title":"payment.completed","openapi":"developer-resources/reference/openapi.json webhook payment.completed","href":"/developer-resources/webhooks/events/payments/payment-completed"},{"title":"payment.cancelled","openapi":"developer-resources/reference/openapi.json webhook payment.cancelled","href":"/developer-resources/webhooks/events/payments/payment-cancelled"}]},{"group":"Products","icon":"conveyor-belt-arm","pages":[{"title":"product.created","openapi":"developer-resources/reference/openapi.json webhook product.created","href":"/developer-resources/webhooks/events/products/product-created"},{"title":"product.updated","openapi":"developer-resources/reference/openapi.json webhook product.updated","href":"/developer-resources/webhooks/events/products/product-updated"},{"title":"product.deleted","openapi":"developer-resources/reference/openapi.json webhook product.deleted","href":"/developer-resources/webhooks/events/products/product-deleted"}]},{"group":"API Keys","icon":"key","pages":[{"title":"api_key.created","openapi":"developer-resources/reference/openapi.json webhook api_key.created","href":"/developer-resources/webhooks/events/api_keys/api_key-created"},{"title":"api_key.updated","openapi":"developer-resources/reference/openapi.json webhook api_key.updated","href":"/developer-resources/webhooks/events/api_keys/api_key-updated"},{"title":"api_key.deleted","openapi":"developer-resources/reference/openapi.json webhook api_key.deleted","href":"/developer-resources/webhooks/events/api_keys/api_key-deleted"}]}]}]},{"group":"API REFERENCE","pages":[{"group":"Schemas","icon":"brackets-curly","pages":[{"title":"2xx Response","sidebarTitle":"2xx Response","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/response-200"},{"title":"Currency","sidebarTitle":"Currency","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/currency"},{"title":"Provider","sidebarTitle":"Provider","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/provider"},{"title":"Invoice","sidebarTitle":"Invoice","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/invoice"},{"title":"File","sidebarTitle":"File","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/file"},{"title":"Product","sidebarTitle":"Product","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/product"},{"title":"API Key","sidebarTitle":"API Key","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/api-key"},{"title":"Webhook","sidebarTitle":"Webhook","icon":"brackets-curly","openapi":"/developer-resources/reference/openapi.json","href":"/developer-resources/schemas/webhook"}]},{"group":"API Keys","icon":"key","pages":[{"openapi":"post /developers/api_keys","title":"Create a new API key","href":"/developer-resources/reference/api-keys/create-api-key"},{"openapi":"get /developers/api_keys/{id}","title":"Get an API key","href":"/developer-resources/reference/api-keys/get-api-key"},{"openapi":"put /developers/api_keys/{id}","title":"Update an API key","href":"/developer-resources/reference/api-keys/update-api-key"},{"openapi":"delete /developers/api_keys/{id}","title":"Delete an API key","href":"/developer-resources/reference/api-keys/delete-api-key"},{"openapi":"get /analytics/api_keys","title":"Get API key analytics","href":"/developer-resources/reference/api-keys/get-api-key-analytics"},{"openapi":"get /developers/api_keys/scopes","title":"List API key scopes","href":"/developer-resources/reference/api-keys/list-api-key-scopes"},{"openapi":"get /developers/api_keys","title":"List API keys","href":"/developer-resources/reference/api-keys/list-api-keys"}]},{"group":"Files","icon":"file","pages":[{"openapi":"post /files/upload","title":"Upload a file","href":"/developer-resources/reference/files/upload-a-file"},{"openapi":"get /files/{id}","title":"Get file details","href":"/developer-resources/reference/files/get-file-details"},{"openapi":"get /files","title":"List files","href":"/developer-resources/reference/files/list-files"},{"openapi":"delete /files/{id}","title":"Delete file","href":"/developer-resources/reference/files/delete-file"}]},{"group":"Payments and Invoices","icon":"receipt","pages":[{"openapi":"post /analytics/dashboard","title":"Get dashboard analytics","href":"/developer-resources/reference/payments/analytics"},{"openapi":"post /invoices/create","title":"Create an invoice","href":"/developer-resources/reference/payments/create-an-invoice"},{"openapi":"put /invoices/{id}","title":"Update invoice","href":"/developer-resources/reference/payments/update-an-invoice"},{"openapi":"post /invoices/{id}","title":"Get invoice details","href":"/developer-resources/reference/payments/get-invoice-details"},{"openapi":"get /invoices/{id}/short_state","title":"Get invoice short state","href":"/developer-resources/reference/payments/get-invoice-short-state"},{"openapi":"get /providers/{invoice_id}","title":"Get invoice providers","href":"/developer-resources/reference/payments/get-invoice-providers"},{"openapi":"post /invoices/list","title":"List invoices","href":"/developer-resources/reference/payments/list-invoices"},{"openapi":"post /payments","title":"List payments","href":"/developer-resources/reference/payments/list-payments"},{"openapi":"post /payments/{id}","title":"Get payment details","href":"/developer-resources/reference/payments/get-payment-details"},{"openapi":"put /payments/{id}","title":"Update payment","href":"/developer-resources/reference/payments/update-a-payment"},{"openapi":"post /pay/quote","title":"Quote payment","href":"/developer-resources/reference/payments/quote-payment"},{"openapi":"post /invoices/validate","title":"Validate invoice data","href":"/developer-resources/reference/payments/validate-invoice-data"}]},{"group":"Products","icon":"conveyor-belt-arm","pages":[{"openapi":"post /products","title":"Create a new product","href":"/developer-resources/reference/products/create-a-new-product"},{"openapi":"get /products/{id}","title":"Get a product","href":"/developer-resources/reference/products/get-a-product"},{"openapi":"get /products","title":"List products","href":"/developer-resources/reference/products/list-products"},{"openapi":"put /products/{id}","title":"Update a product","href":"/developer-resources/reference/products/update-a-product"}]},{"group":"Webhooks","icon":"webhook","pages":[{"openapi":"post /developers/webhooks","title":"Create a new webhook","href":"/developer-resources/reference/webhooks/create-a-new-webhook"},{"openapi":"get /developers/webhooks/{id}","title":"Get a webhook","href":"/developer-resources/reference/webhooks/get-a-webhook"},{"openapi":"get /analytics/webhooks","title":"Get webhook analytics","href":"/developer-resources/reference/webhooks/get-webhook-analytics"},{"openapi":"get /analytics/webhooks/{id}","title":"Get webhook analytics by ID","href":"/developer-resources/reference/webhooks/get-webhook-analytics-by-id"},{"openapi":"get /developers/webhooks/events","title":"Get webhook events","href":"/developer-resources/reference/webhooks/get-webhook-events"},{"openapi":"get /developers/webhooks","title":"List webhooks","href":"/developer-resources/reference/webhooks/list-webhooks"},{"openapi":"get /developers/webhooks/queue","title":null,"href":"/developer-resources/reference/webhooks/list-webhook-queue-items"},{"openapi":"post /developers/webhooks/queue/{id}/retry","title":"Retry a webhook queue item","href":"/developer-resources/reference/webhooks/retry-a-webhook-queue-item"},{"openapi":"put /developers/webhooks/{id}","title":"Update a webhook","href":"/developer-resources/reference/webhooks/update-a-webhook"},{"openapi":"delete /developers/webhooks/{id}","title":"Delete a webhook","href":"/developer-resources/reference/webhooks/delete-a-webhook"}]}]}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"HTTP 402","pages":[{"title":"HTTP 402","href":"/h402/introduction"}]}]},"basePath":"","title":"BitGPT 402pay Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}