From e6745c70791ba97ba2c36816c7a06f15a7b32600 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 17 Jun 2026 00:49:45 +0000 Subject: [PATCH 1/2] ## Python SDK Changes Detected: * `polar.benefits.update()`: `request_body` **Changed** **Breaking** :warning: * `polar._endpointcheckout_updated_post()`: * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning: * `polar._endpointcheckout_expired_post()`: * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_created_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_updated_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_active_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_canceled_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_uncanceled_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_revoked_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointsubscription_past_due_post()`: * `request.data.product.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointproduct_created_post()`: * `request.data.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointproduct_updated_post()`: * `request.data.prices.[]` **Changed** **Breaking** :warning: * `polar._endpointorganization_updated_post()`: * `request.data.feature_settings` **Changed** **Breaking** :warning: * `polar.organizations.list_organizations()`: `response.items.[].feature_settings` **Changed** **Breaking** :warning: * `polar.organizations.create()`: `response.feature_settings` **Changed** **Breaking** :warning: * `polar.organizations.get()`: `response.feature_settings` **Changed** **Breaking** :warning: * `polar.organizations.update()`: `response.feature_settings` **Changed** **Breaking** :warning: * `polar.checkouts.create()`: * `request.prices.{}.[].[free]` **Removed** **Breaking** :warning: * `response.products.[].prices.[]` **Changed** * `polar.products.update()`: * `request.product_update.prices.[].[2].[free]` **Removed** **Breaking** :warning: * `response.prices.[]` **Changed** * `polar._endpointcheckout_created_post()`: * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning: * `polar.products.create()`: * `request` **Changed** **Breaking** :warning: * `response.prices.[]` **Changed** * `polar.products.get()`: `response.prices.[]` **Changed** * `polar.files.create()`: * `request.[support_case_attachment]` **Added** * `polar.products.list()`: `response.items.[].prices.[]` **Changed** * `polar.subscriptions.revoke()`: `response.product.prices.[]` **Changed** * `polar.subscriptions.get()`: `response.product.prices.[]` **Changed** * `polar.subscriptions.create()`: `response.product.prices.[]` **Changed** * `polar.products.update_benefits()`: `response.prices.[]` **Changed** * `polar.checkouts.list()`: `response.items.[].products.[].prices.[]` **Changed** * `polar.subscriptions.list()`: `response.items.[].product.prices.[]` **Changed** * `polar.checkouts.get()`: `response.products.[].prices.[]` **Changed** * `polar.checkouts.update()`: `response.products.[].prices.[]` **Changed** * `polar.checkouts.client_get()`: `response.products.[].prices.[]` **Changed** * `polar.checkouts.client_update()`: `response.products.[].prices.[]` **Changed** * `polar.checkouts.client_confirm()`: `response.products.[].prices.[]` **Changed** * `polar.files.list()`: `response.items.[].[support_case_attachment]` **Added** * `polar.subscriptions.update()`: `response.product.prices.[]` **Changed** * `polar.files.uploaded()`: `response.[support_case_attachment]` **Added** * `polar.files.update()`: `response.[support_case_attachment]` **Added** * `polar.checkout-links.list()`: `response.items.[].products.[].prices.[]` **Changed** * `polar.checkout-links.create()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.get()`: `response.products.[].prices.[]` **Changed** * `polar.checkout-links.update()`: `response.products.[].prices.[]` **Changed** * `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.items.[].product.prices.[]` **Changed** * `polar.customer_portal.orders.list()`: `response.items.[].product.prices.[]` **Changed** * `polar.customer_portal.orders.get()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.orders.update()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.organizations.get()`: `response.products.[].prices.[]` **Changed** * `polar.customer_portal.subscriptions.list()`: `response.items.[].product.prices.[]` **Changed** * `polar.customer_portal.subscriptions.get()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.subscriptions.cancel()`: `response.product.prices.[]` **Changed** * `polar.customer_portal.subscriptions.update()`: `response.product.prices.[]` **Changed** --- .speakeasy/gen.lock | 182 +++++++++--------- .speakeasy/gen.yaml | 3 +- .speakeasy/workflow.lock | 12 +- RELEASES.md | 12 +- codeSamples.yaml | 10 +- docs/models/benefitdiscordupdate.md | 1 - docs/models/benefitdownloadablesupdate.md | 1 - docs/models/benefitgithubrepositoryupdate.md | 1 - .../models/benefitslacksharedchannelupdate.md | 1 - docs/models/checkoutcreateprices.md | 6 - docs/models/customerproduct.md | 2 +- docs/models/filecreate.md | 6 + docs/models/fileread.md | 6 + docs/models/fileservicetypes.md | 11 +- docs/models/filesupdateresponsefilesupdate.md | 6 + .../filesuploadedresponsefilesuploaded.md | 6 + docs/models/legacyrecurringproductprice.md | 6 - .../models/legacyrecurringproductpricefree.md | 23 --- docs/models/organizationfeaturesettings.md | 4 +- docs/models/productcreateonetimeprices.md | 6 - docs/models/productcreaterecurringprices.md | 6 - docs/models/productprice.md | 6 - docs/models/productpricefree.md | 18 -- docs/models/productpricefreecreate.md | 12 -- .../models/supportcaseattachmentfilecreate.md | 17 ++ docs/models/supportcaseattachmentfileread.md | 25 +++ docs/models/taxidformat.md | 3 +- docs/models/two.md | 6 - docs/sdks/benefits/README.md | 2 +- pyproject.toml | 2 +- src/polar_sdk/_version.py | 4 +- src/polar_sdk/models/__init__.py | 37 ++-- src/polar_sdk/models/benefitdiscordupdate.py | 10 +- .../models/benefitdownloadablesupdate.py | 10 +- .../models/benefitgithubrepositoryupdate.py | 10 +- src/polar_sdk/models/benefits_updateop.py | 8 +- .../models/benefitslacksharedchannelupdate.py | 10 +- src/polar_sdk/models/checkoutcreate.py | 6 - src/polar_sdk/models/customerproduct.py | 4 +- src/polar_sdk/models/filecreate.py | 6 + src/polar_sdk/models/files_updateop.py | 6 + src/polar_sdk/models/files_uploadedop.py | 6 + src/polar_sdk/models/fileservicetypes.py | 1 + .../models/legacyrecurringproductprice.py | 6 - .../models/legacyrecurringproductpricefree.py | 120 ------------ .../models/listresource_fileread_.py | 6 + .../models/organizationfeaturesettings.py | 12 +- src/polar_sdk/models/productcreateonetime.py | 6 - .../models/productcreaterecurring.py | 6 - src/polar_sdk/models/productprice.py | 3 - src/polar_sdk/models/productpricefree.py | 96 --------- .../models/productpricefreecreate.py | 65 ------- src/polar_sdk/models/productupdate.py | 6 - .../models/supportcaseattachmentfilecreate.py | 84 ++++++++ .../models/supportcaseattachmentfileread.py | 113 +++++++++++ src/polar_sdk/models/taxidformat.py | 1 + 56 files changed, 452 insertions(+), 592 deletions(-) delete mode 100644 docs/models/legacyrecurringproductpricefree.md delete mode 100644 docs/models/productpricefree.md delete mode 100644 docs/models/productpricefreecreate.md create mode 100644 docs/models/supportcaseattachmentfilecreate.md create mode 100644 docs/models/supportcaseattachmentfileread.md delete mode 100644 src/polar_sdk/models/legacyrecurringproductpricefree.py delete mode 100644 src/polar_sdk/models/productpricefree.py delete mode 100644 src/polar_sdk/models/productpricefreecreate.py create mode 100644 src/polar_sdk/models/supportcaseattachmentfilecreate.py create mode 100644 src/polar_sdk/models/supportcaseattachmentfileread.py diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d9ca228d..2f55269e 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: e7042734-e669-4c36-85da-bbb4a7500ac8 management: - docChecksum: f8abe2fee4272e1fc4a77b2ad908a93f + docChecksum: 9deb814ad06ec1e2599d15a3627384ea docVersion: 0.1.0 speakeasyVersion: 1.648.0 generationVersion: 2.737.0 - releaseVersion: 0.31.7 - configChecksum: 2a2d0d298fb1e07a1a1a2e0f2df1a6d0 + releaseVersion: 0.31.8 + configChecksum: cd71b746ce2d21081504608fda0ec2d2 repoURL: https://github.com/polarsource/polar-python.git installationURL: https://github.com/polarsource/polar-python.git published: true @@ -711,7 +711,6 @@ generatedFiles: - docs/models/legacyrecurringproductprice.md - docs/models/legacyrecurringproductpricecustom.md - docs/models/legacyrecurringproductpricefixed.md - - docs/models/legacyrecurringproductpricefree.md - docs/models/legalentity.md - docs/models/licensekeyactivate.md - docs/models/licensekeyactivateconditions.md @@ -1058,8 +1057,6 @@ generatedFiles: - docs/models/productpricecustomcreate.md - docs/models/productpricefixed.md - docs/models/productpricefixedcreate.md - - docs/models/productpricefree.md - - docs/models/productpricefreecreate.md - docs/models/productpricemeter.md - docs/models/productpricemeteredunit.md - docs/models/productpricemeteredunitcreate.md @@ -1200,6 +1197,8 @@ generatedFiles: - docs/models/subscriptionupdateseats.md - docs/models/subtype.md - docs/models/succeededcheckouts.md + - docs/models/supportcaseattachmentfilecreate.md + - docs/models/supportcaseattachmentfileread.md - docs/models/switchingfrom.md - docs/models/systemevent.md - docs/models/taxbehavior.md @@ -1786,7 +1785,6 @@ generatedFiles: - src/polar_sdk/models/legacyrecurringproductprice.py - src/polar_sdk/models/legacyrecurringproductpricecustom.py - src/polar_sdk/models/legacyrecurringproductpricefixed.py - - src/polar_sdk/models/legacyrecurringproductpricefree.py - src/polar_sdk/models/license_keys_get_activationop.py - src/polar_sdk/models/license_keys_getop.py - src/polar_sdk/models/license_keys_listop.py @@ -1992,8 +1990,6 @@ generatedFiles: - src/polar_sdk/models/productpricecustomcreate.py - src/polar_sdk/models/productpricefixed.py - src/polar_sdk/models/productpricefixedcreate.py - - src/polar_sdk/models/productpricefree.py - - src/polar_sdk/models/productpricefreecreate.py - src/polar_sdk/models/productpricemeter.py - src/polar_sdk/models/productpricemeteredunit.py - src/polar_sdk/models/productpricemeteredunitcreate.py @@ -2086,6 +2082,8 @@ generatedFiles: - src/polar_sdk/models/subscriptionupdatedmetadata.py - src/polar_sdk/models/subscriptionupdateseats.py - src/polar_sdk/models/subtype.py + - src/polar_sdk/models/supportcaseattachmentfilecreate.py + - src/polar_sdk/models/supportcaseattachmentfileread.py - src/polar_sdk/models/systemevent.py - src/polar_sdk/models/taxbehavior.py - src/polar_sdk/models/taxbehavioroption.py @@ -2196,7 +2194,7 @@ examples: _endpointcheckout_created_post: speakeasy-default-endpointcheckout-created-post: requestBody: - application/json: {"type": "checkout.created", "timestamp": "2023-02-15T15:44:21.478Z", "data": {"id": "", "created_at": "2023-02-15T15:44:21.478Z", "modified_at": "2023-09-13T08:36:46.434Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://whole-aftermath.net/", "expires_at": "2023-12-28T10:30:56.042Z", "success_url": "https://moral-premier.name/", "return_url": null, "embed_origin": "", "amount": 929514, "discount_amount": 323773, "net_amount": 115799, "tax_amount": 97012, "tax_behavior": null, "total_amount": 859980, "currency": "Fiji Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 232991, "trial_end": "2023-10-05T12:55:46.428Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": null, "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": null, "customer_ip_address": null, "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "day", "trial_interval_count": 329779, "metadata": {"key": false, "key1": false}, "external_customer_id": null, "products": [{"id": "", "created_at": "2025-07-23T17:21:51.405Z", "modified_at": "2024-01-17T03:32:08.030Z", "trial_interval": "month", "trial_interval_count": 631188, "name": "", "description": "funny abscond fairly except slight", "visibility": "draft", "recurring_interval": null, "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-09-13T08:36:46.434Z", "modified_at": "2023-10-05T12:55:46.428Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}]}], "product": {"id": "", "created_at": "2023-03-01T03:35:30.257Z", "modified_at": "2024-12-19T15:40:11.887Z", "trial_interval": "year", "trial_interval_count": 115799, "name": "", "description": "until joyful how", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 232991, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-05-02T18:25:33.974Z", "modified_at": "2025-02-06T12:55:07.640Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 115799, "legacy": true}, {"created_at": "2025-07-31T12:54:47.590Z", "modified_at": "2023-01-11T22:31:47.320Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 203013, "maximum_amount": null, "preset_amount": 119260, "legacy": true}, {"created_at": "2024-04-06T18:48:21.449Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-10-04T12:55:46.428Z", "modified_at": "2024-01-21T19:51:40.643Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 527093, "maximum_amount": 631188, "preset_amount": 929514, "legacy": true}, "prices": null, "discount": {"duration": "repeating", "duration_in_months": 470604, "type": "fixed", "basis_points": 567071, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}], "customer_metadata": {}}} + application/json: {"type": "checkout.created", "timestamp": "2023-02-15T15:44:21.478Z", "data": {"id": "", "created_at": "2023-02-15T15:44:21.478Z", "modified_at": "2023-09-13T08:36:46.434Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://whole-aftermath.net/", "expires_at": "2023-12-28T10:30:56.042Z", "success_url": "https://moral-premier.name/", "return_url": null, "embed_origin": "", "amount": 929514, "discount_amount": 323773, "net_amount": 115799, "tax_amount": 97012, "tax_behavior": null, "total_amount": 859980, "currency": "Fiji Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 232991, "trial_end": "2023-10-05T12:55:46.428Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": null, "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": null, "customer_ip_address": null, "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "required", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "day", "trial_interval_count": 329779, "metadata": {"key": false, "key1": false}, "external_customer_id": null, "products": [{"id": "", "created_at": "2025-07-23T17:21:51.405Z", "modified_at": "2024-01-17T03:32:08.030Z", "trial_interval": "month", "trial_interval_count": 631188, "name": "", "description": "funny abscond fairly except slight", "visibility": "draft", "recurring_interval": null, "recurring_interval_count": null, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-09-12T08:36:46.434Z", "modified_at": "2024-10-04T12:55:46.428Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 445044, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}, {"id": "", "organization_id": "", "name": "", "path": "/var/log", "mime_type": "", "size": 982910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-09-13T03:57:17.676Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-23T06:47:50.944Z", "size_readable": "", "public_url": "https://yummy-ocelot.biz/"}]}], "product": {"id": "", "created_at": "2023-03-01T03:35:30.257Z", "modified_at": "2024-12-19T15:40:11.887Z", "trial_interval": "year", "trial_interval_count": 115799, "name": "", "description": "until joyful how", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 232991, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-05-02T18:25:33.974Z", "modified_at": "2025-02-06T12:55:07.640Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 115799, "legacy": true}, {"created_at": "2025-07-31T12:54:47.590Z", "modified_at": "2023-01-11T22:31:47.320Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 203013, "maximum_amount": null, "preset_amount": 119260, "legacy": true}, {"created_at": "2025-11-22T18:45:16.077Z", "modified_at": "2026-10-15T17:56:09.535Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 275553, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2023-11-22T11:07:53.319Z", "modified_at": "2025-09-17T18:38:51.288Z", "type": "discord", "description": "brr now psst", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-10-04T12:55:46.428Z", "modified_at": "2024-01-21T19:51:40.643Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 527093, "maximum_amount": 631188, "preset_amount": 929514, "legacy": true}, "prices": null, "discount": {"duration": "repeating", "duration_in_months": 470604, "type": "fixed", "basis_points": 567071, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-27T12:44:05.844Z", "modified_at": "2023-11-12T13:10:44.040Z", "id": "", "metadata": {"key": 833527, "key1": false}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 786803, "required": false}], "customer_metadata": {}}} responses: "200": application/json: "" @@ -2205,7 +2203,7 @@ examples: _endpointcheckout_updated_post: speakeasy-default-endpointcheckout-updated-post: requestBody: - application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "tax_behavior": null, "total_amount": 754328, "currency": "New Taiwan Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 720125, "legacy": true}, {"created_at": "2025-09-27T00:00:25.178Z", "modified_at": "2024-09-03T16:16:06.332Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, {"created_at": "2024-04-12T18:30:19.906Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 333080, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-04-08T09:51:58.249Z", "modified_at": "2025-07-16T15:01:26.410Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 496454, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 72487, "legacy": true}, {"created_at": "2024-06-14T15:19:42.985Z", "modified_at": "2025-08-21T13:42:50.786Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2024-12-31T01:21:07.047Z", "modified_at": "2025-06-28T02:43:46.293Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 912409, "meter_id": "", "meter": {"id": "", "name": "", "unit": "token"}}, "prices": {"key": [], "key1": []}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} + application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "tax_behavior": null, "total_amount": 754328, "currency": "New Taiwan Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 720125, "legacy": true}, {"created_at": "2026-01-17T21:45:54.449Z", "modified_at": "2024-12-31T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 912409, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, {"created_at": "2025-05-01T03:58:27.962Z", "modified_at": "2024-03-14T14:47:23.166Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 469340, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 333080, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-02-15T06:23:23.086Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 558565, "maximum_amount": 755850, "preset_amount": 846374, "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 496454, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 72487, "legacy": true}, {"created_at": "2026-01-29T09:14:14.399Z", "modified_at": "2024-09-13T20:51:28.608Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 795829, "legacy": true}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2024-12-31T01:21:07.047Z", "modified_at": "2025-06-28T02:43:46.293Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 912409, "meter_id": "", "meter": {"id": "", "name": "", "unit": "token"}}, "prices": {"key": [], "key1": []}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} responses: "200": application/json: "" @@ -2286,7 +2284,7 @@ examples: _endpointsubscription_created_post: speakeasy-default-endpointsubscription-created-post: requestBody: - application/json: {"type": "subscription.created", "timestamp": "2024-05-03T11:46:21.459Z", "data": {"created_at": "2024-05-03T11:46:21.459Z", "modified_at": "2025-01-12T06:30:14.360Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 445703, "status": "incomplete", "current_period_start": "2024-01-07T06:33:36.381Z", "current_period_end": "2024-07-30T16:54:44.427Z", "trial_start": "2023-12-03T10:52:23.880Z", "trial_end": "2024-05-29T05:21:44.072Z", "cancel_at_period_end": true, "canceled_at": "2023-09-10T18:39:16.136Z", "started_at": "2025-08-30T21:29:16.432Z", "ends_at": "2024-06-27T22:01:23.333Z", "ended_at": "2024-07-24T19:43:04.879Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-18T22:55:50.482Z", "modified_at": "2024-08-04T23:52:10.438Z", "metadata": {"key": false, "key1": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-15T22:05:41.858Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-05-25T09:51:02.679Z", "modified_at": "2025-12-23T23:39:23.705Z", "trial_interval": "year", "trial_interval_count": 338753, "name": "", "description": "slink needily cemetery hydrocarbon a fledgling knit shirk appertain rural", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 677255, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-01-12T06:30:14.360Z", "modified_at": "2023-05-11T16:29:33.481Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 363951, "maximum_amount": 267138, "preset_amount": 230636, "legacy": true}, {"created_at": "2024-09-02T19:02:23.015Z", "modified_at": "2023-08-19T21:45:43.735Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-16T04:04:01.242Z", "modified_at": "2023-08-30T05:19:40.088Z", "type": "meter_credit", "description": "courageously quick-witted out equally toward though quietly", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": 3195.27}, "visibility": "private", "properties": {"units": 371901, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 745503, "created_at": "2024-04-19T20:53:32.186Z", "modified_at": "2024-11-15T00:04:04.545Z", "id": "", "metadata": {"key": 3699.53}, "name": "", "code": "", "starts_at": "2024-10-15T21:24:43.202Z", "ends_at": "2025-09-26T06:55:01.272Z", "max_redemptions": 104800, "redemptions_count": 570322, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-26T09:15:00.973Z", "modified_at": "2024-01-19T16:01:53.249Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 125871, "legacy": true}], "meters": [{"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "token", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "custom", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2025-01-06T06:33:36.381Z", "modified_at": "2025-07-30T16:54:44.427Z", "id": "", "applies_at": "2024-10-19T18:48:25.568Z", "product_id": "", "seats": 230391}}} + application/json: {"type": "subscription.created", "timestamp": "2024-05-03T11:46:21.459Z", "data": {"created_at": "2024-05-03T11:46:21.459Z", "modified_at": "2025-01-12T06:30:14.360Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 445703, "status": "incomplete", "current_period_start": "2024-01-07T06:33:36.381Z", "current_period_end": "2024-07-30T16:54:44.427Z", "trial_start": "2023-12-03T10:52:23.880Z", "trial_end": "2024-05-29T05:21:44.072Z", "cancel_at_period_end": true, "canceled_at": "2023-09-10T18:39:16.136Z", "started_at": "2025-08-30T21:29:16.432Z", "ends_at": "2024-06-27T22:01:23.333Z", "ended_at": "2024-07-24T19:43:04.879Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-05-18T22:55:50.482Z", "modified_at": "2024-08-04T23:52:10.438Z", "metadata": {"key": false, "key1": false}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-05-15T22:05:41.858Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-05-25T09:51:02.679Z", "modified_at": "2025-12-23T23:39:23.705Z", "trial_interval": "year", "trial_interval_count": 338753, "name": "", "description": "slink needily cemetery hydrocarbon a fledgling knit shirk appertain rural", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 677255, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-01-12T06:30:14.360Z", "modified_at": "2023-05-11T16:29:33.481Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 363951, "maximum_amount": 267138, "preset_amount": 230636, "legacy": true}, {"created_at": "2026-01-12T06:30:14.360Z", "modified_at": "2024-05-10T16:29:33.481Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 267138, "maximum_amount": 230636, "preset_amount": 887679, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-16T04:04:01.242Z", "modified_at": "2023-08-30T05:19:40.088Z", "type": "meter_credit", "description": "courageously quick-witted out equally toward though quietly", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": 3195.27}, "visibility": "private", "properties": {"units": 371901, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/lost+found", "mime_type": "", "size": 719695, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-08-21T14:37:14.488Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T06:08:47.416Z", "size_readable": "", "public_url": "https://repentant-unit.org/"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 745503, "created_at": "2024-04-19T20:53:32.186Z", "modified_at": "2024-11-15T00:04:04.545Z", "id": "", "metadata": {"key": 3699.53}, "name": "", "code": "", "starts_at": "2024-10-15T21:24:43.202Z", "ends_at": "2025-09-26T06:55:01.272Z", "max_redemptions": 104800, "redemptions_count": 570322, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-26T09:15:00.973Z", "modified_at": "2024-01-19T16:01:53.249Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 125871, "legacy": true}], "meters": [{"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "token", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2025-05-17T01:58:02.155Z", "modified_at": "2024-09-29T09:35:40.427Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": 201601, "key1": true, "key2": 2057.75}, "created_at": "2025-03-06T04:32:46.256Z", "modified_at": "2024-01-13T00:47:03.334Z", "id": "", "name": "", "unit": "custom", "filter": {"conjunction": "or", "clauses": []}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2025-01-06T06:33:36.381Z", "modified_at": "2025-07-30T16:54:44.427Z", "id": "", "applies_at": "2024-10-19T18:48:25.568Z", "product_id": "", "seats": 230391}}} responses: "200": application/json: "" @@ -2304,7 +2302,7 @@ examples: _endpointsubscription_active_post: speakeasy-default-endpointsubscription-active-post: requestBody: - application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": "2024-08-12T01:28:21.362Z", "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 493639, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "percentage", "amount": 1000, "currency": "usd", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-02-14T12:59:50.680Z", "modified_at": "2025-03-11T11:17:02.540Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": [], "pending_update": {"created_at": "2024-06-08T14:14:48.363Z", "modified_at": null, "id": "", "applies_at": "2024-02-09T14:19:47.352Z", "product_id": null, "seats": 183679}}} + application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": "2024-08-12T01:28:21.362Z", "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 493639, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "percentage", "amount": 1000, "currency": "usd", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-06-25T00:41:05.678Z", "modified_at": "2026-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "minimum_amount": 37433, "maximum_amount": 183679, "preset_amount": 864494, "legacy": true}], "meters": [], "pending_update": {"created_at": "2024-06-08T14:14:48.363Z", "modified_at": null, "id": "", "applies_at": "2024-02-09T14:19:47.352Z", "product_id": null, "seats": 183679}}} responses: "200": application/json: "" @@ -2313,7 +2311,7 @@ examples: _endpointsubscription_canceled_post: speakeasy-default-endpointsubscription-canceled-post: requestBody: - application/json: {"type": "subscription.canceled", "timestamp": "2025-02-09T04:39:02.332Z", "data": {"created_at": "2025-02-09T04:39:02.332Z", "modified_at": "2023-04-18T10:38:03.481Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 702732, "status": "active", "current_period_start": "2023-06-17T04:15:56.819Z", "current_period_end": "2023-06-02T15:48:16.857Z", "trial_start": "2025-04-09T17:46:08.645Z", "trial_end": null, "cancel_at_period_end": false, "canceled_at": "2024-01-07T18:54:45.602Z", "started_at": "2025-02-23T12:23:49.579Z", "ends_at": "2023-11-16T08:24:59.166Z", "ended_at": "2023-07-21T16:25:14.433Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": null, "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-10-25T05:52:42.846Z", "modified_at": "2023-09-20T10:20:50.540Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-07-13T08:26:56.650Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-06-11T17:21:10.206Z", "modified_at": "2025-03-18T13:26:34.470Z", "trial_interval": "year", "trial_interval_count": 538272, "name": "", "description": "unimpressively stiffen promptly", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 98032, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": true}, "prices": [{"created_at": "2023-04-18T10:38:03.481Z", "modified_at": "2025-08-08T10:15:56.533Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 739654, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2025-04-18T11:08:34.147Z", "modified_at": "2023-05-05T03:28:24.281Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 25751, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-21T18:00:22.332Z", "modified_at": "2023-05-12T19:14:12.206Z", "type": "downloadables", "description": "ostrich smog zowie loyally naturally noisily castanet pace deliberately", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "public", "properties": {"archived": {"key": true, "key1": true}, "files": []}, "visibility_configurable": false}, {"id": "", "created_at": "2025-12-18T22:12:17.302Z", "modified_at": "2024-10-10T09:48:09.804Z", "type": "custom", "description": "knavishly goat programme intrigue elegantly fooey decisive", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": false, "key1": 922.01, "key2": 5307.16}, "visibility": "draft", "properties": {"note": ""}, "visibility_configurable": true}, {"id": "", "created_at": "2024-06-11T13:23:03.299Z", "modified_at": "2024-10-18T20:00:03.185Z", "type": "meter_credit", "description": "at like through stale yum corny", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": false}, "visibility": "public", "properties": {"units": 743161, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}, {"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 942713, "created_at": "2025-05-02T10:03:23.149Z", "modified_at": "2024-03-07T17:30:21.663Z", "id": "", "metadata": {"key": "", "key1": false, "key2": ""}, "name": "", "code": "", "starts_at": "2025-11-05T08:42:03.906Z", "ends_at": null, "max_redemptions": 510938, "redemptions_count": 760335, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-08-10T09:00:25.178Z", "modified_at": "2023-05-20T04:28:47.140Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-08-12T22:41:41.907Z", "modified_at": "2024-08-03T03:14:29.655Z", "id": "", "applies_at": "2024-06-01T15:48:16.857Z", "product_id": "", "seats": 339222}}} + application/json: {"type": "subscription.canceled", "timestamp": "2025-02-09T04:39:02.332Z", "data": {"created_at": "2025-02-09T04:39:02.332Z", "modified_at": "2023-04-18T10:38:03.481Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 702732, "status": "active", "current_period_start": "2023-06-17T04:15:56.819Z", "current_period_end": "2023-06-02T15:48:16.857Z", "trial_start": "2025-04-09T17:46:08.645Z", "trial_end": null, "cancel_at_period_end": false, "canceled_at": "2024-01-07T18:54:45.602Z", "started_at": "2025-02-23T12:23:49.579Z", "ends_at": "2023-11-16T08:24:59.166Z", "ended_at": "2023-07-21T16:25:14.433Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": null, "customer_cancellation_reason": null, "customer_cancellation_comment": "", "metadata": {}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-10-25T05:52:42.846Z", "modified_at": "2023-09-20T10:20:50.540Z", "metadata": {"key": true}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-07-13T08:26:56.650Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-06-11T17:21:10.206Z", "modified_at": "2025-03-18T13:26:34.470Z", "trial_interval": "year", "trial_interval_count": 538272, "name": "", "description": "unimpressively stiffen promptly", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 98032, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": true}, "prices": [{"created_at": "2023-04-18T10:38:03.481Z", "modified_at": "2025-08-08T10:15:56.533Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 739654, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2025-04-18T11:08:34.147Z", "modified_at": "2023-05-05T03:28:24.281Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 25751, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-09-21T18:00:22.332Z", "modified_at": "2023-05-12T19:14:12.206Z", "type": "downloadables", "description": "ostrich smog zowie loyally naturally noisily castanet pace deliberately", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "public", "properties": {"archived": {"key": true, "key1": true}, "files": []}, "visibility_configurable": false}, {"id": "", "created_at": "2025-12-18T22:12:17.302Z", "modified_at": "2024-10-10T09:48:09.804Z", "type": "custom", "description": "knavishly goat programme intrigue elegantly fooey decisive", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": false, "key1": 922.01, "key2": 5307.16}, "visibility": "draft", "properties": {"note": ""}, "visibility_configurable": true}, {"id": "", "created_at": "2024-06-11T13:23:03.299Z", "modified_at": "2024-10-18T20:00:03.185Z", "type": "meter_credit", "description": "at like through stale yum corny", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": false}, "visibility": "public", "properties": {"units": 743161, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}, {"id": "", "organization_id": "", "name": "", "path": "/var/yp", "mime_type": "", "size": 91402, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-02-20T02:39:11.781Z", "size_readable": "", "public_url": "https://young-obesity.org"}], "attached_custom_fields": []}, "discount": {"duration": "once", "type": "fixed", "basis_points": 942713, "created_at": "2025-05-02T10:03:23.149Z", "modified_at": "2024-03-07T17:30:21.663Z", "id": "", "metadata": {"key": "", "key1": false, "key2": ""}, "name": "", "code": "", "starts_at": "2025-11-05T08:42:03.906Z", "ends_at": null, "max_redemptions": 510938, "redemptions_count": 760335, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-04-17T10:38:03.481Z", "modified_at": "2026-08-08T10:15:56.533Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "seat_tiers": {"tiers": [], "minimum_seats": 739654, "maximum_seats": 339222}}], "meters": [], "pending_update": {"created_at": "2025-08-12T22:41:41.907Z", "modified_at": "2024-08-03T03:14:29.655Z", "id": "", "applies_at": "2024-06-01T15:48:16.857Z", "product_id": "", "seats": 339222}}} responses: "200": application/json: "" @@ -2358,7 +2356,7 @@ examples: _endpointproduct_created_post: speakeasy-default-endpointproduct-created-post: requestBody: - application/json: {"type": "product.created", "timestamp": "2023-10-13T02:47:55.082Z", "data": {"id": "", "created_at": "2023-10-13T02:47:55.082Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 168322, "name": "", "description": "till that ew put", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 12897, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 785881, "key1": false, "key2": false}, "prices": [{"created_at": "2024-07-28T01:37:16.074Z", "modified_at": "2024-06-21T04:06:38.404Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 351958, "maximum_amount": 675813, "preset_amount": 835712, "legacy": true}, {"created_at": "2024-01-23T05:50:45.318Z", "modified_at": "2024-12-09T02:07:21.938Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-09-12T18:18:34.397Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 575460, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-01-15T03:15:59.062Z", "modified_at": "2023-07-04T11:33:29.001Z", "type": "discord", "description": "soybean till mortise brr yet sympathetically", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": 247381}, "visibility": "draft", "properties": {"guild_id": "", "role_id": "", "kick_member": true, "guild_token": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 616062, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-10-29T10:58:55.115Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-02-03T23:25:29.448Z", "size_readable": "", "public_url": "https://livid-stool.biz/"}], "attached_custom_fields": []}} + application/json: {"type": "product.created", "timestamp": "2023-10-13T02:47:55.082Z", "data": {"id": "", "created_at": "2023-10-13T02:47:55.082Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 168322, "name": "", "description": "till that ew put", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 12897, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 785881, "key1": false, "key2": false}, "prices": [{"created_at": "2024-07-28T01:37:16.074Z", "modified_at": "2024-06-21T04:06:38.404Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 351958, "maximum_amount": 675813, "preset_amount": 835712, "legacy": true}, {"created_at": "2025-07-28T01:37:16.074Z", "modified_at": "2025-06-21T04:06:38.404Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 675813, "maximum_amount": 835712, "preset_amount": 824278, "legacy": true}, {"created_at": "2023-09-12T18:18:34.397Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 575460, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-01-15T03:15:59.062Z", "modified_at": "2023-07-04T11:33:29.001Z", "type": "discord", "description": "soybean till mortise brr yet sympathetically", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": 247381}, "visibility": "draft", "properties": {"guild_id": "", "role_id": "", "kick_member": true, "guild_token": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Users", "mime_type": "", "size": 616062, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-10-29T10:58:55.115Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-02-03T23:25:29.448Z", "size_readable": "", "public_url": "https://livid-stool.biz/"}], "attached_custom_fields": []}} responses: "200": application/json: "" @@ -2367,7 +2365,7 @@ examples: _endpointproduct_updated_post: speakeasy-default-endpointproduct-updated-post: requestBody: - application/json: {"type": "product.updated", "timestamp": "2024-08-25T02:00:54.049Z", "data": {"id": "", "created_at": "2024-08-25T02:00:54.049Z", "modified_at": "2023-07-21T03:22:42.071Z", "trial_interval": "month", "trial_interval_count": 860221, "name": "", "description": "fooey optimistic beyond dress helpfully whispered structure heartfelt consequently", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 705076, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {"key": 495401, "key1": true}, "prices": [{"created_at": "2023-07-21T03:22:42.071Z", "modified_at": "2025-05-10T05:05:05.968Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-08-10T13:22:51.241Z", "modified_at": "2024-10-05T01:46:47.680Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 753291, "maximum_amount": 103642, "preset_amount": 38424, "legacy": true}, {"created_at": "2024-11-15T20:13:31.076Z", "modified_at": "2025-08-03T01:42:10.311Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 586326, "maximum_amount": 272075, "preset_amount": 946258, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-26T20:43:42.655Z", "modified_at": "2023-11-13T02:29:49.304Z", "type": "downloadables", "description": "towards avaricious oof after nutritious", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "private", "properties": {"archived": {"key": false}, "files": ["", "", ""]}, "visibility_configurable": false}, {"id": "", "created_at": "2023-09-18T01:08:29.935Z", "modified_at": "2025-06-15T04:30:20.706Z", "type": "meter_credit", "description": "where patroller after aw arid", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {"key": true, "key1": ""}, "visibility": "draft", "properties": {"units": 292879, "rollover": true, "meter_id": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2023-08-06T07:32:57.958Z", "modified_at": "2023-04-29T20:41:41.892Z", "type": "github_repository", "description": "once however abnormally pace wretched presell", "selectable": false, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": false}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}, "visibility_configurable": false}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 435627, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-04-14T07:39:07.142Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-04-21T20:24:54.389Z", "size_readable": "", "public_url": "https://uneven-juggernaut.net"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}]}} + application/json: {"type": "product.updated", "timestamp": "2024-08-25T02:00:54.049Z", "data": {"id": "", "created_at": "2024-08-25T02:00:54.049Z", "modified_at": "2023-07-21T03:22:42.071Z", "trial_interval": "month", "trial_interval_count": 860221, "name": "", "description": "fooey optimistic beyond dress helpfully whispered structure heartfelt consequently", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 705076, "is_recurring": false, "is_archived": false, "organization_id": "", "metadata": {"key": 495401, "key1": true}, "prices": [{"created_at": "2024-07-20T03:22:42.071Z", "modified_at": "2026-05-10T05:05:05.968Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 190517, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, {"created_at": "2023-08-10T13:22:51.241Z", "modified_at": "2024-10-05T01:46:47.680Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 753291, "maximum_amount": 103642, "preset_amount": 38424, "legacy": true}, {"created_at": "2024-11-15T20:13:31.076Z", "modified_at": "2025-08-03T01:42:10.311Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 586326, "maximum_amount": 272075, "preset_amount": 946258, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-26T20:43:42.655Z", "modified_at": "2023-11-13T02:29:49.304Z", "type": "downloadables", "description": "towards avaricious oof after nutritious", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "private", "properties": {"archived": {"key": false}, "files": ["", "", ""]}, "visibility_configurable": false}, {"id": "", "created_at": "2023-09-18T01:08:29.935Z", "modified_at": "2025-06-15T04:30:20.706Z", "type": "meter_credit", "description": "where patroller after aw arid", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {"key": true, "key1": ""}, "visibility": "draft", "properties": {"units": 292879, "rollover": true, "meter_id": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2023-08-06T07:32:57.958Z", "modified_at": "2023-04-29T20:41:41.892Z", "type": "github_repository", "description": "once however abnormally pace wretched presell", "selectable": false, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": false}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "pull"}, "visibility_configurable": false}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 435627, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-04-14T07:39:07.142Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-04-21T20:24:54.389Z", "size_readable": "", "public_url": "https://uneven-juggernaut.net"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-10-22T03:22:15.717Z", "modified_at": "2024-11-21T19:59:56.303Z", "id": "", "metadata": {"key": true, "key1": false}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 876633, "required": true}]}} responses: "200": application/json: "" @@ -2376,7 +2374,7 @@ examples: _endpointorganization_updated_post: speakeasy-default-endpointorganization-updated-post: requestBody: - application/json: {"type": "organization.updated", "timestamp": "2025-08-19T15:02:44.139Z", "data": {"created_at": "2025-08-19T15:02:44.139Z", "modified_at": "2025-08-23T00:45:50.780Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Lemuel44@gmail.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://grizzled-patroller.info/"}, {"platform": "tiktok", "url": "https://grizzled-patroller.info/"}], "status": "active", "details_submitted_at": null, "default_presentment_currency": "", "default_tax_behavior": "exclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "billing_enabled": false, "slack_benefit_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 877397, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_cycled_after_trial": false, "subscription_past_due": true, "subscription_renewal_reminder": false, "subscription_revoked": true, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": false, "subscription_updated": true}, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": true, "update_plan": true}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": true, "api_access": true, "dashboard_access": true}}} + application/json: {"type": "organization.updated", "timestamp": "2025-08-19T15:02:44.139Z", "data": {"created_at": "2025-08-19T15:02:44.139Z", "modified_at": "2025-08-23T00:45:50.780Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": null, "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Lemuel44@gmail.com", "website": "", "socials": [{"platform": "tiktok", "url": "https://grizzled-patroller.info/"}, {"platform": "tiktok", "url": "https://grizzled-patroller.info/"}], "status": "active", "details_submitted_at": null, "default_presentment_currency": "", "default_tax_behavior": "exclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "slack_benefit_enabled": false, "preview_access_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "proration_behavior": "invoice", "benefit_revocation_grace_period": 877397, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": true, "subscription_cycled_after_trial": false, "subscription_past_due": true, "subscription_renewal_reminder": false, "subscription_revoked": true, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": false, "subscription_updated": true}, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": true, "update_plan": true}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": true, "api_access": true, "dashboard_access": true}}} responses: "200": application/json: "" @@ -2453,7 +2451,7 @@ examples: application/json: {"name": "", "slug": ""} responses: "201": - application/json: {"created_at": "2024-12-19T02:20:41.368Z", "modified_at": "2024-07-08T16:38:56.712Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://menacing-draft.net", "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Ursula99@yahoo.com", "website": "", "socials": [{"platform": "facebook", "url": "https://likable-commodity.biz/"}], "status": "denied", "details_submitted_at": "2024-04-04T18:10:47.254Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "billing_enabled": false, "slack_benefit_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 655199, "prevent_trial_abuse": false, "allow_customer_updates": true}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_cycled_after_trial": false, "subscription_past_due": false, "subscription_renewal_reminder": false, "subscription_revoked": false, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": true, "subscription_updated": false}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": false}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": false, "api_access": false, "dashboard_access": false}} + application/json: {"created_at": "2024-12-19T02:20:41.368Z", "modified_at": "2024-07-08T16:38:56.712Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://menacing-draft.net", "proration_behavior": "prorate", "allow_customer_updates": false, "email": "Ursula99@yahoo.com", "website": "", "socials": [{"platform": "facebook", "url": "https://likable-commodity.biz/"}], "status": "denied", "details_submitted_at": "2024-04-04T18:10:47.254Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "slack_benefit_enabled": false, "preview_access_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "proration_behavior": "prorate", "benefit_revocation_grace_period": 655199, "prevent_trial_abuse": false, "allow_customer_updates": true}, "notification_settings": {"new_order": false, "new_subscription": false}, "customer_email_settings": {"order_confirmation": false, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_cycled_after_trial": false, "subscription_past_due": false, "subscription_renewal_reminder": false, "subscription_revoked": false, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": true, "subscription_updated": false}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": false}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": false, "api_access": false, "dashboard_access": false}} "422": application/json: {} organizations:get: @@ -2463,7 +2461,7 @@ examples: id: "1dbfc517-0bbf-4301-9ba8-555ca42b9737" responses: "200": - application/json: {"created_at": "2024-06-18T23:12:24.609Z", "modified_at": "2023-11-22T07:49:02.109Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://far-off-resource.com", "proration_behavior": "invoice", "allow_customer_updates": true, "email": "Dejon.Jakubowski-Bashirian6@gmail.com", "website": null, "socials": [{"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}], "status": "denied", "details_submitted_at": "2023-07-16T01:59:28.607Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "billing_enabled": false, "slack_benefit_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 488109, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": false, "subscription_cycled_after_trial": true, "subscription_past_due": false, "subscription_renewal_reminder": true, "subscription_revoked": true, "subscription_trial_conversion_reminder": true, "subscription_uncanceled": false, "subscription_updated": true}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": true, "subscription_renewals": true, "payouts": false, "refunds": false, "api_access": true, "dashboard_access": false}} + application/json: {"created_at": "2024-06-18T23:12:24.609Z", "modified_at": "2023-11-22T07:49:02.109Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://far-off-resource.com", "proration_behavior": "invoice", "allow_customer_updates": true, "email": "Dejon.Jakubowski-Bashirian6@gmail.com", "website": null, "socials": [{"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}, {"platform": "other", "url": "https://tedious-habit.com"}], "status": "denied", "details_submitted_at": "2023-07-16T01:59:28.607Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "slack_benefit_enabled": false, "preview_access_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": true, "proration_behavior": "prorate", "benefit_revocation_grace_period": 488109, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": true, "new_subscription": true}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": true, "subscription_confirmation": true, "subscription_cycled": false, "subscription_cycled_after_trial": true, "subscription_past_due": false, "subscription_renewal_reminder": true, "subscription_revoked": true, "subscription_trial_conversion_reminder": true, "subscription_uncanceled": false, "subscription_updated": true}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": true, "subscription_renewals": true, "payouts": false, "refunds": false, "api_access": true, "dashboard_access": false}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2477,7 +2475,7 @@ examples: application/json: {} responses: "200": - application/json: {"created_at": "2024-01-10T12:09:47.665Z", "modified_at": "2025-07-12T14:18:16.022Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://juvenile-deed.name/", "proration_behavior": "invoice", "allow_customer_updates": false, "email": "Stanford.Streich62@gmail.com", "website": "", "socials": [{"platform": "github", "url": "https://violent-ownership.org/"}], "status": "snoozed", "details_submitted_at": "2024-05-08T13:53:13.516Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "billing_enabled": false, "slack_benefit_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 341703, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_cycled_after_trial": true, "subscription_past_due": true, "subscription_renewal_reminder": false, "subscription_revoked": true, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": true, "subscription_updated": false}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": true}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": true, "api_access": true, "dashboard_access": true}} + application/json: {"created_at": "2024-01-10T12:09:47.665Z", "modified_at": "2025-07-12T14:18:16.022Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://juvenile-deed.name/", "proration_behavior": "invoice", "allow_customer_updates": false, "email": "Stanford.Streich62@gmail.com", "website": "", "socials": [{"platform": "github", "url": "https://violent-ownership.org/"}], "status": "snoozed", "details_submitted_at": "2024-05-08T13:53:13.516Z", "default_presentment_currency": "", "default_tax_behavior": "inclusive", "feature_settings": {"issue_funding_enabled": false, "seat_based_pricing_enabled": false, "wallets_enabled": false, "member_model_enabled": false, "checkout_localization_enabled": false, "reset_proration_behavior_enabled": false, "off_session_charges_enabled": false, "slack_benefit_enabled": false, "preview_access_enabled": false}, "subscription_settings": {"allow_multiple_subscriptions": false, "proration_behavior": "invoice", "benefit_revocation_grace_period": 341703, "prevent_trial_abuse": false, "allow_customer_updates": false}, "notification_settings": {"new_order": true, "new_subscription": false}, "customer_email_settings": {"order_confirmation": true, "subscription_cancellation": false, "subscription_confirmation": false, "subscription_cycled": false, "subscription_cycled_after_trial": true, "subscription_past_due": true, "subscription_renewal_reminder": false, "subscription_revoked": true, "subscription_trial_conversion_reminder": false, "subscription_uncanceled": true, "subscription_updated": false}, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": true}}, "account_id": "", "payout_account_id": "", "capabilities": {"checkout_payments": false, "subscription_renewals": false, "payouts": false, "refunds": true, "api_access": true, "dashboard_access": true}} "403": application/json: {"error": "NotPermitted", "detail": ""} "404": @@ -2493,7 +2491,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 742797, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2024-10-01T10:10:26.018Z", "trial_end": "2023-12-05T04:37:49.573Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "team", "name": "John Doe", "billing_name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "week", "trial_interval_count": 960252, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 616371, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {"key": ""}, "visibility": "public", "properties": {"note": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "forever", "type": "percentage", "basis_points": 1000, "created_at": "2024-12-04T04:37:49.573Z", "modified_at": "2025-06-23T08:50:11.993Z", "id": "", "metadata": {"key": false}, "name": "", "code": "", "starts_at": "2024-09-21T22:50:40.236Z", "ends_at": "2026-05-03T04:33:34.190Z", "max_redemptions": 265915, "redemptions_count": 732961, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-09-22T22:50:40.236Z", "modified_at": "2025-05-03T04:33:34.190Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 834580, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-06-23T08:50:11.993Z", "modified_at": "2026-11-18T10:27:58.317Z", "id": "", "applies_at": "2026-04-10T00:55:03.476Z", "product_id": "", "seats": 241744}}, {"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 308570, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2025-09-23T15:13:06.761Z", "trial_end": "2023-09-22T22:50:40.236Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "team", "name": "John Doe", "billing_name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "year", "trial_interval_count": 265915, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 492124, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": ""}, "visibility": "private", "properties": {"note": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "draft", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 786734, "type": "fixed", "basis_points": 1000, "created_at": "2026-04-30T02:52:35.936Z", "modified_at": "2024-10-28T13:21:35.872Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2026-09-12T12:57:56.639Z", "ends_at": "2024-11-10T17:51:02.571Z", "max_redemptions": 215064, "redemptions_count": 776767, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-04-30T02:52:35.936Z", "modified_at": "2023-10-29T13:21:35.872Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 262272, "legacy": true}, {"created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 827165, "maximum_amount": 310545, "preset_amount": 154160, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-06-23T08:50:11.993Z", "modified_at": "2026-11-18T10:27:58.317Z", "id": "", "applies_at": "2026-04-10T00:55:03.476Z", "product_id": "", "seats": 241744}}], "pagination": {"total_count": 947589, "max_page": 388476}} + application/json: {"items": [{"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 742797, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2024-10-01T10:10:26.018Z", "trial_end": "2023-12-05T04:37:49.573Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "team", "name": "John Doe", "billing_name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "week", "trial_interval_count": 960252, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 616371, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {"key": ""}, "visibility": "public", "properties": {"note": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "forever", "type": "percentage", "basis_points": 1000, "created_at": "2024-12-04T04:37:49.573Z", "modified_at": "2025-06-23T08:50:11.993Z", "id": "", "metadata": {"key": false}, "name": "", "code": "", "starts_at": "2024-09-21T22:50:40.236Z", "ends_at": "2026-05-03T04:33:34.190Z", "max_redemptions": 265915, "redemptions_count": 732961, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-11-06T13:01:30.486Z", "modified_at": "2025-03-26T10:08:00.196Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 270516, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, {"created_at": "2023-09-22T22:50:40.236Z", "modified_at": "2025-05-03T04:33:34.190Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 834580, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-06-23T08:50:11.993Z", "modified_at": "2026-11-18T10:27:58.317Z", "id": "", "applies_at": "2026-04-10T00:55:03.476Z", "product_id": "", "seats": 241744}}, {"created_at": "2024-11-06T13:01:30.486Z", "modified_at": "2024-03-26T10:08:00.196Z", "id": "", "amount": 492124, "currency": "Rial Omani", "recurring_interval": "year", "recurring_interval_count": 308570, "status": "canceled", "current_period_start": "2025-09-23T15:13:06.761Z", "current_period_end": "2023-09-22T22:50:40.236Z", "trial_start": "2025-09-23T15:13:06.761Z", "trial_end": "2023-09-22T22:50:40.236Z", "cancel_at_period_end": true, "canceled_at": "2024-06-12T10:43:36.497Z", "started_at": "2025-03-14T07:47:35.696Z", "ends_at": "2025-07-03T16:46:46.137Z", "ended_at": "2024-03-20T05:19:38.088Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": true, "key1": 142409}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "team", "name": "John Doe", "billing_name": "John Doe", "billing_address": null, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-06-25T13:44:42.918Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=blank"}, "product": {"id": "", "created_at": "2024-12-09T00:06:17.749Z", "modified_at": "2025-08-24T16:27:54.472Z", "trial_interval": "year", "trial_interval_count": 265915, "name": "", "description": "er making aha doing offset oh incidentally aside hm", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 492124, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": false, "key1": false, "key2": false}, "prices": [], "benefits": [{"id": "", "created_at": "2025-04-05T16:53:07.702Z", "modified_at": "2024-05-11T08:58:06.412Z", "type": "custom", "description": "border pink insert sonnet membership access made-up aha an", "selectable": false, "deletable": true, "is_deleted": true, "organization_id": "", "metadata": {"key": ""}, "visibility": "private", "properties": {"note": ""}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": false}, {"id": "", "created_at": "2025-05-20T14:55:17.223Z", "modified_at": "2025-04-09T10:13:23.999Z", "type": "github_repository", "description": "quarrelsome joyously diligently mmm joshingly sailor or jury annex", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 810447, "key1": 8377.26, "key2": 623085}, "visibility": "draft", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/opt/include", "mime_type": "", "size": 39873, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-10-09T14:35:38.900Z", "version": null, "service": "product_media", "is_uploaded": false, "created_at": "2023-06-02T18:03:00.031Z", "size_readable": "", "public_url": "https://aggravating-graffiti.info/"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-08-14T02:26:18.152Z", "modified_at": null, "id": "", "metadata": {"key": 496263, "key1": "", "key2": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 561607, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 786734, "type": "fixed", "basis_points": 1000, "created_at": "2026-04-30T02:52:35.936Z", "modified_at": "2024-10-28T13:21:35.872Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2026-09-12T12:57:56.639Z", "ends_at": "2024-11-10T17:51:02.571Z", "max_redemptions": 215064, "redemptions_count": 776767, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-04-30T02:52:35.936Z", "modified_at": "2023-10-29T13:21:35.872Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 262272, "legacy": true}, {"created_at": "2023-08-24T17:03:16.161Z", "modified_at": "2025-05-07T18:20:34.107Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 827165, "maximum_amount": 310545, "preset_amount": 154160, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-06-23T08:50:11.993Z", "modified_at": "2026-11-18T10:27:58.317Z", "id": "", "applies_at": "2026-04-10T00:55:03.476Z", "product_id": "", "seats": 241744}}], "pagination": {"total_count": 947589, "max_page": 388476}} "422": application/json: {} subscriptions:export: @@ -2528,7 +2526,7 @@ examples: application/json: {"product_id": ""} responses: "200": - application/json: {"created_at": "2023-12-04T14:44:14.136Z", "modified_at": "2023-05-01T08:54:32.351Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 297120, "status": "canceled", "current_period_start": "2024-10-27T19:14:25.505Z", "current_period_end": "2025-11-08T09:51:13.337Z", "trial_start": "2023-12-04T14:44:14.136Z", "trial_end": "2023-05-01T08:54:32.351Z", "cancel_at_period_end": false, "canceled_at": "2023-05-16T23:35:19.423Z", "started_at": "2023-11-02T08:09:24.083Z", "ends_at": "2025-04-12T21:04:51.008Z", "ended_at": "2023-12-10T00:14:34.013Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": null, "metadata": {"key": 7847.22, "key1": true}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-28T05:26:01.320Z", "modified_at": "2023-07-10T03:03:20.499Z", "metadata": {"key": 6844.97}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-09T13:23:35.812Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-08-15T15:06:53.828Z", "modified_at": "2025-03-30T01:15:57.619Z", "trial_interval": "year", "trial_interval_count": 827417, "name": "", "description": null, "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 891943, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": "", "key1": 6842.69}, "prices": [{"created_at": "2025-09-04T13:39:15.428Z", "modified_at": "2023-06-09T23:09:57.743Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 607483, "maximum_amount": 951105, "preset_amount": 838393, "legacy": true}], "benefits": [], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}]}, "discount": {"duration": "forever", "duration_in_months": 913858, "type": "percentage", "amount": 925698, "currency": "Pound Sterling", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2025-01-31T19:57:33.256Z", "modified_at": "2024-11-08T18:43:15.968Z", "id": "", "metadata": {"key": 2646.89}, "name": "", "code": "", "starts_at": "2025-02-01T12:19:14.944Z", "ends_at": "2023-04-23T06:57:38.844Z", "max_redemptions": 467745, "redemptions_count": 167766, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-02T08:09:24.083Z", "modified_at": "2025-04-12T21:04:51.008Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 203413, "legacy": true}, {"created_at": "2024-02-05T08:01:02.549Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-12-26T01:37:45.354Z", "modified_at": "2023-11-30T02:22:41.602Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 563833, "legacy": true}], "meters": [{"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2025-04-18T08:25:13.474Z", "modified_at": "2025-09-07T02:23:54.975Z", "id": "", "applies_at": "2026-07-07T21:05:18.372Z", "product_id": "", "seats": 278595}} + application/json: {"created_at": "2023-12-04T14:44:14.136Z", "modified_at": "2023-05-01T08:54:32.351Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 297120, "status": "canceled", "current_period_start": "2024-10-27T19:14:25.505Z", "current_period_end": "2025-11-08T09:51:13.337Z", "trial_start": "2023-12-04T14:44:14.136Z", "trial_end": "2023-05-01T08:54:32.351Z", "cancel_at_period_end": false, "canceled_at": "2023-05-16T23:35:19.423Z", "started_at": "2023-11-02T08:09:24.083Z", "ends_at": "2025-04-12T21:04:51.008Z", "ended_at": "2023-12-10T00:14:34.013Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "missing_features", "customer_cancellation_comment": null, "metadata": {"key": 7847.22, "key1": true}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-12-28T05:26:01.320Z", "modified_at": "2023-07-10T03:03:20.499Z", "metadata": {"key": 6844.97}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-09-09T13:23:35.812Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2024-08-15T15:06:53.828Z", "modified_at": "2025-03-30T01:15:57.619Z", "trial_interval": "year", "trial_interval_count": 827417, "name": "", "description": null, "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 891943, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {"key": "", "key1": 6842.69}, "prices": [{"created_at": "2025-09-04T13:39:15.428Z", "modified_at": "2023-06-09T23:09:57.743Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 607483, "maximum_amount": 951105, "preset_amount": 838393, "legacy": true}], "benefits": [], "medias": [], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2025-08-28T05:31:36.934Z", "modified_at": "2025-01-12T20:56:10.352Z", "id": "", "metadata": {"key": "", "key1": true}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 610180, "required": true}]}, "discount": {"duration": "forever", "duration_in_months": 913858, "type": "percentage", "amount": 925698, "currency": "Pound Sterling", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2025-01-31T19:57:33.256Z", "modified_at": "2024-11-08T18:43:15.968Z", "id": "", "metadata": {"key": 2646.89}, "name": "", "code": "", "starts_at": "2025-02-01T12:19:14.944Z", "ends_at": "2023-04-23T06:57:38.844Z", "max_redemptions": 467745, "redemptions_count": 167766, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2023-11-02T08:09:24.083Z", "modified_at": "2025-04-12T21:04:51.008Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 203413, "legacy": true}, {"created_at": "2026-09-04T13:39:15.428Z", "modified_at": "2024-06-08T23:09:57.743Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 951105, "maximum_amount": 838393, "preset_amount": 429503, "legacy": true}, {"created_at": "2023-12-26T01:37:45.354Z", "modified_at": "2023-11-30T02:22:41.602Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 563833, "legacy": true}], "meters": [{"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}, {"created_at": "2025-04-18T21:57:33.981Z", "modified_at": "2024-10-02T20:14:14.923Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {}, "created_at": "2024-07-09T16:42:12.156Z", "modified_at": "2025-01-04T07:19:55.953Z", "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "and", "clauses": []}]}, "aggregation": {"func": "avg", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2025-04-18T08:25:13.474Z", "modified_at": "2025-09-07T02:23:54.975Z", "id": "", "applies_at": "2026-07-07T21:05:18.372Z", "product_id": "", "seats": 278595}} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -2546,7 +2544,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-04-13T16:53:14.377Z", "modified_at": "2023-10-09T16:03:24.107Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 93707, "status": "past_due", "current_period_start": "2024-09-21T11:35:55.569Z", "current_period_end": "2025-03-29T10:01:06.463Z", "trial_start": null, "trial_end": "2023-10-09T16:03:24.107Z", "cancel_at_period_end": true, "canceled_at": "2025-09-12T16:35:27.128Z", "started_at": "2025-07-19T10:57:44.516Z", "ends_at": "2023-01-14T16:02:07.001Z", "ended_at": "2024-04-09T01:58:52.778Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "metadata": {"key": "", "key1": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-02-06T08:24:11.064Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-08-01T19:22:16.612Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "trial_interval": "week", "trial_interval_count": 618257, "name": "", "description": "yowza meh ethyl where once exotic", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 256997, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 3063.89, "key1": true}, "prices": [{"created_at": "2023-10-09T16:03:24.107Z", "modified_at": "2023-10-18T20:01:51.483Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 574346, "legacy": true}, {"created_at": "2023-03-31T11:27:51.165Z", "modified_at": "2025-09-12T16:35:27.128Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-09-25T04:14:25.732Z", "modified_at": "2025-11-14T15:31:42.442Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 606069, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "visibility": "draft", "properties": {"units": 921282, "rollover": false, "meter_id": ""}, "visibility_configurable": true}, {"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "visibility": "draft", "properties": {"units": 921282, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-04-12T03:15:38.858Z", "modified_at": "2025-07-13T21:55:11.751Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 712744, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 153470, "type": "fixed", "basis_points": 284416, "created_at": "2024-03-23T02:00:57.683Z", "modified_at": "2025-01-27T19:18:40.809Z", "id": "", "metadata": {"key": 4126.15, "key1": 3937.48}, "name": "", "code": null, "starts_at": "2025-06-08T16:09:35.643Z", "ends_at": "2024-02-05T12:40:28.600Z", "max_redemptions": 819891, "redemptions_count": 779464, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2025-05-21T20:43:29.354Z", "modified_at": "2023-04-05T19:10:22.088Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 93707, "maximum_amount": 75257, "preset_amount": 135909, "legacy": true}, {"created_at": "2025-09-15T17:22:16.784Z", "modified_at": "2024-11-04T09:40:35.837Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 803091, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "meters": [{"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "token", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2026-09-12T16:35:27.128Z", "modified_at": "2026-07-19T10:57:44.516Z", "id": "", "applies_at": "2024-09-14T11:29:54.406Z", "product_id": null, "seats": 423433}} + application/json: {"created_at": "2023-04-13T16:53:14.377Z", "modified_at": "2023-10-09T16:03:24.107Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 93707, "status": "past_due", "current_period_start": "2024-09-21T11:35:55.569Z", "current_period_end": "2025-03-29T10:01:06.463Z", "trial_start": null, "trial_end": "2023-10-09T16:03:24.107Z", "cancel_at_period_end": true, "canceled_at": "2025-09-12T16:35:27.128Z", "started_at": "2025-07-19T10:57:44.516Z", "ends_at": "2023-01-14T16:02:07.001Z", "ended_at": "2024-04-09T01:58:52.778Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "metadata": {"key": "", "key1": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2025-02-06T08:24:11.064Z", "modified_at": null, "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2023-08-01T19:22:16.612Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "trial_interval": "week", "trial_interval_count": 618257, "name": "", "description": "yowza meh ethyl where once exotic", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 256997, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 3063.89, "key1": true}, "prices": [{"created_at": "2023-10-09T16:03:24.107Z", "modified_at": "2023-10-18T20:01:51.483Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 574346, "legacy": true}, {"created_at": "2024-10-08T16:03:24.107Z", "modified_at": "2024-10-17T20:01:51.483Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 81640, "maximum_amount": 899354, "preset_amount": 848957, "legacy": true}, {"created_at": "2025-09-25T04:14:25.732Z", "modified_at": "2025-11-14T15:31:42.442Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 606069, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "visibility": "draft", "properties": {"units": 921282, "rollover": false, "meter_id": ""}, "visibility_configurable": true}, {"id": "", "created_at": "2023-10-30T15:15:07.973Z", "modified_at": "2025-02-25T11:02:14.286Z", "type": "meter_credit", "description": "circa cassava because", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 3478.81, "key1": "", "key2": true}, "visibility": "draft", "properties": {"units": 921282, "rollover": false, "meter_id": ""}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 105567, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-10-02T19:01:45.651Z", "size_readable": "", "public_url": "https://inconsequential-slide.com"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-04-12T03:15:38.858Z", "modified_at": "2025-07-13T21:55:11.751Z", "id": "", "metadata": {}, "type": "number", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 712744, "required": false}]}, "discount": {"duration": "repeating", "duration_in_months": 153470, "type": "fixed", "basis_points": 284416, "created_at": "2024-03-23T02:00:57.683Z", "modified_at": "2025-01-27T19:18:40.809Z", "id": "", "metadata": {"key": 4126.15, "key1": 3937.48}, "name": "", "code": null, "starts_at": "2025-06-08T16:09:35.643Z", "ends_at": "2024-02-05T12:40:28.600Z", "max_redemptions": 819891, "redemptions_count": 779464, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-12-29T23:05:01.176Z", "modified_at": "2026-09-25T04:14:25.732Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 47784, "maximum_amount": 795496, "preset_amount": 86495, "legacy": true}, {"created_at": "2023-04-14T01:49:23.359Z", "modified_at": "2023-02-27T03:18:26.391Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 93707, "maximum_amount": 75257, "preset_amount": 135909, "legacy": true}, {"created_at": "2025-09-15T17:22:16.784Z", "modified_at": "2024-11-04T09:40:35.837Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 803091, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "meters": [{"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "token", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}, {"created_at": "2023-06-22T22:55:35.524Z", "modified_at": "2023-05-11T08:44:43.261Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"metadata": {"key": false, "key1": 561011}, "created_at": "2024-02-17T07:16:15.047Z", "modified_at": null, "id": "", "name": "", "unit": "scalar", "filter": {"conjunction": "or", "clauses": [{"conjunction": "or", "clauses": []}]}, "aggregation": {"func": "max", "property": ""}, "organization_id": ""}}], "pending_update": {"created_at": "2026-09-12T16:35:27.128Z", "modified_at": "2026-07-19T10:57:44.516Z", "id": "", "applies_at": "2024-09-14T11:29:54.406Z", "product_id": null, "seats": 423433}} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -2677,7 +2675,7 @@ examples: path: id: "" requestBody: - application/json: {"type": "custom"} + application/json: {"type": "discord"} responses: "200": application/json: {"id": "", "created_at": "2025-05-22T21:58:57.366Z", "modified_at": "2024-02-01T04:36:57.345Z", "type": "meter_credit", "description": "gosh perfectly fund efface", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": false}, "visibility": "public", "properties": {"units": 356294, "rollover": false, "meter_id": ""}, "visibility_configurable": false} @@ -2730,7 +2728,7 @@ examples: application/json: {"name": "", "prices": [], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "recurring_interval": "year"} responses: "201": - application/json: {"id": "", "created_at": "2025-01-12T01:51:18.973Z", "modified_at": "2025-11-10T04:18:09.355Z", "trial_interval": "month", "trial_interval_count": null, "name": "", "description": "well-worn against cash unless offensively chromakey exempt dense cruelly peony", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 746612, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": ""}, "prices": [{"created_at": "2023-04-20T14:04:54.240Z", "modified_at": "2024-11-07T17:01:01.790Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-03-29T16:30:59.890Z", "modified_at": "2025-08-23T16:40:00.782Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2023-11-12T20:54:36.929Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 845799, "maximum_amount": 402294, "preset_amount": 275452, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-12T11:07:33.436Z", "modified_at": "2024-10-25T01:29:33.276Z", "id": "", "metadata": {}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 29798, "required": false}]} + application/json: {"id": "", "created_at": "2025-01-12T01:51:18.973Z", "modified_at": "2025-11-10T04:18:09.355Z", "trial_interval": "month", "trial_interval_count": null, "name": "", "description": "well-worn against cash unless offensively chromakey exempt dense cruelly peony", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 746612, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": ""}, "prices": [{"created_at": "2024-04-19T14:04:54.240Z", "modified_at": "2025-11-07T17:01:01.790Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 502309, "meter_id": "", "meter": {"id": "", "name": "", "unit": "token"}}, {"created_at": "2026-11-14T23:25:48.045Z", "modified_at": "2024-08-08T02:35:41.394Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "seat_tiers": {"tiers": [], "minimum_seats": 82780, "maximum_seats": 665986}}, {"created_at": "2023-11-12T20:54:36.929Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 845799, "maximum_amount": 402294, "preset_amount": 275452, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}, {"id": "", "organization_id": "", "name": "", "path": "/srv", "mime_type": "", "size": 791819, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-03-25T22:23:54.102Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2025-01-18T23:38:34.369Z", "size_readable": "", "public_url": "https://rewarding-defendant.org"}], "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-08-12T11:07:33.436Z", "modified_at": "2024-10-25T01:29:33.276Z", "id": "", "metadata": {}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 29798, "required": false}]} "422": application/json: {} products:get: @@ -2740,7 +2738,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2024-02-13T06:53:33.624Z", "modified_at": "2023-05-12T13:18:24.858Z", "trial_interval": "month", "trial_interval_count": 612534, "name": "", "description": "unless spirit brr", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 624323, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": 6163.88, "key1": 9317.36}, "prices": [{"created_at": "2023-05-12T13:18:24.858Z", "modified_at": "2023-05-14T01:41:35.647Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 730788, "legacy": true}, {"created_at": "2023-11-27T09:27:19.424Z", "modified_at": "2025-05-27T01:17:58.930Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 949423, "legacy": true}, {"created_at": "2025-07-22T04:15:31.279Z", "modified_at": "2023-09-19T09:44:34.428Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-02-09T15:41:59.550Z", "modified_at": "2024-04-11T03:19:35.244Z", "type": "downloadables", "description": "simplistic loudly phony pomelo fiercely fellow hearten like politely geez", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 916.31, "key1": true, "key2": 42514}, "visibility": "private", "properties": {"archived": {"key": false, "key1": true}, "files": ["", ""]}, "visibility_configurable": false}, {"id": "", "created_at": "2024-06-16T18:41:03.517Z", "modified_at": "2024-09-07T07:56:09.259Z", "type": "meter_credit", "description": "mmm neatly after", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 9567.58}, "visibility": "draft", "properties": {"units": 361243, "rollover": false, "meter_id": ""}, "visibility_configurable": false}], "medias": [], "attached_custom_fields": []} + application/json: {"id": "", "created_at": "2024-02-13T06:53:33.624Z", "modified_at": "2023-05-12T13:18:24.858Z", "trial_interval": "month", "trial_interval_count": 612534, "name": "", "description": "unless spirit brr", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 624323, "is_recurring": true, "is_archived": false, "organization_id": "", "metadata": {"key": 6163.88, "key1": 9317.36}, "prices": [{"created_at": "2023-05-12T13:18:24.858Z", "modified_at": "2023-05-14T01:41:35.647Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 730788, "legacy": true}, {"created_at": "2023-11-27T09:27:19.424Z", "modified_at": "2025-05-27T01:17:58.930Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 949423, "legacy": true}, {"created_at": "2024-05-11T13:18:24.858Z", "modified_at": "2024-05-13T01:41:35.647Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 301454, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-02-09T15:41:59.550Z", "modified_at": "2024-04-11T03:19:35.244Z", "type": "downloadables", "description": "simplistic loudly phony pomelo fiercely fellow hearten like politely geez", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 916.31, "key1": true, "key2": 42514}, "visibility": "private", "properties": {"archived": {"key": false, "key1": true}, "files": ["", ""]}, "visibility_configurable": false}, {"id": "", "created_at": "2024-06-16T18:41:03.517Z", "modified_at": "2024-09-07T07:56:09.259Z", "type": "meter_credit", "description": "mmm neatly after", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": "", "metadata": {"key": 9567.58}, "visibility": "draft", "properties": {"units": 361243, "rollover": false, "meter_id": ""}, "visibility_configurable": false}], "medias": [], "attached_custom_fields": []} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -2849,7 +2847,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://punctual-guacamole.org", "expires_at": "2023-08-19T15:22:33.462Z", "success_url": "https://biodegradable-coal.com", "return_url": "https://definite-finer.org/", "embed_origin": "", "amount": 780504, "discount_amount": 766358, "net_amount": 630886, "tax_amount": 936353, "tax_behavior": "inclusive", "total_amount": 994328, "currency": "Algerian Dinar", "allow_trial": true, "active_trial_interval": "week", "active_trial_interval_count": 332812, "trial_end": "2024-12-26T22:49:45.749Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": false, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "disabled", "line2": "optional"}, "trial_interval": "month", "trial_interval_count": 902613, "metadata": {"key": 507672, "key1": 563944}, "external_customer_id": "", "products": [{"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "dally bungalow congregate howl", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 345801, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, {"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 780504, "name": "", "description": "dally bungalow congregate howl", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 332812, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}], "product": {"id": "", "created_at": "2025-10-08T08:06:47.691Z", "modified_at": "2023-01-13T21:51:28.028Z", "trial_interval": "month", "trial_interval_count": 936353, "name": "", "description": "wildly edge except so calculus square", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 662364, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 645390, "legacy": true}, {"created_at": "2023-08-19T15:22:33.462Z", "modified_at": "2023-03-15T09:19:49.081Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2025-04-19T22:15:44.328Z", "modified_at": "2024-07-26T10:32:13.861Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 762494, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, "product_price": {"created_at": "2026-12-02T21:32:42.156Z", "modified_at": "2025-09-19T19:41:27.901Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 210438, "maximum_amount": 66960, "preset_amount": 136812, "legacy": true}, "prices": {"key": [], "key1": [{"created_at": "2023-03-15T09:19:49.081Z", "modified_at": "2023-05-30T22:42:00.703Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}]}, "discount": null, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": 163571, "key1": 954376}}], "pagination": {"total_count": 608889, "max_page": 572838}} + application/json: {"items": [{"id": "", "created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://punctual-guacamole.org", "expires_at": "2023-08-19T15:22:33.462Z", "success_url": "https://biodegradable-coal.com", "return_url": "https://definite-finer.org/", "embed_origin": "", "amount": 780504, "discount_amount": 766358, "net_amount": 630886, "tax_amount": 936353, "tax_behavior": "inclusive", "total_amount": 994328, "currency": "Algerian Dinar", "allow_trial": true, "active_trial_interval": "week", "active_trial_interval_count": 332812, "trial_end": "2024-12-26T22:49:45.749Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": true, "is_free_product_price": false, "is_payment_required": true, "is_payment_setup_required": true, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": ""}, "billing_address_fields": {"country": "required", "state": "optional", "city": "required", "postal_code": "required", "line1": "disabled", "line2": "optional"}, "trial_interval": "month", "trial_interval_count": 902613, "metadata": {"key": 507672, "key1": 563944}, "external_customer_id": "", "products": [{"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "dally bungalow congregate howl", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 345801, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, {"id": "", "created_at": "2023-11-04T01:52:59.639Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 780504, "name": "", "description": "dally bungalow congregate howl", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 332812, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}, {"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}], "product": {"id": "", "created_at": "2025-10-08T08:06:47.691Z", "modified_at": "2023-01-13T21:51:28.028Z", "trial_interval": "month", "trial_interval_count": 936353, "name": "", "description": "wildly edge except so calculus square", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 662364, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-07-14T12:00:22.546Z", "modified_at": "2025-12-02T21:32:42.156Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 645390, "legacy": true}, {"created_at": "2024-07-13T12:00:22.546Z", "modified_at": "2026-12-02T21:32:42.156Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 210438, "maximum_amount": 66960, "preset_amount": 136812, "legacy": true}, {"created_at": "2025-04-19T22:15:44.328Z", "modified_at": "2024-07-26T10:32:13.861Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 762494, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-12-18T03:04:16.879Z", "modified_at": "2025-12-13T18:59:55.618Z", "type": "custom", "description": "tennis badly hoick", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/etc/periodic", "mime_type": "", "size": 790983, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-01-28T15:09:33.411Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-03-27T20:48:20.123Z", "size_readable": "", "public_url": "https://skeletal-solvency.com"}]}, "product_price": {"created_at": "2026-12-02T21:32:42.156Z", "modified_at": "2025-09-19T19:41:27.901Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 210438, "maximum_amount": 66960, "preset_amount": 136812, "legacy": true}, "prices": {"key": [], "key1": [{"created_at": "2026-04-19T22:15:44.328Z", "modified_at": "2025-07-26T10:32:13.861Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 762494, "price_per_seat": 262775}], "minimum_seats": 744718, "maximum_seats": null}}]}, "discount": null, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": 163571, "key1": 954376}}], "pagination": {"total_count": 608889, "max_page": 572838}} "422": application/json: {} checkouts:create: @@ -2858,7 +2856,7 @@ examples: application/json: {"allow_discount_codes": true, "require_billing_address": false, "allow_trial": true, "is_business_customer": false, "customer_name": "John Doe", "customer_billing_address": {"country": "US"}, "locale": "en", "products": ["", "", ""]} responses: "201": - application/json: {"id": "", "created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "payment_processor": "stripe", "status": "failed", "client_secret": "", "url": "https://willing-outset.info/", "expires_at": "2025-05-04T00:57:38.223Z", "success_url": "https://wonderful-adrenalin.info", "return_url": "https://great-fen.com", "embed_origin": "", "amount": 267381, "discount_amount": 51493, "net_amount": 549002, "tax_amount": 457933, "tax_behavior": "exclusive", "total_amount": 901758, "currency": "Singapore Dollar", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 324391, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "optional", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 632047, "metadata": {"key": true, "key1": 633599}, "external_customer_id": "", "products": [{"id": "", "created_at": "2024-02-11T14:47:29.817Z", "modified_at": "2023-12-03T20:20:32.728Z", "trial_interval": "year", "trial_interval_count": 978623, "name": "", "description": "mousse psst pulp because connect deer coordination drum behind yieldingly", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 974785, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 779234, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/tmp", "mime_type": "", "size": 957931, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-05-06T15:29:56.878Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2024-04-02T19:44:45.852Z", "size_readable": "", "public_url": "https://nervous-jet.com/"}]}], "product": {"id": "", "created_at": "2025-06-14T10:40:20.746Z", "modified_at": "2025-01-27T16:41:51.128Z", "trial_interval": null, "trial_interval_count": 452269, "name": "", "description": "over competent powerfully", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 324391, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-01-14T08:53:43.010Z", "modified_at": "2024-05-10T16:28:30.439Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 901758, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}], "benefits": [], "medias": []}, "product_price": {"created_at": "2024-01-06T02:40:29.447Z", "modified_at": "2025-05-30T19:19:24.495Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 779234, "maximum_amount": 978623, "preset_amount": null, "legacy": true}, "prices": {"key": [{"created_at": "2025-05-04T00:57:38.223Z", "modified_at": "2025-12-08T13:41:13.215Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "legacy": true}]}, "discount": {"duration": "forever", "duration_in_months": 602692, "type": "percentage", "basis_points": 1000, "id": "", "name": "", "code": null}, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": true, "key1": 753950, "key2": ""}} + application/json: {"id": "", "created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "payment_processor": "stripe", "status": "failed", "client_secret": "", "url": "https://willing-outset.info/", "expires_at": "2025-05-04T00:57:38.223Z", "success_url": "https://wonderful-adrenalin.info", "return_url": "https://great-fen.com", "embed_origin": "", "amount": 267381, "discount_amount": 51493, "net_amount": 549002, "tax_amount": 457933, "tax_behavior": "exclusive", "total_amount": 901758, "currency": "Singapore Dollar", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 324391, "trial_end": null, "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "is_business_customer": true, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "optional", "postal_code": "required", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 632047, "metadata": {"key": true, "key1": 633599}, "external_customer_id": "", "products": [{"id": "", "created_at": "2024-02-11T14:47:29.817Z", "modified_at": "2023-12-03T20:20:32.728Z", "trial_interval": "year", "trial_interval_count": 978623, "name": "", "description": "mousse psst pulp because connect deer coordination drum behind yieldingly", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 974785, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-03T23:26:44.843Z", "modified_at": "2023-01-06T02:40:29.447Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 779234, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/var/tmp", "mime_type": "", "size": 957931, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-05-06T15:29:56.878Z", "version": null, "service": "product_media", "is_uploaded": true, "created_at": "2024-04-02T19:44:45.852Z", "size_readable": "", "public_url": "https://nervous-jet.com/"}]}], "product": {"id": "", "created_at": "2025-06-14T10:40:20.746Z", "modified_at": "2025-01-27T16:41:51.128Z", "trial_interval": null, "trial_interval_count": 452269, "name": "", "description": "over competent powerfully", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 324391, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-01-14T08:53:43.010Z", "modified_at": "2024-05-10T16:28:30.439Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 901758, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}], "benefits": [], "medias": []}, "product_price": {"created_at": "2024-01-06T02:40:29.447Z", "modified_at": "2025-05-30T19:19:24.495Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "minimum_amount": 779234, "maximum_amount": 978623, "preset_amount": null, "legacy": true}, "prices": {"key": [{"created_at": "2025-01-02T23:26:44.843Z", "modified_at": "2024-01-06T02:40:29.447Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [], "minimum_seats": 779234, "maximum_seats": 978623}}]}, "discount": {"duration": "forever", "duration_in_months": 602692, "type": "percentage", "basis_points": 1000, "id": "", "name": "", "code": null}, "subscription_id": "", "attached_custom_fields": [], "customer_metadata": {"key": true, "key1": 753950, "key2": ""}} "422": application/json: {} checkouts:get: @@ -2882,7 +2880,7 @@ examples: application/json: {"customer_name": "John Doe", "customer_billing_address": {"country": "US"}, "locale": "en"} responses: "200": - application/json: {"id": "", "created_at": "2025-08-11T13:37:19.351Z", "modified_at": "2025-01-17T16:36:47.350Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://quiet-longboat.name/", "expires_at": "2024-06-26T17:48:32.882Z", "success_url": "https://flawless-conversation.com/", "return_url": "https://winding-pliers.biz", "embed_origin": "", "amount": 854455, "discount_amount": 294901, "net_amount": 889166, "tax_amount": 922052, "tax_behavior": "exclusive", "total_amount": 719988, "currency": "Rufiyaa", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 682201, "trial_end": "2023-04-12T18:01:42.534Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": null, "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "disabled", "postal_code": "disabled", "line1": "required", "line2": "required"}, "trial_interval": "month", "trial_interval_count": 495203, "metadata": {"key": 175107, "key1": "", "key2": 598875}, "external_customer_id": "", "products": [{"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": null, "trial_interval_count": 186577, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "visibility": "draft", "recurring_interval": null, "recurring_interval_count": 870044, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-30T19:59:27.996Z", "modified_at": "2023-09-30T23:37:22.091Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-06-26T17:48:32.882Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, {"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": "day", "trial_interval_count": 294901, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "visibility": "public", "recurring_interval": null, "recurring_interval_count": 682201, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-09-01T12:37:02.777Z", "modified_at": "2025-10-07T13:38:06.522Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 615287, "legacy": true}, {"created_at": "2024-02-21T06:51:40.935Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 391538, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}], "product": {"id": "", "created_at": "2023-09-02T08:09:15.374Z", "modified_at": "2023-01-08T13:18:17.680Z", "trial_interval": "year", "trial_interval_count": 719988, "name": "", "description": null, "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 92838, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, "product_price": {"created_at": "2024-09-29T23:37:22.091Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 495203, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, "prices": {"key": [], "key1": []}, "discount": null, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}], "customer_metadata": {}} + application/json: {"id": "", "created_at": "2025-08-11T13:37:19.351Z", "modified_at": "2025-01-17T16:36:47.350Z", "payment_processor": "stripe", "status": "expired", "client_secret": "", "url": "https://quiet-longboat.name/", "expires_at": "2024-06-26T17:48:32.882Z", "success_url": "https://flawless-conversation.com/", "return_url": "https://winding-pliers.biz", "embed_origin": "", "amount": 854455, "discount_amount": 294901, "net_amount": 889166, "tax_amount": 922052, "tax_behavior": "exclusive", "total_amount": 719988, "currency": "Rufiyaa", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 682201, "trial_end": "2023-04-12T18:01:42.534Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": null, "allow_discount_codes": false, "require_billing_address": true, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": true, "customer_name": null, "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": "", "key2": ""}, "billing_address_fields": {"country": "required", "state": "disabled", "city": "disabled", "postal_code": "disabled", "line1": "required", "line2": "required"}, "trial_interval": "month", "trial_interval_count": 495203, "metadata": {"key": 175107, "key1": "", "key2": 598875}, "external_customer_id": "", "products": [{"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": null, "trial_interval_count": 186577, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "visibility": "draft", "recurring_interval": null, "recurring_interval_count": 870044, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2026-11-30T19:59:27.996Z", "modified_at": "2024-09-29T23:37:22.091Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 2702, "legacy": true}, {"created_at": "2024-04-28T13:57:59.390Z", "modified_at": "2026-07-25T11:34:32.511Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 579773, "maximum_amount": null, "preset_amount": 97335, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, {"id": "", "created_at": "2024-10-08T05:33:56.764Z", "modified_at": "2023-07-14T21:58:46.090Z", "trial_interval": "day", "trial_interval_count": 294901, "name": "", "description": "where underneath ignorant smoke pearl interesting meh amid", "visibility": "public", "recurring_interval": null, "recurring_interval_count": 682201, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-09-01T12:37:02.777Z", "modified_at": "2025-10-07T13:38:06.522Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 615287, "legacy": true}, {"created_at": "2024-02-21T06:51:40.935Z", "modified_at": null, "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 391538, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}], "product": {"id": "", "created_at": "2023-09-02T08:09:15.374Z", "modified_at": "2023-01-08T13:18:17.680Z", "trial_interval": "year", "trial_interval_count": 719988, "name": "", "description": null, "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 92838, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2024-08-22T08:39:31.775Z", "modified_at": "2024-02-01T17:03:37.242Z", "type": "discord", "description": "overconfidently overplay down unless dilate before optimistically while curly by", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}, {"id": "", "organization_id": "", "name": "", "path": "/Applications", "mime_type": "", "size": 72601, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-08-08T03:26:06.485Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-12T01:25:31.801Z", "size_readable": "", "public_url": "https://inexperienced-valuable.name/"}]}, "product_price": {"created_at": "2024-09-29T23:37:22.091Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 495203, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, "prices": {"key": [], "key1": []}, "discount": null, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-09-18T08:05:49.385Z", "modified_at": "2023-01-31T14:16:46.453Z", "id": "", "metadata": {"key": 376311, "key1": "", "key2": 112991}, "type": "text", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 115053, "required": true}], "customer_metadata": {}} "403": application/json: {"error": "AlreadyActiveSubscriptionError", "detail": ""} "404": @@ -2896,7 +2894,7 @@ examples: client_secret: "" responses: "200": - application/json: {"id": "", "created_at": "2025-06-24T05:51:11.116Z", "modified_at": "2025-07-21T02:35:25.261Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://simplistic-nudge.net", "expires_at": "2024-08-27T15:59:15.813Z", "success_url": "https://damp-ostrich.net", "return_url": "https://thorny-mathematics.net", "embed_origin": "", "amount": 129651, "discount_amount": 979690, "net_amount": 68566, "tax_amount": 755934, "tax_behavior": "exclusive", "total_amount": 778145, "currency": "CFA Franc BCEAO", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 558443, "trial_end": "2025-03-31T17:00:49.512Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "disabled", "postal_code": "optional", "line1": "disabled", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 867631, "name": "", "description": "gut yahoo mechanic advancement pace", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 844979, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, {"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 173963, "name": "", "description": "gut yahoo mechanic advancement pace", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 558443, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}], "product": {"id": "", "created_at": "2025-06-13T01:03:58.697Z", "modified_at": "2023-05-03T05:36:23.041Z", "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "blah toward against unhappy hot however", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 748822, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-21T02:35:25.261Z", "modified_at": "2025-05-19T02:18:24.778Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 162606, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2023-07-10T15:56:39.492Z", "modified_at": "2025-12-09T17:45:18.853Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-03-12T04:59:11.184Z", "modified_at": "2025-06-11T08:05:03.606Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 433632, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, "product_price": {"created_at": "2026-05-19T02:18:24.778Z", "modified_at": "2025-10-29T23:16:41.742Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, "prices": {"key": [{"created_at": "2024-11-20T03:28:45.411Z", "modified_at": "2023-07-10T15:56:39.492Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 950981, "maximum_amount": 731029, "preset_amount": 814176, "legacy": true}], "key1": []}, "discount": {"duration": "once", "type": "percentage", "basis_points": 207850, "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-11-25T05:44:46.275Z", "modified_at": "2023-04-04T00:17:57.339Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://colorful-packaging.biz", "proration_behavior": "prorate", "allow_customer_updates": false}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}]} + application/json: {"id": "", "created_at": "2025-06-24T05:51:11.116Z", "modified_at": "2025-07-21T02:35:25.261Z", "payment_processor": "stripe", "status": "confirmed", "client_secret": "", "url": "https://simplistic-nudge.net", "expires_at": "2024-08-27T15:59:15.813Z", "success_url": "https://damp-ostrich.net", "return_url": "https://thorny-mathematics.net", "embed_origin": "", "amount": 129651, "discount_amount": 979690, "net_amount": 68566, "tax_amount": 755934, "tax_behavior": "exclusive", "total_amount": 778145, "currency": "CFA Franc BCEAO", "allow_trial": false, "active_trial_interval": "year", "active_trial_interval_count": 558443, "trial_end": "2025-03-31T17:00:49.512Z", "organization_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": false, "require_billing_address": false, "is_discount_applicable": false, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {"key": "", "key1": ""}, "billing_address_fields": {"country": "disabled", "state": "disabled", "city": "disabled", "postal_code": "optional", "line1": "disabled", "line2": "disabled"}, "products": [{"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 867631, "name": "", "description": "gut yahoo mechanic advancement pace", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 844979, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, {"id": "", "created_at": "2025-11-10T10:55:29.910Z", "modified_at": "2025-02-27T16:08:01.240Z", "trial_interval": "month", "trial_interval_count": 173963, "name": "", "description": "gut yahoo mechanic advancement pace", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 558443, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}], "product": {"id": "", "created_at": "2025-06-13T01:03:58.697Z", "modified_at": "2023-05-03T05:36:23.041Z", "trial_interval": "year", "trial_interval_count": null, "name": "", "description": "blah toward against unhappy hot however", "visibility": "public", "recurring_interval": "year", "recurring_interval_count": 748822, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-21T02:35:25.261Z", "modified_at": "2025-05-19T02:18:24.778Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 162606, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2026-07-21T02:35:25.261Z", "modified_at": "2026-05-19T02:18:24.778Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 162606, "price_per_seat": 628782}], "minimum_seats": 701062, "maximum_seats": 129651}}, {"created_at": "2025-03-12T04:59:11.184Z", "modified_at": "2025-06-11T08:05:03.606Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 433632, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-03-27T23:50:15.369Z", "modified_at": "2025-11-11T17:18:47.743Z", "type": "github_repository", "description": "whenever valiantly potentially till", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/share", "mime_type": "", "size": 53813, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-04-09T23:56:37.016Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-12-28T20:57:02.041Z", "size_readable": "", "public_url": "https://timely-ice-cream.info"}]}, "product_price": {"created_at": "2026-05-19T02:18:24.778Z", "modified_at": "2025-10-29T23:16:41.742Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 262839, "maximum_amount": 778145, "preset_amount": 372785, "legacy": true}, "prices": {"key": [{"created_at": "2024-11-20T03:28:45.411Z", "modified_at": "2023-07-10T15:56:39.492Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 950981, "maximum_amount": 731029, "preset_amount": 814176, "legacy": true}], "key1": []}, "discount": {"duration": "once", "type": "percentage", "basis_points": 207850, "id": "", "name": "", "code": ""}, "organization": {"created_at": "2023-11-25T05:44:46.275Z", "modified_at": "2023-04-04T00:17:57.339Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://colorful-packaging.biz", "proration_behavior": "prorate", "allow_customer_updates": false}, "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2023-07-25T14:36:16.639Z", "modified_at": "2025-08-30T21:44:31.855Z", "id": "", "metadata": {}, "type": "checkbox", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 817087, "required": true}]} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "410": @@ -3095,7 +3093,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "year", "trial_interval_count": 379186, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://punctual-glider.org", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 962255, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "week", "trial_interval_count": 269522, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 962255, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 987277, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2025-02-11T18:32:20.472Z", "modified_at": "2025-03-25T11:30:39.715Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 825064, "maximum_amount": 470214, "preset_amount": 586539, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 656194, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://uniform-gallery.org/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 379186, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "month", "trial_interval_count": 743139, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 379186, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-05-11T01:12:44.937Z", "modified_at": "2025-06-06T13:16:03.281Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-01-30T11:54:59.602Z", "modified_at": "2025-12-23T14:11:20.089Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 267903, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 958373, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://tidy-reorganisation.org", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 438333, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "year", "trial_interval_count": 470214, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 438333, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-07-07T18:45:01.201Z", "modified_at": "2023-05-16T12:45:34.730Z", "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-04-05T16:33:44.616Z", "modified_at": "2023-12-19T09:15:06.533Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 363007, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}], "pagination": {"total_count": 226341, "max_page": 804607}} + application/json: {"items": [{"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "year", "trial_interval_count": 379186, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://punctual-glider.org", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 962255, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "week", "trial_interval_count": 269522, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 962255, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": 987277, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2025-02-11T18:32:20.472Z", "modified_at": "2025-03-25T11:30:39.715Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 825064, "maximum_amount": 470214, "preset_amount": 586539, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 656194, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://uniform-gallery.org/", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 379186, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "month", "trial_interval_count": 743139, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 379186, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-12-08T18:31:28.967Z", "modified_at": "2026-08-25T12:12:46.370Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [], "minimum_seats": 987277, "maximum_seats": 161318}}, {"created_at": "2025-01-30T11:54:59.602Z", "modified_at": "2025-12-23T14:11:20.089Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 267903, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}, {"id": "", "created_at": "2024-12-08T18:31:28.967Z", "modified_at": "2025-08-25T12:12:46.370Z", "trial_interval": "week", "trial_interval_count": 958373, "metadata": {"key": 269522}, "payment_processor": "stripe", "client_secret": "", "success_url": "https://wretched-peony.com/", "return_url": "https://tidy-reorganisation.org", "label": "", "allow_discount_codes": false, "require_billing_address": false, "discount_id": "", "seats": 438333, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": false}, "id": "", "created_at": "2025-06-23T06:29:06.861Z", "modified_at": "2024-05-30T08:30:33.019Z", "trial_interval": "year", "trial_interval_count": 470214, "name": "", "description": "partially yellow gadzooks gleefully reassuringly qua around", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 438333, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2026-03-25T11:30:39.715Z", "modified_at": "2025-03-02T10:02:24.454Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [], "minimum_seats": 987277, "maximum_seats": 161318}}, {"created_at": "2023-04-05T16:33:44.616Z", "modified_at": "2023-12-19T09:15:06.533Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 363007, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-01-11T23:38:31.265Z", "modified_at": "2023-05-01T01:24:54.811Z", "type": "downloadables", "description": "gosh french or slow bin competent tuba follower oof", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}, {"id": "", "organization_id": "", "name": "", "path": "/Library", "mime_type": "", "size": 397996, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-12-04T19:29:48.554Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2023-11-06T19:24:06.160Z", "size_readable": "", "public_url": "https://pitiful-flint.org"}]}], "discount": {"duration": "once", "duration_in_months": 354366, "type": "fixed", "basis_points": 140653, "created_at": "2024-08-19T15:49:46.374Z", "modified_at": "2024-11-08T09:13:07.988Z", "id": "", "metadata": {"key": 6965.21, "key1": 727000}, "name": "", "code": "", "starts_at": "2023-08-16T05:03:04.814Z", "ends_at": "2023-11-17T21:19:16.987Z", "max_redemptions": 65553, "redemptions_count": 331792, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://forsaken-hamburger.info/"}], "pagination": {"total_count": 226341, "max_page": 804607}} "422": application/json: {} checkout-links:create: @@ -3128,7 +3126,7 @@ examples: application/json: {} responses: "200": - application/json: {"id": "", "created_at": "2024-02-14T03:05:16.462Z", "modified_at": "2023-10-02T17:43:12.732Z", "trial_interval": "year", "trial_interval_count": 763251, "metadata": {"key": 634930, "key1": 386368, "key2": 65111}, "payment_processor": "stripe", "client_secret": "", "success_url": null, "return_url": "https://extroverted-role.info", "label": "", "allow_discount_codes": false, "require_billing_address": true, "discount_id": "", "seats": 758989, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": true}, "id": "", "created_at": "2025-10-17T09:34:18.549Z", "modified_at": "2023-05-08T01:48:20.829Z", "trial_interval": "month", "trial_interval_count": 386368, "name": "", "description": "gloat quadruple baggy wealthy definitive gummy", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 758989, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2023-10-02T17:43:12.732Z", "modified_at": "2024-03-22T06:34:43.285Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-03-13T08:40:55.883Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 250061, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 93657, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-03-07T04:45:04.362Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-05-27T13:57:42.899Z", "size_readable": "", "public_url": "https://thorny-underneath.net/"}]}], "discount": {"duration": "once", "duration_in_months": 714829, "type": "fixed", "basis_points": 328433, "created_at": "2024-10-09T01:37:50.990Z", "modified_at": "2024-09-18T07:54:19.084Z", "id": "", "metadata": {"key": true, "key1": 836096}, "name": "", "code": "", "starts_at": "2023-07-16T07:36:44.270Z", "ends_at": "2024-02-21T08:23:11.430Z", "max_redemptions": 998703, "redemptions_count": 730226, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://empty-importance.org"} + application/json: {"id": "", "created_at": "2024-02-14T03:05:16.462Z", "modified_at": "2023-10-02T17:43:12.732Z", "trial_interval": "year", "trial_interval_count": 763251, "metadata": {"key": 634930, "key1": 386368, "key2": 65111}, "payment_processor": "stripe", "client_secret": "", "success_url": null, "return_url": "https://extroverted-role.info", "label": "", "allow_discount_codes": false, "require_billing_address": true, "discount_id": "", "seats": 758989, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "products": [{"metadata": {"key": true}, "id": "", "created_at": "2025-10-17T09:34:18.549Z", "modified_at": "2023-05-08T01:48:20.829Z", "trial_interval": "month", "trial_interval_count": 386368, "name": "", "description": "gloat quadruple baggy wealthy definitive gummy", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 758989, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-10-01T17:43:12.732Z", "modified_at": "2025-03-22T06:34:43.285Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "price_amount": 99989, "legacy": true}, {"created_at": "2023-03-13T08:40:55.883Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 250061, "legacy": true}], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/sys", "mime_type": "", "size": 93657, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2024-03-07T04:45:04.362Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-05-27T13:57:42.899Z", "size_readable": "", "public_url": "https://thorny-underneath.net/"}]}], "discount": {"duration": "once", "duration_in_months": 714829, "type": "fixed", "basis_points": 328433, "created_at": "2024-10-09T01:37:50.990Z", "modified_at": "2024-09-18T07:54:19.084Z", "id": "", "metadata": {"key": true, "key1": 836096}, "name": "", "code": "", "starts_at": "2023-07-16T07:36:44.270Z", "ends_at": "2024-02-21T08:23:11.430Z", "max_redemptions": 998703, "redemptions_count": 730226, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "url": "https://empty-importance.org"} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3603,7 +3601,7 @@ examples: id: "" responses: "200": - application/json: {"id": "", "created_at": "2025-11-07T01:29:33.239Z", "modified_at": "2025-10-01T14:10:31.444Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "receipt_number": "", "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "product": {"id": "", "created_at": "2023-11-19T04:53:34.522Z", "modified_at": "2025-11-25T20:27:43.607Z", "trial_interval": "week", "trial_interval_count": 836532, "name": "", "description": "too jubilantly empty meh", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 460383, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-10-01T14:10:31.444Z", "modified_at": "2025-11-12T18:03:36.492Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 953506, "legacy": true}, {"created_at": "2025-11-13T23:04:52.208Z", "modified_at": "2023-07-18T15:45:42.662Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-07-27T19:30:57.624Z", "modified_at": "2025-02-13T12:23:44.948Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://hot-amendment.biz/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": true}}}}, "subscription": {"created_at": "2025-03-12T22:14:21.224Z", "modified_at": "2024-03-29T21:03:44.806Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 916598, "status": "canceled", "current_period_start": "2023-10-08T20:14:11.453Z", "current_period_end": "2023-01-11T05:31:47.928Z", "trial_start": "2025-01-24T05:08:03.541Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2024-11-02T16:16:11.516Z", "started_at": "2024-04-10T15:06:14.767Z", "ends_at": "2023-08-09T06:47:34.634Z", "ended_at": "2023-05-14T07:05:36.107Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_expensive", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}, {"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}], "description": "Pro Plan", "refundable_amount": 9000, "refundable_tax_amount": 720} + application/json: {"id": "", "created_at": "2025-11-07T01:29:33.239Z", "modified_at": "2025-10-01T14:10:31.444Z", "status": "partially_refunded", "paid": true, "subtotal_amount": 10000, "discount_amount": 1000, "net_amount": 9000, "tax_amount": 720, "total_amount": 9720, "applied_balance_amount": 0, "due_amount": 0, "refunded_amount": 0, "refunded_tax_amount": 0, "currency": "usd", "billing_reason": "subscription_cycle", "billing_name": "", "billing_address": {"country": "US"}, "invoice_number": "", "is_invoice_generated": true, "receipt_number": "", "customer_id": "", "product_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "product": {"id": "", "created_at": "2023-11-19T04:53:34.522Z", "modified_at": "2025-11-25T20:27:43.607Z", "trial_interval": "week", "trial_interval_count": 836532, "name": "", "description": "too jubilantly empty meh", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 460383, "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-10-01T14:10:31.444Z", "modified_at": "2025-11-12T18:03:36.492Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 953506, "legacy": true}, {"created_at": "2026-10-01T14:10:31.444Z", "modified_at": "2026-11-12T18:03:36.492Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 1252, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2025-07-23T03:55:01.103Z", "modified_at": "2025-05-14T03:22:06.100Z", "type": "meter_credit", "description": "ah coagulate not thankfully buzzing boohoo mask vulgarise far-off drat", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-07-27T19:30:57.624Z", "modified_at": "2025-02-13T12:23:44.948Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://hot-amendment.biz/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": true}}}}, "subscription": {"created_at": "2025-03-12T22:14:21.224Z", "modified_at": "2024-03-29T21:03:44.806Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "year", "recurring_interval_count": 916598, "status": "canceled", "current_period_start": "2023-10-08T20:14:11.453Z", "current_period_end": "2023-01-11T05:31:47.928Z", "trial_start": "2025-01-24T05:08:03.541Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2024-11-02T16:16:11.516Z", "started_at": "2024-04-10T15:06:14.767Z", "ends_at": "2023-08-09T06:47:34.634Z", "ended_at": "2023-05-14T07:05:36.107Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_expensive", "customer_cancellation_comment": ""}, "items": [{"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}, {"created_at": "2023-03-15T16:46:25.288Z", "modified_at": "2023-06-13T07:31:24.272Z", "id": "", "label": "", "amount": 846674, "tax_amount": 465593, "proration": true, "product_price_id": ""}], "description": "Pro Plan", "refundable_amount": 9000, "refundable_tax_amount": 720} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3627,7 +3625,7 @@ examples: slug: "" responses: "200": - application/json: {"organization": {"created_at": "2025-06-05T07:04:36.562Z", "modified_at": "2024-07-19T19:10:17.295Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://doting-lifestyle.name/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": true}}}, "products": [{"id": "", "created_at": "2025-01-07T03:20:40.621Z", "modified_at": "2024-05-04T02:49:36.301Z", "trial_interval": "month", "trial_interval_count": 846548, "name": "", "description": "behold whereas once gleefully", "visibility": "public", "recurring_interval": null, "recurring_interval_count": 614752, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-07-19T19:10:17.295Z", "modified_at": "2023-10-04T14:51:08.320Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}, {"created_at": "2023-05-14T06:28:28.766Z", "modified_at": "2024-09-04T10:55:17.085Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 668979, "maximum_amount": 629088, "preset_amount": 687565, "legacy": true}, {"created_at": "2024-07-30T22:43:06.764Z", "modified_at": "2024-06-03T04:21:14.567Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 672573, "maximum_amount": 446275, "preset_amount": 235699, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-06-10T21:02:03.324Z", "modified_at": "2023-10-23T22:10:37.289Z", "type": "meter_credit", "description": "oh dirty dirty ribbon rear yippee", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}]}]} + application/json: {"organization": {"created_at": "2025-06-05T07:04:36.562Z", "modified_at": "2024-07-19T19:10:17.295Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://doting-lifestyle.name/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": false, "update_plan": true}}}, "products": [{"id": "", "created_at": "2025-01-07T03:20:40.621Z", "modified_at": "2024-05-04T02:49:36.301Z", "trial_interval": "month", "trial_interval_count": 846548, "name": "", "description": "behold whereas once gleefully", "visibility": "public", "recurring_interval": null, "recurring_interval_count": 614752, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-07-19T19:10:17.295Z", "modified_at": "2024-10-03T14:51:08.320Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}, {"created_at": "2023-05-14T06:28:28.766Z", "modified_at": "2024-09-04T10:55:17.085Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 668979, "maximum_amount": 629088, "preset_amount": 687565, "legacy": true}, {"created_at": "2024-07-30T22:43:06.764Z", "modified_at": "2024-06-03T04:21:14.567Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 672573, "maximum_amount": 446275, "preset_amount": 235699, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-06-10T21:02:03.324Z", "modified_at": "2023-10-23T22:10:37.289Z", "type": "meter_credit", "description": "oh dirty dirty ribbon rear yippee", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/bin", "mime_type": "", "size": 187628, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2025-02-06T06:31:05.333Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-09-02T03:48:53.348Z", "size_readable": "", "public_url": "https://ragged-icebreaker.info/"}]}]} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3641,7 +3639,7 @@ examples: limit: 10 responses: "200": - application/json: {"items": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 180288, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2024-07-18T17:21:46.759Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 96114, "name": "", "description": "an when upwardly", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 1847, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 944637, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "prorate", "allow_customer_updates": true, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2024-04-28T23:59:29.324Z", "modified_at": "2023-08-04T11:59:00.224Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-05-06T00:46:00.044Z", "modified_at": "2023-10-31T12:02:35.613Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 746007, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2024-04-15T08:10:49.325Z", "modified_at": "2024-11-08T06:12:04.123Z", "id": "", "applies_at": "2026-01-25T11:12:42.694Z", "product_id": "", "seats": 196623}}, {"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 580419, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2023-11-09T06:12:04.123Z", "trial_end": "2024-04-28T23:59:29.324Z", "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 941013, "name": "", "description": "an when upwardly", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-12T09:39:36.733Z", "modified_at": "2023-09-02T17:20:24.135Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 655254, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "prorate", "allow_customer_updates": true, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2023-08-23T16:58:58.285Z", "modified_at": "2023-06-20T17:27:13.322Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 850254, "legacy": true}, {"created_at": "2024-10-04T17:29:24.326Z", "modified_at": "2024-12-24T08:26:33.925Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 886852, "maximum_amount": 660944, "preset_amount": null, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2024-04-15T08:10:49.325Z", "modified_at": "2024-11-08T06:12:04.123Z", "id": "", "applies_at": "2026-01-25T11:12:42.694Z", "product_id": "", "seats": 196623}}], "pagination": {"total_count": 843077, "max_page": 721699}} + application/json: {"items": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 180288, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2024-07-18T17:21:46.759Z", "trial_end": null, "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 96114, "name": "", "description": "an when upwardly", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 1847, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 944637, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "prorate", "allow_customer_updates": true, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2024-01-03T00:35:12.592Z", "modified_at": "2024-02-04T21:40:45.220Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 689295, "legacy": true}, {"created_at": "2025-05-06T00:46:00.044Z", "modified_at": "2023-10-31T12:02:35.613Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 746007, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2024-04-15T08:10:49.325Z", "modified_at": "2024-11-08T06:12:04.123Z", "id": "", "applies_at": "2026-01-25T11:12:42.694Z", "product_id": "", "seats": 196623}}, {"created_at": "2023-01-03T00:35:12.592Z", "modified_at": "2023-02-04T21:40:45.220Z", "id": "", "amount": 678476, "currency": "Bahraini Dinar", "recurring_interval": "year", "recurring_interval_count": 580419, "status": "incomplete_expired", "current_period_start": "2025-01-25T11:12:42.694Z", "current_period_end": "2023-11-12T13:08:09.571Z", "trial_start": "2023-11-09T06:12:04.123Z", "trial_end": "2024-04-28T23:59:29.324Z", "cancel_at_period_end": true, "canceled_at": "2025-10-28T08:23:28.446Z", "started_at": "2024-01-04T03:39:38.578Z", "ends_at": "2024-09-23T17:15:31.139Z", "ended_at": "2024-04-21T13:12:27.764Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "other", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2024-06-21T23:07:53.931Z", "modified_at": "2024-07-17T01:06:55.024Z", "trial_interval": "day", "trial_interval_count": 941013, "name": "", "description": "an when upwardly", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": null, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-01-12T09:39:36.733Z", "modified_at": "2023-09-02T17:20:24.135Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 655254, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar"}}], "benefits": [{"id": "", "created_at": "2024-12-28T06:49:52.968Z", "modified_at": "2025-12-13T05:34:39.641Z", "type": "discord", "description": "square back cuddly stack coop descent ick oil concrete give", "selectable": false, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2025-09-28T20:26:17.846Z", "modified_at": "2025-08-10T14:48:44.687Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://front-equal.com", "proration_behavior": "prorate", "allow_customer_updates": true, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2023-08-23T16:58:58.285Z", "modified_at": "2023-06-20T17:27:13.322Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 850254, "legacy": true}, {"created_at": "2024-10-04T17:29:24.326Z", "modified_at": "2024-12-24T08:26:33.925Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 886852, "maximum_amount": 660944, "preset_amount": null, "legacy": true}], "meters": [{"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}, {"created_at": "2025-05-02T07:49:21.214Z", "modified_at": "2023-02-10T02:24:08.500Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2025-02-01T06:30:45.854Z", "modified_at": "2025-08-13T09:16:38.863Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2024-04-15T08:10:49.325Z", "modified_at": "2024-11-08T06:12:04.123Z", "id": "", "applies_at": "2026-01-25T11:12:42.694Z", "product_id": "", "seats": 196623}}], "pagination": {"total_count": 843077, "max_page": 721699}} "422": application/json: {} customer_portal:subscriptions:get: @@ -3651,7 +3649,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-07-12T17:28:38.797Z", "modified_at": "2023-06-27T14:55:14.822Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 175847, "status": "past_due", "current_period_start": "2024-12-11T03:15:34.736Z", "current_period_end": "2025-04-27T11:18:42.852Z", "trial_start": "2025-06-29T15:49:22.120Z", "trial_end": "2024-11-13T19:04:25.284Z", "cancel_at_period_end": true, "canceled_at": "2024-01-29T06:39:34.276Z", "started_at": "2024-12-08T10:29:34.380Z", "ends_at": null, "ended_at": "2025-05-26T12:14:55.999Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-01-14T05:59:18.343Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 647934, "name": "", "description": "ew far-off whoever minus perfectly scared sunbathe uh-huh", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 162063, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-01-09T04:27:19.997Z", "modified_at": "2025-06-19T15:44:52.777Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://alienated-ribbon.org", "proration_behavior": "invoice", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": false, "update_plan": true}}}}, "prices": [{"created_at": "2023-06-27T14:55:14.822Z", "modified_at": "2024-06-06T10:00:39.244Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-04-27T11:18:42.852Z", "modified_at": "2025-08-05T11:04:05.877Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 125071, "legacy": true}, {"created_at": "2024-08-10T11:08:56.200Z", "modified_at": "2023-09-21T23:53:38.929Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 684767, "maximum_amount": 130976, "preset_amount": null, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-12-11T03:15:34.736Z", "modified_at": "2026-04-27T11:18:42.852Z", "id": "", "applies_at": "2024-09-10T20:47:05.678Z", "product_id": "", "seats": 540267}} + application/json: {"created_at": "2023-07-12T17:28:38.797Z", "modified_at": "2023-06-27T14:55:14.822Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 175847, "status": "past_due", "current_period_start": "2024-12-11T03:15:34.736Z", "current_period_end": "2025-04-27T11:18:42.852Z", "trial_start": "2025-06-29T15:49:22.120Z", "trial_end": "2024-11-13T19:04:25.284Z", "cancel_at_period_end": true, "canceled_at": "2024-01-29T06:39:34.276Z", "started_at": "2024-12-08T10:29:34.380Z", "ends_at": null, "ended_at": "2025-05-26T12:14:55.999Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-01-14T05:59:18.343Z", "modified_at": null, "trial_interval": "day", "trial_interval_count": 647934, "name": "", "description": "ew far-off whoever minus perfectly scared sunbathe uh-huh", "visibility": "draft", "recurring_interval": "year", "recurring_interval_count": 162063, "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "is_deleted": true, "organization_id": ""}, {"id": "", "created_at": "2023-11-30T13:12:22.913Z", "modified_at": "2023-04-11T08:58:03.008Z", "type": "custom", "description": "as below frozen oily beyond pomelo exactly ugh violin whoa", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": ""}], "medias": [], "organization": {"created_at": "2023-01-09T04:27:19.997Z", "modified_at": "2025-06-19T15:44:52.777Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://alienated-ribbon.org", "proration_behavior": "invoice", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": false, "update_plan": true}}}}, "prices": [{"created_at": "2024-06-26T14:55:14.822Z", "modified_at": "2025-06-06T10:00:39.244Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 231629, "legacy": true}, {"created_at": "2025-04-27T11:18:42.852Z", "modified_at": "2025-08-05T11:04:05.877Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 125071, "legacy": true}, {"created_at": "2024-08-10T11:08:56.200Z", "modified_at": "2023-09-21T23:53:38.929Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 684767, "maximum_amount": 130976, "preset_amount": null, "legacy": true}], "meters": [], "pending_update": {"created_at": "2025-12-11T03:15:34.736Z", "modified_at": "2026-04-27T11:18:42.852Z", "id": "", "applies_at": "2024-09-10T20:47:05.678Z", "product_id": "", "seats": 540267}} "404": application/json: {"error": "ResourceNotFound", "detail": ""} "422": @@ -3665,7 +3663,7 @@ examples: application/json: {} responses: "200": - application/json: {"created_at": "2025-02-02T12:28:03.145Z", "modified_at": "2025-08-15T14:46:08.118Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 762480, "status": "active", "current_period_start": "2025-04-10T15:02:11.907Z", "current_period_end": "2026-04-15T16:15:33.406Z", "trial_start": "2025-02-02T12:28:03.145Z", "trial_end": "2025-08-15T14:46:08.118Z", "cancel_at_period_end": false, "canceled_at": "2024-03-16T11:27:11.204Z", "started_at": "2025-10-09T15:39:35.938Z", "ends_at": "2023-05-18T04:03:20.458Z", "ended_at": "2023-06-12T13:50:06.969Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2023-01-10T05:56:40.811Z", "modified_at": "2023-11-19T12:28:15.778Z", "trial_interval": "day", "trial_interval_count": 444374, "name": "", "description": "lest after until mantua colon dual tremendously well fairly", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 447532, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home", "mime_type": "", "size": 323960, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-01-15T07:43:32.319Z", "size_readable": "", "public_url": "https://pitiful-cauliflower.com"}], "organization": {"created_at": "2024-01-05T08:15:54.903Z", "modified_at": "2023-05-06T23:49:18.498Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://taut-necklace.net/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": false, "update_plan": true}}}}, "prices": [{"created_at": "2024-05-05T11:52:58.589Z", "modified_at": "2023-07-27T15:38:08.165Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2025-02-06T13:35:55.076Z", "modified_at": "2025-11-12T16:20:13.096Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}], "meters": [], "pending_update": {"created_at": "2024-07-03T22:27:22.248Z", "modified_at": "2025-05-02T00:48:47.943Z", "id": "", "applies_at": "2026-04-10T15:02:11.907Z", "product_id": null, "seats": 700335}} + application/json: {"created_at": "2025-02-02T12:28:03.145Z", "modified_at": "2025-08-15T14:46:08.118Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 762480, "status": "active", "current_period_start": "2025-04-10T15:02:11.907Z", "current_period_end": "2026-04-15T16:15:33.406Z", "trial_start": "2025-02-02T12:28:03.145Z", "trial_end": "2025-08-15T14:46:08.118Z", "cancel_at_period_end": false, "canceled_at": "2024-03-16T11:27:11.204Z", "started_at": "2025-10-09T15:39:35.938Z", "ends_at": "2023-05-18T04:03:20.458Z", "ended_at": "2023-06-12T13:50:06.969Z", "customer_id": "", "product_id": "", "discount_id": null, "checkout_id": "", "customer_cancellation_reason": "customer_service", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2023-01-10T05:56:40.811Z", "modified_at": "2023-11-19T12:28:15.778Z", "trial_interval": "day", "trial_interval_count": 444374, "name": "", "description": "lest after until mantua colon dual tremendously well fairly", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 447532, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home", "mime_type": "", "size": 323960, "storage_version": null, "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-01-15T07:43:32.319Z", "size_readable": "", "public_url": "https://pitiful-cauliflower.com"}], "organization": {"created_at": "2024-01-05T08:15:54.903Z", "modified_at": "2023-05-06T23:49:18.498Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://taut-necklace.net/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": true}, "subscription": {"update_seats": false, "update_plan": true}}}}, "prices": [{"created_at": "2025-05-05T11:52:58.589Z", "modified_at": "2024-07-26T15:38:08.165Z", "id": "", "source": "catalog", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "custom"}}, {"created_at": "2026-11-12T16:20:13.096Z", "modified_at": "2026-10-01T04:09:15.514Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 155024, "legacy": true}], "meters": [], "pending_update": {"created_at": "2024-07-03T22:27:22.248Z", "modified_at": "2025-05-02T00:48:47.943Z", "id": "", "applies_at": "2026-04-10T15:02:11.907Z", "product_id": null, "seats": 700335}} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -3681,7 +3679,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2023-03-14T00:34:28.136Z", "modified_at": "2025-03-22T12:28:05.757Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 65715, "status": "canceled", "current_period_start": "2024-04-07T12:57:17.210Z", "current_period_end": "2025-10-10T15:35:40.020Z", "trial_start": null, "trial_end": "2025-03-22T12:28:05.757Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-04-12T10:07:43.423Z", "ends_at": "2025-04-12T20:30:15.370Z", "ended_at": "2023-12-08T22:19:01.857Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-10-08T08:23:23.829Z", "modified_at": "2025-05-19T19:23:05.590Z", "trial_interval": "year", "trial_interval_count": 766852, "name": "", "description": "once yuck how inasmuch pish but more webbed", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 740438, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-03-22T12:28:05.757Z", "modified_at": "2025-04-16T15:43:34.874Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 948870, "maximum_amount": 383437, "preset_amount": null, "legacy": true}, {"created_at": "2025-09-28T07:43:04.431Z", "modified_at": "2023-06-14T21:44:38.981Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 920948, "maximum_amount": 928517, "preset_amount": 351570, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-07T10:08:15.900Z", "modified_at": "2024-08-29T05:11:58.842Z", "type": "license_keys", "description": "when regarding woot mockingly um greatly sturdy incidentally accept save", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}], "organization": {"created_at": "2023-03-23T07:37:57.258Z", "modified_at": "2024-09-08T02:10:05.056Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://urban-account.info/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2025-11-16T11:22:00.864Z", "modified_at": "2025-05-23T05:24:01.371Z", "id": "", "source": "catalog", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "legacy": true}, {"created_at": "2024-08-30T20:56:44.463Z", "modified_at": null, "id": "", "source": "ad_hoc", "amount_type": "free", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "legacy": true}], "meters": [{"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}, {"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2026-11-05T23:03:31.551Z", "modified_at": "2025-02-24T05:56:22.572Z", "id": "", "applies_at": "2024-02-16T10:11:42.223Z", "product_id": "", "seats": null}} + application/json: {"created_at": "2023-03-14T00:34:28.136Z", "modified_at": "2025-03-22T12:28:05.757Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 65715, "status": "canceled", "current_period_start": "2024-04-07T12:57:17.210Z", "current_period_end": "2025-10-10T15:35:40.020Z", "trial_start": null, "trial_end": "2025-03-22T12:28:05.757Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-04-12T10:07:43.423Z", "ends_at": "2025-04-12T20:30:15.370Z", "ended_at": "2023-12-08T22:19:01.857Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "product": {"id": "", "created_at": "2025-10-08T08:23:23.829Z", "modified_at": "2025-05-19T19:23:05.590Z", "trial_interval": "year", "trial_interval_count": 766852, "name": "", "description": "once yuck how inasmuch pish but more webbed", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 740438, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-03-22T12:28:05.757Z", "modified_at": "2025-04-16T15:43:34.874Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 948870, "maximum_amount": 383437, "preset_amount": null, "legacy": true}, {"created_at": "2025-09-28T07:43:04.431Z", "modified_at": "2023-06-14T21:44:38.981Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 920948, "maximum_amount": 928517, "preset_amount": 351570, "legacy": true}], "benefits": [{"id": "", "created_at": "2023-04-07T10:08:15.900Z", "modified_at": "2024-08-29T05:11:58.842Z", "type": "license_keys", "description": "when regarding woot mockingly um greatly sturdy incidentally accept save", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}, {"id": "", "organization_id": "", "name": "", "path": "/usr", "mime_type": "", "size": 188787, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": null, "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-05-25T08:19:44.256Z", "size_readable": "", "public_url": "https://direct-recovery.info"}], "organization": {"created_at": "2023-03-23T07:37:57.258Z", "modified_at": "2024-09-08T02:10:05.056Z", "id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "name": "", "slug": "", "avatar_url": "https://urban-account.info/", "proration_behavior": "prorate", "allow_customer_updates": false, "customer_portal_settings": {"usage": {"show": false}, "subscription": {"update_seats": true, "update_plan": false}}}}, "prices": [{"created_at": "2026-03-22T12:28:05.757Z", "modified_at": "2026-04-16T15:43:34.874Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 383437, "maximum_amount": null, "preset_amount": 92538, "legacy": true}, {"created_at": "2024-06-13T21:44:38.981Z", "modified_at": "2025-04-03T00:03:50.784Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 928517, "price_per_seat": 793620}], "minimum_seats": 351570, "maximum_seats": 613373}}], "meters": [{"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}, {"created_at": "2025-08-20T07:04:02.136Z", "modified_at": "2025-09-17T00:16:23.454Z", "id": "", "consumed_units": 25, "credited_units": 100, "amount": 0, "meter_id": "d498a884-e2cd-4d3e-8002-f536468a8b22", "meter": {"created_at": "2023-04-12T05:19:54.807Z", "modified_at": "2024-07-24T15:24:05.776Z", "id": "", "name": ""}}], "pending_update": {"created_at": "2026-11-05T23:03:31.551Z", "modified_at": "2025-02-24T05:56:22.572Z", "id": "", "applies_at": "2024-02-16T10:11:42.223Z", "product_id": "", "seats": null}} "403": application/json: {"error": "AlreadyCanceledSubscription", "detail": ""} "404": @@ -4808,7 +4806,7 @@ examples: application/json: {} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Python SDK Changes Detected:\n* `polar._endpointcustomer_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_deleted_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_state_changed_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_created_post()`: \n * `request.data.customer.billing_name` **Added** **Breaking** :warning:\n* `polar._endpointorder_updated_post()`: \n * `request.data.customer.billing_name` **Added** **Breaking** :warning:\n* `polar._endpointorder_paid_post()`: \n * `request.data.customer.billing_name` **Added** **Breaking** :warning:\n* `polar._endpointorder_refunded_post()`: \n * `request.data.customer.billing_name` **Added** **Breaking** :warning:\n* `polar._endpointsubscription_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_active_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_canceled_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_uncanceled_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_revoked_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_past_due_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_created_post()`: \n * `request.data.benefits.[]` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_updated_post()`: \n * `request.data.benefits.[]` **Changed** **Breaking** :warning:\n* `polar._endpointorganization_updated_post()`: \n * `request.data.feature_settings.account_review_v2_enabled` **Removed** **Breaking** :warning:\n* `polar._endpointbenefit_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointbenefit_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointbenefit_grant_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointbenefit_grant_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointbenefit_grant_cycled_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointbenefit_grant_revoked_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar.organizations.list_organizations()`: `response.items.[].feature_settings.account_review_v2_enabled` **Removed** **Breaking** :warning:\n* `polar.organizations.create()`: \n * `request.feature_settings` **Changed** **Breaking** :warning:\n * `response.feature_settings.account_review_v2_enabled` **Removed** **Breaking** :warning:\n* `polar.organizations.get()`: `response.feature_settings.account_review_v2_enabled` **Removed** **Breaking** :warning:\n* `polar.organizations.update()`: \n * `request.organization_update.feature_settings` **Changed** **Breaking** :warning:\n * `response.feature_settings.account_review_v2_enabled` **Removed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.update()`: \n * `request.customer_benefit_grant_update.[slack_shared_channel]` **Added**\n * `response` **Changed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.customer_portal.benefit-grants.list()`: \n * `request.type_filter` **Changed**\n * `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.orders.list()`: `response.items.[].customer.billing_name` **Added**\n* `polar.customers.create()`: `response` **Changed**\n* `polar.benefits.list()`: \n * `request.type_filter` **Changed**\n * `response.items.[]` **Changed**\n* `polar.benefits.create()`: \n * `request` **Changed**\n * `response` **Changed**\n* `polar.benefits.get()`: `response` **Changed**\n* `polar.benefits.update()`: \n * `request_body` **Changed**\n * `response` **Changed**\n* `polar.benefits.grants()`: `response.items.[]` **Changed**\n* `polar.benefit-grants.list()`: `response.items.[]` **Changed**\n* `polar.products.list()`: `response.items.[].benefits.[]` **Changed**\n* `polar.products.create()`: `response.benefits.[]` **Changed**\n* `polar.products.get()`: `response.benefits.[]` **Changed**\n* `polar.products.update()`: `response.benefits.[]` **Changed**\n* `polar.products.update_benefits()`: `response.benefits.[]` **Changed**\n* `polar.subscriptions.revoke()`: `response` **Changed**\n* `polar.orders.create()`: `response.customer.billing_name` **Added**\n* `polar.orders.get()`: `response.customer.billing_name` **Added**\n* `polar.orders.update()`: `response.customer.billing_name` **Added**\n* `polar.orders.finalize()`: `response.customer.billing_name` **Added**\n* `polar.license_keys.list()`: `response.items.[].customer.billing_name` **Added**\n* `polar.license_keys.get()`: `response.customer.billing_name` **Added**\n* `polar.license_keys.update()`: `response.customer.billing_name` **Added**\n* `polar.license_keys.get_activation()`: `response.license_key.customer.billing_name` **Added**\n* `polar.license_keys.validate()`: `response.customer.billing_name` **Added**\n* `polar.license_keys.activate()`: `response.license_key.customer.billing_name` **Added**\n* `polar.checkout-links.list()`: `response.items.[].seats` **Added**\n* `polar.checkout-links.create()`: \n * `request` **Changed**\n * `response.seats` **Added**\n* `polar.checkout-links.get()`: `response.seats` **Added**\n* `polar.checkout-links.update()`: \n * `request.checkout_link_update.seats` **Added**\n * `response.seats` **Added**\n* `polar.customers.list()`: `response.items.[]` **Changed**\n* `polar.subscriptions.update()`: `response` **Changed**\n* `polar.customers.get()`: `response` **Changed**\n* `polar.customers.update()`: `response` **Changed**\n* `polar.customers.get_external()`: `response` **Changed**\n* `polar.customers.update_external()`: `response` **Changed**\n* `polar.customers.get_state()`: `response` **Changed**\n* `polar.customers.get_state_external()`: `response` **Changed**\n* `polar.subscriptions.get()`: `response` **Changed**\n* `polar.subscriptions.create()`: `response` **Changed**\n* `polar.subscriptions.list()`: \n * `request.status` **Added**\n * `response.items.[]` **Changed**\n* `polar.customer_portal.customers.get()`: `response.locale` **Added**\n* `polar.customer_portal.customers.update()`: `response.locale` **Added**\n* `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.items.[].product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.license_keys.list()`: `response.items.[].customer.billing_name` **Added**\n* `polar.customer_portal.license_keys.get()`: `response.customer.billing_name` **Added**\n* `polar.customer_portal.license_keys.validate()`: `response.customer.billing_name` **Added**\n* `polar.customer_portal.license_keys.activate()`: `response.license_key.customer.billing_name` **Added**\n* `polar.customer_portal.orders.list()`: `response.items.[].product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.orders.get()`: `response.product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.orders.update()`: `response.product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.organizations.get()`: `response.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.subscriptions.list()`: `response.items.[].product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.subscriptions.get()`: `response.product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.subscriptions.cancel()`: `response.product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer_portal.subscriptions.update()`: `response.product.organization.organization_features.checkout_localization_enabled` **Added**\n* `polar.customer-sessions.create()`: `response.customer` **Changed**\n* `polar.events.list()`: `response.[list_resource_event_].items.[].[system_event]` **Changed**\n* `polar.events.get()`: `response` **Changed**\n* `polar.customer_meters.list()`: `response.items.[].customer` **Changed**\n* `polar.customer_meters.get()`: `response.customer` **Changed**\n" +releaseNotes: "## Python SDK Changes Detected:\n* `polar.benefits.update()`: `request_body` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_updated_post()`: \n * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_expired_post()`: \n * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_created_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_updated_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_active_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_canceled_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_uncanceled_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_revoked_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_past_due_post()`: \n * `request.data.product.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_created_post()`: \n * `request.data.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_updated_post()`: \n * `request.data.prices.[]` **Changed** **Breaking** :warning:\n* `polar._endpointorganization_updated_post()`: \n * `request.data.feature_settings` **Changed** **Breaking** :warning:\n* `polar.organizations.list_organizations()`: `response.items.[].feature_settings` **Changed** **Breaking** :warning:\n* `polar.organizations.create()`: `response.feature_settings` **Changed** **Breaking** :warning:\n* `polar.organizations.get()`: `response.feature_settings` **Changed** **Breaking** :warning:\n* `polar.organizations.update()`: `response.feature_settings` **Changed** **Breaking** :warning:\n* `polar.checkouts.create()`: \n * `request.prices.{}.[].[free]` **Removed** **Breaking** :warning:\n * `response.products.[].prices.[]` **Changed**\n* `polar.products.update()`: \n * `request.product_update.prices.[].[2].[free]` **Removed** **Breaking** :warning:\n * `response.prices.[]` **Changed**\n* `polar._endpointcheckout_created_post()`: \n * `request.data.products.[].prices.[]` **Changed** **Breaking** :warning:\n* `polar.products.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response.prices.[]` **Changed**\n* `polar.products.get()`: `response.prices.[]` **Changed**\n* `polar.files.create()`: \n * `request.[support_case_attachment]` **Added**\n* `polar.products.list()`: `response.items.[].prices.[]` **Changed**\n* `polar.subscriptions.revoke()`: `response.product.prices.[]` **Changed**\n* `polar.subscriptions.get()`: `response.product.prices.[]` **Changed**\n* `polar.subscriptions.create()`: `response.product.prices.[]` **Changed**\n* `polar.products.update_benefits()`: `response.prices.[]` **Changed**\n* `polar.checkouts.list()`: `response.items.[].products.[].prices.[]` **Changed**\n* `polar.subscriptions.list()`: `response.items.[].product.prices.[]` **Changed**\n* `polar.checkouts.get()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkouts.update()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkouts.client_get()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkouts.client_update()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkouts.client_confirm()`: `response.products.[].prices.[]` **Changed**\n* `polar.files.list()`: `response.items.[].[support_case_attachment]` **Added**\n* `polar.subscriptions.update()`: `response.product.prices.[]` **Changed**\n* `polar.files.uploaded()`: `response.[support_case_attachment]` **Added**\n* `polar.files.update()`: `response.[support_case_attachment]` **Added**\n* `polar.checkout-links.list()`: `response.items.[].products.[].prices.[]` **Changed**\n* `polar.checkout-links.create()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkout-links.get()`: `response.products.[].prices.[]` **Changed**\n* `polar.checkout-links.update()`: `response.products.[].prices.[]` **Changed**\n* `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.items.[].product.prices.[]` **Changed**\n* `polar.customer_portal.orders.list()`: `response.items.[].product.prices.[]` **Changed**\n* `polar.customer_portal.orders.get()`: `response.product.prices.[]` **Changed**\n* `polar.customer_portal.orders.update()`: `response.product.prices.[]` **Changed**\n* `polar.customer_portal.organizations.get()`: `response.products.[].prices.[]` **Changed**\n* `polar.customer_portal.subscriptions.list()`: `response.items.[].product.prices.[]` **Changed**\n* `polar.customer_portal.subscriptions.get()`: `response.product.prices.[]` **Changed**\n* `polar.customer_portal.subscriptions.cancel()`: `response.product.prices.[]` **Changed**\n* `polar.customer_portal.subscriptions.update()`: `response.product.prices.[]` **Changed**\n" trackedFiles: .devcontainer/README.md: last_write_checksum: sha1:e2a191a1fa8ceb27387eb32eabf36f7ad16a532c @@ -4929,7 +4927,7 @@ trackedFiles: docs/models/benefitdiscordsubscriberproperties.md: last_write_checksum: sha1:779747f7bdb171b7abae83f6df8704bbcad3e6c1 docs/models/benefitdiscordupdate.md: - last_write_checksum: sha1:ae93159960c484e2d8b8464ee98d983fd30410a9 + last_write_checksum: sha1:c9691208611e0131fd2c9b263ee1b114ee09fe0a docs/models/benefitdiscordupdatemetadata.md: last_write_checksum: sha1:00f020082569456352ad9138a0018d18d718b0a6 docs/models/benefitdownloadables.md: @@ -4947,7 +4945,7 @@ trackedFiles: docs/models/benefitdownloadablessubscriberproperties.md: last_write_checksum: sha1:c64b45999cc8697d45205eba713c316921c8e81a docs/models/benefitdownloadablesupdate.md: - last_write_checksum: sha1:36ebbf249c0347405b2877a750a143eb0b6d2839 + last_write_checksum: sha1:d5c4ad52f4856e18c88fbb08112f9715367a0548 docs/models/benefitdownloadablesupdatemetadata.md: last_write_checksum: sha1:299e7c53534a66e0760f80684dec0f7c4636f517 docs/models/benefitfeatureflag.md: @@ -4985,7 +4983,7 @@ trackedFiles: docs/models/benefitgithubrepositorysubscriberproperties.md: last_write_checksum: sha1:cd9d3594fac0d8a755207c59a6f3c88fac0f0abb docs/models/benefitgithubrepositoryupdate.md: - last_write_checksum: sha1:7fc93f87c0ee4c9ae8fe957b1d16fee902b25235 + last_write_checksum: sha1:4ec2db68faaacda875676b954539e124d09c5088 docs/models/benefitgithubrepositoryupdatemetadata.md: last_write_checksum: sha1:98e37f59f1c52381260fe98a38043280fbcf2396 docs/models/benefitgrant.md: @@ -5113,7 +5111,7 @@ trackedFiles: docs/models/benefitslacksharedchannelsubscriberproperties.md: last_write_checksum: sha1:7b6cb51c2ad353214c77921328b253ae2a3908ad docs/models/benefitslacksharedchannelupdate.md: - last_write_checksum: sha1:700df1d709d783c0b4a3bdfe4cbd8c60cbffa264 + last_write_checksum: sha1:1fbd1014a51d67a66d038f6e6a4cfef16afde0f7 docs/models/benefitslacksharedchannelupdatemetadata.md: last_write_checksum: sha1:9d91da80eea2f4bd0a82d3a68102a0e0940e9290 docs/models/benefitslistrequest.md: @@ -5183,7 +5181,7 @@ trackedFiles: docs/models/checkoutcreatemetadata.md: last_write_checksum: sha1:f76f88443f2a3025b5b16cde086837884e6a05b5 docs/models/checkoutcreateprices.md: - last_write_checksum: sha1:69bac6932800e9c0382a2f24e330031d176bdc73 + last_write_checksum: sha1:38b0a1e014212a41897c9dbc1ad9a1d638d2a5b5 docs/models/checkoutcustomfielddata.md: last_write_checksum: sha1:ee292c78881aac65ec8df895b86aace4098db9b4 docs/models/checkoutdiscount.md: @@ -5703,7 +5701,7 @@ trackedFiles: docs/models/customerportalwalletslistsecurity.md: last_write_checksum: sha1:e1a22d1ae4f8555d9821b963ed9a39287968ce86 docs/models/customerproduct.md: - last_write_checksum: sha1:eb3a238aa5e52c49d519d3b401a480cdc4a32f5c + last_write_checksum: sha1:7e612d7057f977f5bb288eb6b14a2a94601affe2 docs/models/customerproductprices.md: last_write_checksum: sha1:a6c8e9f2e2cad0d954e92f791d67bf0722e811c9 docs/models/customersdeleteexternalrequest.md: @@ -6081,7 +6079,7 @@ trackedFiles: docs/models/externalcustomeridfilter.md: last_write_checksum: sha1:bc8eb1b1eb121de28f582e755df1ddd67a66c827 docs/models/filecreate.md: - last_write_checksum: sha1:93ce5d4e0fd698dfab22cde302d7e8e52cf75e4a + last_write_checksum: sha1:eee6f9f98d987b84318557eb377fe69e58e33428 docs/models/filedownload.md: last_write_checksum: sha1:002adebc41dc9b6fdc802b75df0882b11bcb94df docs/models/fileidfilter.md: @@ -6089,11 +6087,11 @@ trackedFiles: docs/models/filepatch.md: last_write_checksum: sha1:4c440f280165ffd459c9c9b16dfdc88ee6d5997a docs/models/fileread.md: - last_write_checksum: sha1:bb04936036059700e170c4936c9a716592635096 + last_write_checksum: sha1:45ada7eb76ea6258f57eb8a97de8f2c2758c2650 docs/models/filesdeleterequest.md: last_write_checksum: sha1:41ea8effdd7ad4d5e3569128578665cdc346c5de docs/models/fileservicetypes.md: - last_write_checksum: sha1:8531d2e33b26097cdfa400428e86e3943c6099aa + last_write_checksum: sha1:f142e639b218fc418e066f76cc57c1b9e81dda51 docs/models/fileslistqueryparamorganizationidfilter.md: last_write_checksum: sha1:e2e75e45ac9bb84348d5d6c4749b46c046acc8da docs/models/fileslistrequest.md: @@ -6103,11 +6101,11 @@ trackedFiles: docs/models/filesupdaterequest.md: last_write_checksum: sha1:1d683d8cd34341f6fc629c006c6692dc3c6de513 docs/models/filesupdateresponsefilesupdate.md: - last_write_checksum: sha1:59a8131ff4a05dce66fdd244e28c0d927d1d2ff4 + last_write_checksum: sha1:3dbe19a8be8ec1da50d298fedcc15c99130ab099 docs/models/filesuploadedrequest.md: last_write_checksum: sha1:35924bed06f46dfec7eb9aa6783fbf60c5958652 docs/models/filesuploadedresponsefilesuploaded.md: - last_write_checksum: sha1:cc1ff68968b60643f762aa4476ea8ecf7b75e682 + last_write_checksum: sha1:900e2247b0c4d7201e0e085e1231705e0e2cccc0 docs/models/fileupload.md: last_write_checksum: sha1:d81e8d110a414a1d7ca0846eb8a75739dba527f6 docs/models/fileuploadcompleted.md: @@ -6143,13 +6141,11 @@ trackedFiles: docs/models/introspecttokenresponse.md: last_write_checksum: sha1:be620489347a2dbe1d4dd2eea27e74b7bf1d0abc docs/models/legacyrecurringproductprice.md: - last_write_checksum: sha1:9d82f03d36e6bfbc8d648c7f92cadd6204230bc5 + last_write_checksum: sha1:6511ecd85f748c8f8123fe9e3adee9d80b7cadf9 docs/models/legacyrecurringproductpricecustom.md: last_write_checksum: sha1:0424cad8b3f6a79b4a305b52c51ba58a94f6eb42 docs/models/legacyrecurringproductpricefixed.md: last_write_checksum: sha1:52b6786864ccf57bc5c54b2c0970504474cb342c - docs/models/legacyrecurringproductpricefree.md: - last_write_checksum: sha1:886a91d69641d65ee66b0062d4aae7e23f07987b docs/models/legalentity.md: last_write_checksum: sha1:2c1299f2f0a37e6a6e4292c6710b57f1e51afd36 docs/models/licensekeyactivate.md: @@ -6713,7 +6709,7 @@ trackedFiles: docs/models/organizationdetails.md: last_write_checksum: sha1:59784eef0c4fcb65f8c7006ffd0c3df8a7cfba0b docs/models/organizationfeaturesettings.md: - last_write_checksum: sha1:d4a5af9805b57239eeed2a1dde3031024217fbcb + last_write_checksum: sha1:4908582b301bb5da8b8a2a85ff5ef6d197bc4b14 docs/models/organizationfeaturesettingsupdate.md: last_write_checksum: sha1:1d2c54c3d246f71ac19f858be4a6895a21a6eaf0 docs/models/organizationid.md: @@ -6819,13 +6815,13 @@ trackedFiles: docs/models/productcreateonetimemetadata.md: last_write_checksum: sha1:1838ddbb6a1a91e74e5e8cac5e53564adb0a669f docs/models/productcreateonetimeprices.md: - last_write_checksum: sha1:eb1d1caa97e3b2ce1a58cb4976559d0fb977a71d + last_write_checksum: sha1:84a640e0069a758e8870d7768e35c100b2a8d1f4 docs/models/productcreaterecurring.md: last_write_checksum: sha1:87938ce94d394a1e0f3d557e1a8b2af9b6eb736a docs/models/productcreaterecurringmetadata.md: last_write_checksum: sha1:fb8e7aa229b33299336dd873627eeaeda16de634 docs/models/productcreaterecurringprices.md: - last_write_checksum: sha1:fd1314613106354882d107975e8b5f6cf63e4671 + last_write_checksum: sha1:6b133385a665e7e44c66b48cb1138f8c81cee28a docs/models/productidfilter.md: last_write_checksum: sha1:635235777683481a542a079f0f9313357900d4ed docs/models/productmediafilecreate.md: @@ -6833,7 +6829,7 @@ trackedFiles: docs/models/productmediafileread.md: last_write_checksum: sha1:fa0b32c4b5490b44719602f25306e99537a528e6 docs/models/productprice.md: - last_write_checksum: sha1:54252dc04b8dce358f89a2a3bf8ec394d4d5499d + last_write_checksum: sha1:2febc2729b4d5a5f4cc4459edbc7bc31db25dac9 docs/models/productpricecustom.md: last_write_checksum: sha1:4f1e0f5d1209426a562d94a9eb8c70ec99e16312 docs/models/productpricecustomcreate.md: @@ -6842,10 +6838,6 @@ trackedFiles: last_write_checksum: sha1:0456129d409689286ceea9254e1f45498566e4da docs/models/productpricefixedcreate.md: last_write_checksum: sha1:e67b49b4f924532a1a0b4fd08804227faee8d03e - docs/models/productpricefree.md: - last_write_checksum: sha1:5877a4eecbae4dc7951c1733461c1dab37fef3bb - docs/models/productpricefreecreate.md: - last_write_checksum: sha1:9686ca2e4eda46a830f4160d2393b82bd761497f docs/models/productpricemeter.md: last_write_checksum: sha1:d175be31df2795493f7c42b92b425fd8543c591a docs/models/productpricemeteredunit.md: @@ -7126,6 +7118,10 @@ trackedFiles: last_write_checksum: sha1:fff1ae2bf27eb6c1c8372ad52ac847a2f6aaf2b5 docs/models/succeededcheckouts.md: last_write_checksum: sha1:fcefd2cc388ea0e4c60515a6bb668859b68c05d9 + docs/models/supportcaseattachmentfilecreate.md: + last_write_checksum: sha1:3fe92536a450669b5ab0a22ee85adc1f7d82496d + docs/models/supportcaseattachmentfileread.md: + last_write_checksum: sha1:3ce2eb3d621a8be9c6b252ae736fb1177e1902f0 docs/models/switchingfrom.md: last_write_checksum: sha1:242623693cd6649aa665db76babcf7ff2531fd68 docs/models/systemevent.md: @@ -7137,7 +7133,7 @@ trackedFiles: docs/models/taxid.md: last_write_checksum: sha1:64208aafb3624e2eaf1d29edd54f62caf9bc2951 docs/models/taxidformat.md: - last_write_checksum: sha1:59a32f37544c05a44cecbf5900f2c65b67692da2 + last_write_checksum: sha1:12656d8149101e381a65949a49bca4a92e0a1d49 docs/models/timeframe.md: last_write_checksum: sha1:4d8d86126ccf7afd55068436058e3e63906f5e55 docs/models/timeinterval.md: @@ -7159,7 +7155,7 @@ trackedFiles: docs/models/trialmonthlyrecurringrevenue.md: last_write_checksum: sha1:e7013864fdd9a2a62f3a021aec82efc41ae9a0ac docs/models/two.md: - last_write_checksum: sha1:5dc701d452525b63f1f75b7cfbb9a13f5adae705 + last_write_checksum: sha1:daed16bfc9a5262c8db2d5b8855804a3ad4a7bdd docs/models/unauthorized.md: last_write_checksum: sha1:4868a4ce31b20cdb7fcaeec7be69cdb6f83a6ffe docs/models/uniqueaggregation.md: @@ -7387,7 +7383,7 @@ trackedFiles: src/polar_sdk/_hooks/types.py: last_write_checksum: sha1:a218c66f3e2d1f1b9af54f270472b970b0cc1913 src/polar_sdk/_version.py: - last_write_checksum: sha1:16da024ffd37254096cc5d99913377b5bda90792 + last_write_checksum: sha1:8bd4c4b356badbb20bdfc1d45f739b4ba560e2a5 src/polar_sdk/basesdk.py: last_write_checksum: sha1:4523ea81f1381f171fe2d4e60f85b82203208d02 src/polar_sdk/benefit_grants.py: @@ -7437,7 +7433,7 @@ trackedFiles: src/polar_sdk/metrics_sdk.py: last_write_checksum: sha1:296283edd527916f50c4a6c17c73354232c98240 src/polar_sdk/models/__init__.py: - last_write_checksum: sha1:8449aea264e34572f2c6fa09418bd93e5f63e905 + last_write_checksum: sha1:00769ce6c23b2349eb2cf381a0fbb5052c93f6d9 src/polar_sdk/models/address.py: last_write_checksum: sha1:083edb7f045174ac1aea30545e9981c33f07d57d src/polar_sdk/models/addressdict.py: @@ -7521,7 +7517,7 @@ trackedFiles: src/polar_sdk/models/benefitdiscordsubscriberproperties.py: last_write_checksum: sha1:5553ecb6757a2a7e675b970ae0ccfcafd88e8635 src/polar_sdk/models/benefitdiscordupdate.py: - last_write_checksum: sha1:9de2d108844ce08c45e7bebd80fec5e096a138e2 + last_write_checksum: sha1:7ada95b130b6d68f7a78d3352cfa89de1a24cb99 src/polar_sdk/models/benefitdownloadables.py: last_write_checksum: sha1:c66fa35bb1bbf1118e09f27721d54f1f3ea32cdc src/polar_sdk/models/benefitdownloadablescreate.py: @@ -7535,7 +7531,7 @@ trackedFiles: src/polar_sdk/models/benefitdownloadablessubscriberproperties.py: last_write_checksum: sha1:a6b5334b254773e57ff782573bc3171863c0d502 src/polar_sdk/models/benefitdownloadablesupdate.py: - last_write_checksum: sha1:d3c25a28b0b6f58b3cf55433c02f2738777f3811 + last_write_checksum: sha1:2913b1be7e29317ea7045893fc59f0b9c5c5d4ba src/polar_sdk/models/benefitfeatureflag.py: last_write_checksum: sha1:14e8667143b0e43e9a6af6b47f430098984d9864 src/polar_sdk/models/benefitfeatureflagcreate.py: @@ -7563,7 +7559,7 @@ trackedFiles: src/polar_sdk/models/benefitgithubrepositorysubscriberproperties.py: last_write_checksum: sha1:2dad7be0986169f2fff35bc0b0a6e638f80aa0d7 src/polar_sdk/models/benefitgithubrepositoryupdate.py: - last_write_checksum: sha1:9c9aff39035403510fb9823dd42418807d88a4cb + last_write_checksum: sha1:69435ace4958334e63c75f5ee2d57d1b3fb7cfc4 src/polar_sdk/models/benefitgrant.py: last_write_checksum: sha1:4c07cf5c8472b4a433bbfb59b37fd1501bd73fc2 src/polar_sdk/models/benefitgrantcustomproperties.py: @@ -7653,7 +7649,7 @@ trackedFiles: src/polar_sdk/models/benefits_grantsop.py: last_write_checksum: sha1:fbc84dd5807a068b561573368c1fa2b2ed617ce8 src/polar_sdk/models/benefits_updateop.py: - last_write_checksum: sha1:8c511ffbd851333eb44cfdc0dbdab781fe76b37f + last_write_checksum: sha1:7ffaf3be2e834c225472066714d2751d202e51b1 src/polar_sdk/models/benefitslacksharedchannel.py: last_write_checksum: sha1:497c7525effbfe2fbdf9c6406f9b5f37468b3388 src/polar_sdk/models/benefitslacksharedchannelcreate.py: @@ -7667,7 +7663,7 @@ trackedFiles: src/polar_sdk/models/benefitslacksharedchannelsubscriberproperties.py: last_write_checksum: sha1:1ff4a00631cc78eba698be798b03296fe478984d src/polar_sdk/models/benefitslacksharedchannelupdate.py: - last_write_checksum: sha1:ce7a2fe76b122dc5c577f2cf2a48ad1146d01935 + last_write_checksum: sha1:8b05b1242e0af95a8bdb0a3e369043d5b228ef4d src/polar_sdk/models/benefitsortproperty.py: last_write_checksum: sha1:f58ff5c986166b50d352ec9bb675e708d1aa11ac src/polar_sdk/models/benefitsubscriberorganization.py: @@ -7699,7 +7695,7 @@ trackedFiles: src/polar_sdk/models/checkoutconfirmstripe.py: last_write_checksum: sha1:b365fdd5310a110374dd6d3f7bd86104373da7eb src/polar_sdk/models/checkoutcreate.py: - last_write_checksum: sha1:0d816d095bc7ca5f3c49890852dc0506b6cbdb56 + last_write_checksum: sha1:c446512d921bafa9e98cc25c9920ca1daa4f3273 src/polar_sdk/models/checkoutcreatedevent.py: last_write_checksum: sha1:afddc103d7a33228836ddab5adb54408d12fd212 src/polar_sdk/models/checkoutcreatedmetadata.py: @@ -8013,7 +8009,7 @@ trackedFiles: src/polar_sdk/models/customerportalusagesettings.py: last_write_checksum: sha1:f3f7e775c73cffc71eb3ba71b3894693cd106471 src/polar_sdk/models/customerproduct.py: - last_write_checksum: sha1:a62f9191a455e31b94ca55befe8726c10d7171e8 + last_write_checksum: sha1:f412170aeef8cfb962c145b3602cda4bfb9db90d src/polar_sdk/models/customers_delete_externalop.py: last_write_checksum: sha1:44d87619a95055ac3824d29fcd00eb87e7784dfe src/polar_sdk/models/customers_deleteop.py: @@ -8257,7 +8253,7 @@ trackedFiles: src/polar_sdk/models/expiredcheckouterror.py: last_write_checksum: sha1:50c0cf7b96f45f12cf32b285463cd0bf582d8a34 src/polar_sdk/models/filecreate.py: - last_write_checksum: sha1:f4ca233d72ed14b70aa508525ef4f045bd27f02c + last_write_checksum: sha1:b18f789672a3a05ee1f64e0a0588d4ccdbf99c7d src/polar_sdk/models/filedownload.py: last_write_checksum: sha1:0d02b7f7dbe1225d7230891a3466e9373361dbec src/polar_sdk/models/filepatch.py: @@ -8267,11 +8263,11 @@ trackedFiles: src/polar_sdk/models/files_listop.py: last_write_checksum: sha1:5ad63fa9eb8fb55445211b1f4a6e27c3534c58e6 src/polar_sdk/models/files_updateop.py: - last_write_checksum: sha1:cea0b489d555407b29f8431cc23c96443c1d16fc + last_write_checksum: sha1:04d8cd678cf7f57c2dfb145541c56ee752ac3684 src/polar_sdk/models/files_uploadedop.py: - last_write_checksum: sha1:3e07403eff67b4c37a1e013a82b6f33c51c25a72 + last_write_checksum: sha1:2e627f7a330586cc2d47edfdadcbc035dc075643 src/polar_sdk/models/fileservicetypes.py: - last_write_checksum: sha1:0cb36e6fbbe95e01473109e2fa508653a545bf32 + last_write_checksum: sha1:957f7529de2e8d4ee95e3fb7e73713ff85fe7d29 src/polar_sdk/models/fileupload.py: last_write_checksum: sha1:13bee3485f7d42eb123cb7c93bfd2e442aedfae3 src/polar_sdk/models/fileuploadcompleted.py: @@ -8293,13 +8289,11 @@ trackedFiles: src/polar_sdk/models/introspecttokenresponse.py: last_write_checksum: sha1:db17332be1f7a93a4f91b3089e902fa2c1a6f2a1 src/polar_sdk/models/legacyrecurringproductprice.py: - last_write_checksum: sha1:ffec681fbd5c09606933303539d942cb4a47af23 + last_write_checksum: sha1:47bfd01beeaab096fd75c07d88f5d24f09bf45b6 src/polar_sdk/models/legacyrecurringproductpricecustom.py: last_write_checksum: sha1:adf2de4508b66099bc46df452c65eb1087ac68ec src/polar_sdk/models/legacyrecurringproductpricefixed.py: last_write_checksum: sha1:33b8e366d03dd12fdac176bc92c646e108cd18f6 - src/polar_sdk/models/legacyrecurringproductpricefree.py: - last_write_checksum: sha1:31788434f154815c98e0874e57da6405bf42821b src/polar_sdk/models/license_keys_get_activationop.py: last_write_checksum: sha1:4421b41d10d32d4a1cdafc69e2aa11c2c068b03d src/polar_sdk/models/license_keys_getop.py: @@ -8369,7 +8363,7 @@ trackedFiles: src/polar_sdk/models/listresource_eventtypewithstats_.py: last_write_checksum: sha1:afa772bde25fb6a9292aa63f1a6c86191b47e361 src/polar_sdk/models/listresource_fileread_.py: - last_write_checksum: sha1:b16a98eb61c759a5d9b8facbbdeef87fddcc1297 + last_write_checksum: sha1:21c61e2e5152efc642fa006ec1edd1cbbddec955 src/polar_sdk/models/listresource_licensekeyread_.py: last_write_checksum: sha1:ca5c854e3f225d3aa04749374fb4bebcb9a70423 src/polar_sdk/models/listresource_member_.py: @@ -8613,7 +8607,7 @@ trackedFiles: src/polar_sdk/models/organizationdetails.py: last_write_checksum: sha1:74233062d4ab6a42a6799705ac3cfd820ba3244c src/polar_sdk/models/organizationfeaturesettings.py: - last_write_checksum: sha1:2306679a2af0ecddadeac2ca25d8dd3f6fda53a7 + last_write_checksum: sha1:1feae80217f34a512faedb376ca0c668db9682a4 src/polar_sdk/models/organizationfeaturesettingsupdate.py: last_write_checksum: sha1:5242996869faeaa0d758801a4adf3f654bad5c3e src/polar_sdk/models/organizationindividuallegalentityschema.py: @@ -8693,15 +8687,15 @@ trackedFiles: src/polar_sdk/models/productcreate.py: last_write_checksum: sha1:b4b0e18f2d9e0a3087f41f0f3d0c2367e4a3b066 src/polar_sdk/models/productcreateonetime.py: - last_write_checksum: sha1:e12a56d49e793cbe529d32c96f17a1ef172c99fb + last_write_checksum: sha1:737e2664aba0d91c7aed79d4be46607fcf4b6233 src/polar_sdk/models/productcreaterecurring.py: - last_write_checksum: sha1:6948b6988f2676ec56e833da0655a9faac7407ba + last_write_checksum: sha1:f92997907bf8786961a94292a8630033dd622131 src/polar_sdk/models/productmediafilecreate.py: last_write_checksum: sha1:61a8627e33a348ea6ad6194b4534ac9805620442 src/polar_sdk/models/productmediafileread.py: last_write_checksum: sha1:02cb8c4034cc3966c88833a55f6501b9eb04c990 src/polar_sdk/models/productprice.py: - last_write_checksum: sha1:94940ba8feb6d3d69a0b63c7ecbd7602892c5de2 + last_write_checksum: sha1:de9d418b88490c9cbe3f976eb18e56cee0d60be1 src/polar_sdk/models/productpricecustom.py: last_write_checksum: sha1:60c580ba1d7e5755b2e273a5141319d20eadc166 src/polar_sdk/models/productpricecustomcreate.py: @@ -8710,10 +8704,6 @@ trackedFiles: last_write_checksum: sha1:9b5e42ece47c918221067ce8ea86005edf364c93 src/polar_sdk/models/productpricefixedcreate.py: last_write_checksum: sha1:240b0113ce48bf8d63dbae613857b5de806c9854 - src/polar_sdk/models/productpricefree.py: - last_write_checksum: sha1:bfacb3a8115f8a96ed2adc4c4e6660abf99632fe - src/polar_sdk/models/productpricefreecreate.py: - last_write_checksum: sha1:502b04d4bc7b36fe8f6fc18e2db7dc9cac7ce397 src/polar_sdk/models/productpricemeter.py: last_write_checksum: sha1:cc9474703ce9d29d400e15def880e7587e29597f src/polar_sdk/models/productpricemeteredunit.py: @@ -8741,7 +8731,7 @@ trackedFiles: src/polar_sdk/models/productsortproperty.py: last_write_checksum: sha1:e2721f46be9707be06b4842fccc6e38e3d98f890 src/polar_sdk/models/productupdate.py: - last_write_checksum: sha1:03a318eeb51a632c8b029ac779d1e65940391d7f + last_write_checksum: sha1:6c5c1aec076d0c2b74a5a0053a39bba524e72922 src/polar_sdk/models/productvisibility.py: last_write_checksum: sha1:cf05d90c2deae8bf904ed655e5f2469989651efb src/polar_sdk/models/propertyaggregation.py: @@ -8898,6 +8888,10 @@ trackedFiles: last_write_checksum: sha1:81b8edbe158653a9a6a64886200f3827560122b9 src/polar_sdk/models/subtype.py: last_write_checksum: sha1:af98f25883c063ee99b2a99ec3e7fb8c5af32957 + src/polar_sdk/models/supportcaseattachmentfilecreate.py: + last_write_checksum: sha1:75edecf4d30fa9c56f64cf37273485a38fffa83b + src/polar_sdk/models/supportcaseattachmentfileread.py: + last_write_checksum: sha1:64399f6fb1748b969d196084584292ef27c2940e src/polar_sdk/models/systemevent.py: last_write_checksum: sha1:643afaeecbca24ae7cec10ba910e0fec3af18b90 src/polar_sdk/models/taxbehavior.py: @@ -8905,7 +8899,7 @@ trackedFiles: src/polar_sdk/models/taxbehavioroption.py: last_write_checksum: sha1:5edc2dfc05982fc7b3b43d1bf942863ae98f15d4 src/polar_sdk/models/taxidformat.py: - last_write_checksum: sha1:862c1fee94f466b97bca3dbb729c1434e48c4068 + last_write_checksum: sha1:2dcc56370ca93b4a28072292fc113ce16fdf7373 src/polar_sdk/models/timeinterval.py: last_write_checksum: sha1:81b94d52df8f0e87d6fc770144d3d381fd9dee9b src/polar_sdk/models/tokenresponse.py: @@ -9071,7 +9065,7 @@ trackedFiles: src/polar_sdk/types/__init__.py: last_write_checksum: sha1:f9ad14217f832e74f594285960125add50324be9 src/polar_sdk/types/base64fileinput.py: - last_write_checksum: sha1:4780e893d3853b5a6e28d9a6ca3ee102ce0f502d + last_write_checksum: sha1:1522687ae3398374c35710cad993a6e82b5ab99d src/polar_sdk/types/basemodel.py: last_write_checksum: sha1:10d84aedeb9d35edfdadf2c3020caa1d24d8b584 src/polar_sdk/utils/__init__.py: @@ -9085,9 +9079,9 @@ trackedFiles: src/polar_sdk/utils/enums.py: last_write_checksum: sha1:bc8c3c1285ae09ba8a094ee5c3d9c7f41fa1284d src/polar_sdk/utils/eventstreaming.py: - last_write_checksum: sha1:cad7e4feff4f1b2824afd0d30f2b1964a604f4dd + last_write_checksum: sha1:7d1dc68f8b48486ab646653aa05cc38752e1f912 src/polar_sdk/utils/forms.py: - last_write_checksum: sha1:15fa7e9ab1611e062a9984cf06cb20969713d295 + last_write_checksum: sha1:a971cdb120ad3d416d296d5d0ad89e4808350a7f src/polar_sdk/utils/headers.py: last_write_checksum: sha1:7c6df233ee006332b566a8afa9ce9a245941d935 src/polar_sdk/utils/logger.py: @@ -9099,7 +9093,7 @@ trackedFiles: src/polar_sdk/utils/requestbodies.py: last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124 src/polar_sdk/utils/retries.py: - last_write_checksum: sha1:471372f5c5d1dd5583239c9cf3c75f1b636e5d87 + last_write_checksum: sha1:9fcb404e0a5113634df964b4f393ba4eea5a76f3 src/polar_sdk/utils/security.py: last_write_checksum: sha1:c11eef495b6aaa249178c24c796940cc540b7a00 src/polar_sdk/utils/serializers.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 732b4ec2..5c126c0d 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: persistentEdits: {} versioningStrategy: automatic python: - version: 0.31.7 + version: 0.31.8 additionalDependencies: dev: pydantic-ai-slim: ^0.1.0 @@ -54,6 +54,7 @@ python: description: Polar SDK for Python enableCustomCodeRegions: true enumFormat: enum + errorSchemaValidation: true eventStreamClassNames: async: EventStreamAsync sync: EventStream diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 3e605ead..a3def635 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0 sources: Polar-OAS: sourceNamespace: polar-oas - sourceRevisionDigest: sha256:2e876fec381971a288210e5d8709f9f5d1ce5fdceb4ab9f9081a12d2706b66a3 - sourceBlobDigest: sha256:121b4b199951de0444a9d01f4b9ae901c6f73bedd842db8c73380dfdbd1b7108 + sourceRevisionDigest: sha256:613ee3efbd866b4394ea5b07755e656e00c14317b158e7685f3f2b3700c74858 + sourceBlobDigest: sha256:c693215df08a7c6a759cefe7534f842b4da7d2a84c8c625ab6f20c3e6628aea2 tags: - latest - - speakeasy-sdk-regen-1780965532 + - speakeasy-sdk-regen-1781311562 - 0.1.0 targets: polar: source: Polar-OAS sourceNamespace: polar-oas - sourceRevisionDigest: sha256:2e876fec381971a288210e5d8709f9f5d1ce5fdceb4ab9f9081a12d2706b66a3 - sourceBlobDigest: sha256:121b4b199951de0444a9d01f4b9ae901c6f73bedd842db8c73380dfdbd1b7108 + sourceRevisionDigest: sha256:613ee3efbd866b4394ea5b07755e656e00c14317b158e7685f3f2b3700c74858 + sourceBlobDigest: sha256:c693215df08a7c6a759cefe7534f842b4da7d2a84c8c625ab6f20c3e6628aea2 codeSamplesNamespace: polar-oas-py-code-samples - codeSamplesRevisionDigest: sha256:17f9306179ab5bf2b495f6c13089ff02e295fbb688aac7bbbbd89f340615971d + codeSamplesRevisionDigest: sha256:8de5f8eb96f885a01bd6cbd5b792d6b4e4e15ce7a2a1d4132091467b799a7344 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 51a97d6b..500c4662 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1143,4 +1143,14 @@ Based on: ### Generated - [python v0.31.7] . ### Releases -- [PyPI v0.31.7] https://pypi.org/project/polar-sdk/0.31.7 - . \ No newline at end of file +- [PyPI v0.31.7] https://pypi.org/project/polar-sdk/0.31.7 - . + +## 2026-06-17 00:46:11 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.31.8] . +### Releases +- [PyPI v0.31.8] https://pypi.org/project/polar-sdk/0.31.8 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 2579c8f2..ba75b5c0 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -644,7 +644,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.files.create(request={\n \"name\": \"\",\n \"mime_type\": \"\",\n \"size\": 612128,\n \"upload\": {\n \"parts\": [],\n },\n \"service\": \"downloadable\",\n })\n\n # Handle response\n print(res)" + "source": "from polar_sdk import Polar\n\n\nwith Polar(\n access_token=\"\",\n) as polar:\n\n res = polar.files.create(request={\n \"name\": \"\",\n \"mime_type\": \"\",\n \"size\": 612128,\n \"upload\": {\n \"parts\": [],\n },\n \"service\": \"organization_avatar\",\n })\n\n # Handle response\n print(res)" - target: $["paths"]["/v1/files/{id}"]["delete"] update: "x-codeSamples": @@ -1166,7 +1166,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_created_post(request=polar_sdk.WebhookCheckoutCreatedPayload(\n timestamp=parse_datetime(\"2024-02-15T15:44:21.478Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2026-09-12T19:48:15.814Z\"),\n modified_at=parse_datetime(\"2024-09-13T02:01:27.394Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://agreeable-reboot.biz\",\n expires_at=parse_datetime(\"2025-05-02T18:25:33.974Z\"),\n success_url=\"https://rural-outrun.org\",\n return_url=\"https://clean-humidity.com/\",\n embed_origin=\"\",\n amount=275553,\n discount_amount=9980,\n net_amount=266632,\n tax_amount=348968,\n tax_behavior=polar_sdk.TaxBehavior.INCLUSIVE,\n total_amount=322400,\n currency=\"Boliviano boliviano\",\n allow_trial=False,\n active_trial_interval=polar_sdk.TrialInterval.DAY,\n active_trial_interval_count=None,\n trial_end=parse_datetime(\"2024-05-07T13:53:51.913Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=False,\n is_free_product_price=False,\n is_payment_required=False,\n is_payment_setup_required=True,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=True,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n \"key2\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n state=polar_sdk.BillingAddressFieldMode.REQUIRED,\n city=polar_sdk.BillingAddressFieldMode.DISABLED,\n postal_code=polar_sdk.BillingAddressFieldMode.REQUIRED,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.DISABLED,\n ),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=None,\n metadata={\n\n },\n external_customer_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2024-01-06T18:09:03.676Z\"),\n modified_at=parse_datetime(\"2025-05-28T21:42:41.690Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=590205,\n name=\"\",\n description=\"structure tenderly dirty colon though\",\n visibility=polar_sdk.ProductVisibility.DRAFT,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=265994,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2024-04-20T04:12:36.083Z\"),\n modified_at=None,\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.INCLUSIVE,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n minimum_amount=721879,\n maximum_amount=559368,\n preset_amount=552660,\n ),\n ],\n benefits=[\n polar_sdk.BenefitPublic(\n id=\"\",\n created_at=parse_datetime(\"2026-03-07T18:00:48.486Z\"),\n modified_at=parse_datetime(\"2026-07-24T22:06:51.276Z\"),\n type=polar_sdk.BenefitType.METER_CREDIT,\n description=\"drat meanwhile ah lest neighboring zowie zowie greedily black\",\n selectable=False,\n deletable=False,\n is_deleted=True,\n organization_id=\"\",\n ),\n ],\n medias=[],\n ),\n ],\n product=None,\n product_price=polar_sdk.LegacyRecurringProductPriceFree(\n created_at=parse_datetime(\"2025-01-08T19:17:50.328Z\"),\n modified_at=parse_datetime(\"2026-12-06T19:58:41.789Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n ),\n prices={\n \"key\": [],\n },\n discount=polar_sdk.CheckoutDiscountFixedRepeatDuration(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=670493,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n amounts={\n \"eur\": 900,\n \"usd\": 1000,\n },\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldDate(\n created_at=parse_datetime(\"2026-07-02T13:05:31.034Z\"),\n modified_at=parse_datetime(\"2026-03-01T15:09:47.026Z\"),\n id=\"\",\n metadata={\n \"key\": 2325.29,\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldDateProperties(),\n ),\n order=55223,\n required=False,\n ),\n ],\n customer_metadata={\n \"key\": \"\",\n },\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_created_post(request=polar_sdk.WebhookCheckoutCreatedPayload(\n timestamp=parse_datetime(\"2024-02-15T15:44:21.478Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2026-09-12T19:48:15.814Z\"),\n modified_at=parse_datetime(\"2024-09-13T02:01:27.394Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://agreeable-reboot.biz\",\n expires_at=parse_datetime(\"2025-05-02T18:25:33.974Z\"),\n success_url=\"https://rural-outrun.org\",\n return_url=\"https://clean-humidity.com/\",\n embed_origin=\"\",\n amount=275553,\n discount_amount=9980,\n net_amount=266632,\n tax_amount=348968,\n tax_behavior=polar_sdk.TaxBehavior.INCLUSIVE,\n total_amount=322400,\n currency=\"Boliviano boliviano\",\n allow_trial=False,\n active_trial_interval=polar_sdk.TrialInterval.DAY,\n active_trial_interval_count=None,\n trial_end=parse_datetime(\"2024-05-07T13:53:51.913Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=False,\n is_free_product_price=False,\n is_payment_required=False,\n is_payment_setup_required=True,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=True,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n \"key2\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n state=polar_sdk.BillingAddressFieldMode.REQUIRED,\n city=polar_sdk.BillingAddressFieldMode.DISABLED,\n postal_code=polar_sdk.BillingAddressFieldMode.REQUIRED,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.DISABLED,\n ),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=None,\n metadata={\n\n },\n external_customer_id=\"\",\n products=[\n polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2024-01-06T18:09:03.676Z\"),\n modified_at=parse_datetime(\"2025-05-28T21:42:41.690Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=590205,\n name=\"\",\n description=\"structure tenderly dirty colon though\",\n visibility=polar_sdk.ProductVisibility.DRAFT,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.YEAR,\n recurring_interval_count=265994,\n is_recurring=True,\n is_archived=True,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2024-04-20T04:12:36.083Z\"),\n modified_at=None,\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.INCLUSIVE,\n is_archived=True,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n minimum_amount=721879,\n maximum_amount=559368,\n preset_amount=552660,\n ),\n ],\n benefits=[\n polar_sdk.BenefitPublic(\n id=\"\",\n created_at=parse_datetime(\"2026-03-07T18:00:48.486Z\"),\n modified_at=parse_datetime(\"2026-07-24T22:06:51.276Z\"),\n type=polar_sdk.BenefitType.METER_CREDIT,\n description=\"drat meanwhile ah lest neighboring zowie zowie greedily black\",\n selectable=False,\n deletable=False,\n is_deleted=True,\n organization_id=\"\",\n ),\n ],\n medias=[],\n ),\n ],\n product=None,\n product_price=polar_sdk.ProductPriceMeteredUnit(\n created_at=parse_datetime(\"2025-01-08T19:17:50.328Z\"),\n modified_at=parse_datetime(\"2026-12-06T19:58:41.789Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n is_archived=False,\n product_id=\"\",\n unit_amount=\"\",\n cap_amount=470604,\n meter_id=\"\",\n meter=polar_sdk.ProductPriceMeter(\n id=\"\",\n name=\"\",\n unit=polar_sdk.MeterUnit.SCALAR,\n ),\n ),\n prices={\n \"key\": [\n polar_sdk.ProductPriceMeteredUnit(\n created_at=parse_datetime(\"2025-01-26T12:44:05.844Z\"),\n modified_at=parse_datetime(\"2024-11-11T13:10:44.040Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n is_archived=False,\n product_id=\"\",\n unit_amount=\"\",\n cap_amount=786803,\n meter_id=\"\",\n meter=polar_sdk.ProductPriceMeter(\n id=\"\",\n name=\"\",\n unit=polar_sdk.MeterUnit.SCALAR,\n ),\n ),\n ],\n },\n discount=polar_sdk.CheckoutDiscountFixedOnceForeverDuration(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n amounts={\n \"eur\": 900,\n \"usd\": 1000,\n },\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=None,\n customer_metadata={\n \"key\": False,\n },\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["checkout.expired"]["post"] update: "x-codeSamples": @@ -1178,7 +1178,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_updated_post(request=polar_sdk.WebhookCheckoutUpdatedPayload(\n timestamp=parse_datetime(\"2024-03-18T05:40:46.816Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2025-09-17T13:52:37.257Z\"),\n modified_at=parse_datetime(\"2025-11-07T08:23:01.152Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://male-punctuation.name\",\n expires_at=parse_datetime(\"2026-03-26T06:13:51.386Z\"),\n success_url=\"https://monumental-mathematics.info\",\n return_url=\"https://scary-valley.com/\",\n embed_origin=\"\",\n amount=867510,\n discount_amount=469340,\n net_amount=139232,\n tax_amount=373760,\n tax_behavior=None,\n total_amount=59172,\n currency=\"New Taiwan Dollar\",\n allow_trial=True,\n active_trial_interval=polar_sdk.TrialInterval.MONTH,\n active_trial_interval_count=675563,\n trial_end=parse_datetime(\"2024-11-02T00:27:36.754Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=True,\n is_free_product_price=True,\n is_payment_required=True,\n is_payment_setup_required=False,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=False,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n state=polar_sdk.BillingAddressFieldMode.REQUIRED,\n city=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n postal_code=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.DISABLED,\n ),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=899080,\n metadata={\n\n },\n external_customer_id=\"\",\n products=[],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2025-09-06T09:34:57.464Z\"),\n modified_at=parse_datetime(\"2024-01-24T09:30:59.881Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=881833,\n name=\"\",\n description=\"needily past pause different wallaby micromanage yahoo thin instead woeful\",\n visibility=polar_sdk.ProductVisibility.PUBLIC,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=297888,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceFree(\n created_at=parse_datetime(\"2024-12-18T01:07:08.468Z\"),\n modified_at=parse_datetime(\"2024-11-04T07:41:56.715Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.INCLUSIVE,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n ),\n ],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.LegacyRecurringProductPriceFree(\n created_at=parse_datetime(\"2026-09-07T16:26:35.659Z\"),\n modified_at=parse_datetime(\"2025-08-12T14:24:20.342Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n ),\n prices={\n \"key\": [],\n \"key1\": [],\n },\n discount=polar_sdk.CheckoutDiscountFixedRepeatDuration(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=698656,\n type=polar_sdk.DiscountType.PERCENTAGE,\n amount=1000,\n currency=\"usd\",\n amounts={\n \"eur\": 900,\n \"usd\": 1000,\n },\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[],\n customer_metadata={\n \"key\": False,\n },\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointcheckout_updated_post(request=polar_sdk.WebhookCheckoutUpdatedPayload(\n timestamp=parse_datetime(\"2024-03-18T05:40:46.816Z\"),\n data=polar_sdk.Checkout(\n id=\"\",\n created_at=parse_datetime(\"2025-09-17T13:52:37.257Z\"),\n modified_at=parse_datetime(\"2025-11-07T08:23:01.152Z\"),\n payment_processor=polar_sdk.PaymentProcessor.STRIPE,\n status=polar_sdk.CheckoutStatus.EXPIRED,\n client_secret=\"\",\n url=\"https://male-punctuation.name\",\n expires_at=parse_datetime(\"2026-03-26T06:13:51.386Z\"),\n success_url=\"https://monumental-mathematics.info\",\n return_url=\"https://scary-valley.com/\",\n embed_origin=\"\",\n amount=867510,\n discount_amount=469340,\n net_amount=139232,\n tax_amount=373760,\n tax_behavior=None,\n total_amount=59172,\n currency=\"New Taiwan Dollar\",\n allow_trial=True,\n active_trial_interval=polar_sdk.TrialInterval.MONTH,\n active_trial_interval_count=675563,\n trial_end=parse_datetime(\"2024-11-02T00:27:36.754Z\"),\n organization_id=\"\",\n product_id=\"\",\n product_price_id=\"\",\n discount_id=\"\",\n allow_discount_codes=False,\n require_billing_address=False,\n is_discount_applicable=True,\n is_free_product_price=True,\n is_payment_required=True,\n is_payment_setup_required=False,\n is_payment_form_required=False,\n customer_id=\"\",\n is_business_customer=False,\n customer_name=\"\",\n customer_email=\"\",\n customer_ip_address=\"\",\n customer_billing_name=\"\",\n customer_billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n customer_tax_id=\"\",\n payment_processor_metadata={\n \"key\": \"\",\n \"key1\": \"\",\n },\n billing_address_fields=polar_sdk.CheckoutBillingAddressFields(\n country=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n state=polar_sdk.BillingAddressFieldMode.REQUIRED,\n city=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n postal_code=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line1=polar_sdk.BillingAddressFieldMode.OPTIONAL,\n line2=polar_sdk.BillingAddressFieldMode.DISABLED,\n ),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=899080,\n metadata={\n\n },\n external_customer_id=\"\",\n products=[],\n product=polar_sdk.CheckoutProduct(\n id=\"\",\n created_at=parse_datetime(\"2025-09-06T09:34:57.464Z\"),\n modified_at=parse_datetime(\"2024-01-24T09:30:59.881Z\"),\n trial_interval=polar_sdk.TrialInterval.YEAR,\n trial_interval_count=881833,\n name=\"\",\n description=\"needily past pause different wallaby micromanage yahoo thin instead woeful\",\n visibility=polar_sdk.ProductVisibility.PUBLIC,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=297888,\n is_recurring=False,\n is_archived=True,\n organization_id=\"\",\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2024-12-18T01:07:08.468Z\"),\n modified_at=parse_datetime(\"2024-11-04T07:41:56.715Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.AD_HOC,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.INCLUSIVE,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n price_amount=80840,\n ),\n ],\n benefits=[],\n medias=[],\n ),\n product_price=polar_sdk.ProductPriceSeatBased(\n created_at=parse_datetime(\"2026-05-23T13:52:40.471Z\"),\n modified_at=parse_datetime(\"2026-04-03T10:36:18.387Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n is_archived=False,\n product_id=\"\",\n seat_tiers=polar_sdk.ProductPriceSeatTiersOutput(\n tiers=[],\n minimum_seats=519931,\n maximum_seats=148431,\n ),\n ),\n prices={\n \"key\": [],\n },\n discount=polar_sdk.CheckoutDiscountPercentageOnceForeverDuration(\n duration=polar_sdk.DiscountDuration.ONCE,\n type=polar_sdk.DiscountType.PERCENTAGE,\n basis_points=1000,\n id=\"\",\n name=\"\",\n code=\"\",\n ),\n subscription_id=\"\",\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldNumber(\n created_at=parse_datetime(\"2026-08-20T09:31:34.380Z\"),\n modified_at=parse_datetime(\"2026-09-23T04:02:06.143Z\"),\n id=\"\",\n metadata={\n \"key\": 8591.85,\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldNumberProperties(),\n ),\n order=571909,\n required=False,\n ),\n ],\n customer_metadata={\n \"key\": True,\n },\n ),\n ))\n\n # Handle response\n print(res)" - target: $["paths"]["customer.created"]["post"] update: "x-codeSamples": @@ -1280,7 +1280,7 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointproduct_updated_post(request={\n \"type\": \"product.updated\",\n \"timestamp\": parse_datetime(\"2025-08-25T02:00:54.049Z\"),\n \"data\": {\n \"id\": \"\",\n \"created_at\": parse_datetime(\"2026-02-11T18:19:05.372Z\"),\n \"modified_at\": parse_datetime(\"2026-07-31T19:14:23.351Z\"),\n \"trial_interval\": polar_sdk.TrialInterval.YEAR,\n \"trial_interval_count\": 907633,\n \"name\": \"\",\n \"description\": \"square extract modulo bossy outlandish pecan\",\n \"visibility\": polar_sdk.ProductVisibility.DRAFT,\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.MONTH,\n \"recurring_interval_count\": 844227,\n \"is_recurring\": True,\n \"is_archived\": True,\n \"organization_id\": \"\",\n \"metadata\": {\n \"key\": 731170,\n },\n \"prices\": [\n {\n \"created_at\": parse_datetime(\"2024-02-07T02:48:19.584Z\"),\n \"modified_at\": parse_datetime(\"2024-06-19T05:51:14.673Z\"),\n \"id\": \"\",\n \"source\": polar_sdk.ProductPriceSource.CATALOG,\n \"amount_type\": \"free\",\n \"price_currency\": \"\",\n \"tax_behavior\": polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n \"is_archived\": False,\n \"product_id\": \"\",\n \"type\": \"recurring\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.MONTH,\n \"legacy\": True,\n },\n ],\n \"benefits\": [\n {\n \"id\": \"\",\n \"created_at\": parse_datetime(\"2025-06-26T23:01:23.486Z\"),\n \"modified_at\": parse_datetime(\"2024-10-21T14:48:34.794Z\"),\n \"type\": \"downloadables\",\n \"description\": \"phew if archaeology vibrant than uh-huh inasmuch hmph but rosemary\",\n \"selectable\": False,\n \"deletable\": False,\n \"is_deleted\": False,\n \"organization_id\": \"\",\n \"metadata\": {\n \"key\": 319725,\n },\n \"visibility\": polar_sdk.BenefitVisibility.DRAFT,\n \"properties\": {\n \"archived\": {\n \"key\": False,\n },\n \"files\": [\n \"\",\n \"\",\n \"\",\n ],\n },\n \"visibility_configurable\": False,\n },\n ],\n \"medias\": [],\n \"attached_custom_fields\": [\n {\n \"custom_field_id\": \"\",\n \"custom_field\": {\n \"created_at\": parse_datetime(\"2025-02-01T14:55:41.194Z\"),\n \"modified_at\": parse_datetime(\"2024-11-10T11:26:33.780Z\"),\n \"id\": \"\",\n \"metadata\": {\n\n },\n \"type\": \"text\",\n \"slug\": \"\",\n \"name\": \"\",\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"properties\": {},\n },\n \"order\": 248643,\n \"required\": True,\n },\n ],\n },\n })\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointproduct_updated_post(request={\n \"type\": \"product.updated\",\n \"timestamp\": parse_datetime(\"2025-08-25T02:00:54.049Z\"),\n \"data\": {\n \"id\": \"\",\n \"created_at\": parse_datetime(\"2026-02-11T18:19:05.372Z\"),\n \"modified_at\": parse_datetime(\"2026-07-31T19:14:23.351Z\"),\n \"trial_interval\": polar_sdk.TrialInterval.YEAR,\n \"trial_interval_count\": 907633,\n \"name\": \"\",\n \"description\": \"square extract modulo bossy outlandish pecan\",\n \"visibility\": polar_sdk.ProductVisibility.DRAFT,\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.MONTH,\n \"recurring_interval_count\": 844227,\n \"is_recurring\": True,\n \"is_archived\": True,\n \"organization_id\": \"\",\n \"metadata\": {\n \"key\": 731170,\n },\n \"prices\": [\n {\n \"created_at\": parse_datetime(\"2024-02-07T02:48:19.584Z\"),\n \"modified_at\": parse_datetime(\"2024-06-19T05:51:14.673Z\"),\n \"id\": \"\",\n \"source\": polar_sdk.ProductPriceSource.CATALOG,\n \"amount_type\": \"fixed\",\n \"price_currency\": \"\",\n \"tax_behavior\": polar_sdk.TaxBehaviorOption.EXCLUSIVE,\n \"is_archived\": False,\n \"product_id\": \"\",\n \"type\": \"recurring\",\n \"recurring_interval\": polar_sdk.SubscriptionRecurringInterval.MONTH,\n \"price_amount\": 741622,\n \"legacy\": True,\n },\n ],\n \"benefits\": [],\n \"medias\": [],\n \"attached_custom_fields\": [\n {\n \"custom_field_id\": \"\",\n \"custom_field\": {\n \"created_at\": parse_datetime(\"2026-10-10T23:54:17.582Z\"),\n \"modified_at\": parse_datetime(\"2024-02-06T07:22:30.755Z\"),\n \"id\": \"\",\n \"metadata\": {\n\n },\n \"type\": \"date\",\n \"slug\": \"\",\n \"name\": \"\",\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"properties\": {},\n },\n \"order\": 285217,\n \"required\": True,\n },\n ],\n },\n })\n\n # Handle response\n print(res)" - target: $["paths"]["refund.created"]["post"] update: "x-codeSamples": @@ -1334,4 +1334,4 @@ actions: "x-codeSamples": - "lang": "python" "label": "Python (SDK)" - "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_updated_post(request=polar_sdk.WebhookSubscriptionUpdatedPayload(\n timestamp=parse_datetime(\"2024-06-23T13:26:25.969Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2025-05-25T12:11:24.717Z\"),\n modified_at=parse_datetime(\"2025-07-08T02:17:23.799Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=489836,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2025-06-19T12:29:28.503Z\"),\n current_period_end=parse_datetime(\"2024-06-13T15:07:05.619Z\"),\n trial_start=parse_datetime(\"2026-04-17T18:51:57.213Z\"),\n trial_end=parse_datetime(\"2026-08-31T06:08:08.476Z\"),\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2025-10-12T01:39:46.850Z\"),\n started_at=parse_datetime(\"2025-08-23T08:17:41.246Z\"),\n ends_at=parse_datetime(\"2026-04-28T14:07:35.212Z\"),\n ended_at=parse_datetime(\"2026-04-23T18:41:38.111Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.MISSING_FEATURES,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 384298,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-06-15T22:53:11.971Z\"),\n modified_at=parse_datetime(\"2025-03-20T00:06:47.924Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n type=polar_sdk.CustomerType.TEAM,\n name=\"John Doe\",\n billing_name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-08-19T16:06:29.687Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2026-07-20T14:48:07.590Z\"),\n modified_at=parse_datetime(\"2026-07-02T08:42:56.558Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=729960,\n name=\"\",\n description=\"obnoxiously save following clinch striking juicy\",\n visibility=polar_sdk.ProductVisibility.PRIVATE,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=951036,\n is_recurring=False,\n is_archived=False,\n organization_id=\"\",\n metadata={\n\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceFree(\n created_at=parse_datetime(\"2025-06-11T00:10:41.493Z\"),\n modified_at=parse_datetime(\"2026-06-08T03:34:59.881Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.LOCATION,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n ),\n ],\n benefits=[\n polar_sdk.BenefitDiscord(\n id=\"\",\n created_at=parse_datetime(\"2025-11-17T23:33:54.714Z\"),\n modified_at=parse_datetime(\"2024-02-02T03:58:40.691Z\"),\n description=\"gah contradict gosh colligate overstay unethically wholly\",\n selectable=True,\n deletable=True,\n is_deleted=True,\n organization_id=\"\",\n metadata={\n \"key\": 117069,\n },\n visibility=polar_sdk.BenefitVisibility.DRAFT,\n properties=polar_sdk.BenefitDiscordProperties(\n guild_id=\"\",\n role_id=\"\",\n kick_member=False,\n guild_token=\"\",\n ),\n visibility_configurable=False,\n ),\n ],\n medias=[],\n attached_custom_fields=[\n polar_sdk.AttachedCustomField(\n custom_field_id=\"\",\n custom_field=polar_sdk.CustomFieldSelect(\n created_at=parse_datetime(\"2025-12-16T20:50:35.317Z\"),\n modified_at=parse_datetime(\"2024-05-26T19:23:38.918Z\"),\n id=\"\",\n metadata={\n \"key\": \"\",\n },\n slug=\"\",\n name=\"\",\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n properties=polar_sdk.CustomFieldSelectProperties(\n options=[\n polar_sdk.CustomFieldSelectOption(\n value=\"\",\n label=\"\",\n ),\n ],\n ),\n ),\n order=461888,\n required=True,\n ),\n ],\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.REPEATING,\n duration_in_months=507732,\n type=polar_sdk.DiscountType.FIXED,\n amount=1000,\n currency=\"usd\",\n amounts={\n \"eur\": 900,\n \"usd\": 1000,\n },\n created_at=parse_datetime(\"2024-12-17T05:51:05.895Z\"),\n modified_at=parse_datetime(\"2026-07-18T10:46:50.494Z\"),\n id=\"\",\n metadata={\n \"key\": True,\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2025-07-08T21:15:32.827Z\"),\n ends_at=parse_datetime(\"2026-08-05T21:19:30.774Z\"),\n max_redemptions=36052,\n redemptions_count=210743,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[\n polar_sdk.LegacyRecurringProductPriceCustom(\n created_at=parse_datetime(\"2026-06-26T08:27:30.248Z\"),\n modified_at=parse_datetime(\"2025-02-19T20:04:55.596Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.LOCATION,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n minimum_amount=437001,\n maximum_amount=None,\n preset_amount=510987,\n ),\n ],\n meters=[],\n pending_update=None,\n ),\n ))\n\n # Handle response\n print(res)" + "source": "import polar_sdk\nfrom polar_sdk import Polar\nfrom polar_sdk.utils import parse_datetime\n\n\nwith Polar() as polar:\n\n res = polar.endpointsubscription_updated_post(request=polar_sdk.WebhookSubscriptionUpdatedPayload(\n timestamp=parse_datetime(\"2024-06-23T13:26:25.969Z\"),\n data=polar_sdk.Subscription(\n created_at=parse_datetime(\"2025-05-25T12:11:24.717Z\"),\n modified_at=parse_datetime(\"2025-07-08T02:17:23.799Z\"),\n id=\"\",\n amount=10000,\n currency=\"usd\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.WEEK,\n recurring_interval_count=489836,\n status=polar_sdk.SubscriptionStatus.CANCELED,\n current_period_start=parse_datetime(\"2025-06-19T12:29:28.503Z\"),\n current_period_end=parse_datetime(\"2024-06-13T15:07:05.619Z\"),\n trial_start=parse_datetime(\"2026-04-17T18:51:57.213Z\"),\n trial_end=parse_datetime(\"2026-08-31T06:08:08.476Z\"),\n cancel_at_period_end=False,\n canceled_at=parse_datetime(\"2025-10-12T01:39:46.850Z\"),\n started_at=parse_datetime(\"2025-08-23T08:17:41.246Z\"),\n ends_at=parse_datetime(\"2026-04-28T14:07:35.212Z\"),\n ended_at=parse_datetime(\"2026-04-23T18:41:38.111Z\"),\n customer_id=\"\",\n product_id=\"\",\n discount_id=\"\",\n checkout_id=\"\",\n customer_cancellation_reason=polar_sdk.CustomerCancellationReason.MISSING_FEATURES,\n customer_cancellation_comment=\"\",\n metadata={\n \"key\": 384298,\n },\n customer=polar_sdk.SubscriptionCustomer(\n id=\"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n created_at=parse_datetime(\"2025-06-15T22:53:11.971Z\"),\n modified_at=parse_datetime(\"2025-03-20T00:06:47.924Z\"),\n metadata={\n\n },\n external_id=\"usr_1337\",\n email=\"customer@example.com\",\n email_verified=True,\n type=polar_sdk.CustomerType.TEAM,\n name=\"John Doe\",\n billing_name=\"John Doe\",\n billing_address=polar_sdk.Address(\n country=polar_sdk.AddressCountryAlpha2.US,\n ),\n tax_id=[\n \"911144442\",\n \"us_ein\",\n ],\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n deleted_at=parse_datetime(\"2025-08-19T16:06:29.687Z\"),\n avatar_url=\"https://www.gravatar.com/avatar/xxx?d=404\",\n ),\n product=polar_sdk.Product(\n id=\"\",\n created_at=parse_datetime(\"2026-07-20T14:48:07.590Z\"),\n modified_at=parse_datetime(\"2026-07-02T08:42:56.558Z\"),\n trial_interval=polar_sdk.TrialInterval.MONTH,\n trial_interval_count=729960,\n name=\"\",\n description=\"obnoxiously save following clinch striking juicy\",\n visibility=polar_sdk.ProductVisibility.PRIVATE,\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n recurring_interval_count=951036,\n is_recurring=False,\n is_archived=False,\n organization_id=\"\",\n metadata={\n\n },\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-06-11T00:10:41.493Z\"),\n modified_at=parse_datetime(\"2026-06-08T03:34:59.881Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n price_currency=\"\",\n tax_behavior=polar_sdk.TaxBehaviorOption.LOCATION,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.DAY,\n price_amount=657408,\n ),\n ],\n benefits=[],\n medias=[\n polar_sdk.ProductMediaFileRead(\n id=\"\",\n organization_id=\"\",\n name=\"\",\n path=\"/srv\",\n mime_type=\"\",\n size=29348,\n storage_version=\"\",\n checksum_etag=\"\",\n checksum_sha256_base64=\"\",\n checksum_sha256_hex=None,\n last_modified_at=parse_datetime(\"2024-10-02T10:28:13.472Z\"),\n version=\"\",\n is_uploaded=True,\n created_at=parse_datetime(\"2025-10-07T09:47:56.854Z\"),\n size_readable=\"\",\n public_url=\"https://flowery-promise.org/\",\n ),\n ],\n attached_custom_fields=[],\n ),\n discount=polar_sdk.DiscountFixedRepeatDurationBase(\n duration=polar_sdk.DiscountDuration.ONCE,\n duration_in_months=66236,\n type=polar_sdk.DiscountType.FIXED,\n amount=1000,\n currency=\"usd\",\n amounts={\n \"eur\": 900,\n \"usd\": 1000,\n },\n created_at=parse_datetime(\"2026-04-19T17:57:35.152Z\"),\n modified_at=parse_datetime(\"2026-07-12T02:33:56.088Z\"),\n id=\"\",\n metadata={\n\n },\n name=\"\",\n code=\"\",\n starts_at=parse_datetime(\"2024-11-30T07:28:53.282Z\"),\n ends_at=parse_datetime(\"2024-06-22T20:22:02.420Z\"),\n max_redemptions=754422,\n redemptions_count=580493,\n organization_id=\"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n ),\n prices=[\n polar_sdk.LegacyRecurringProductPriceFixed(\n created_at=parse_datetime(\"2025-05-25T04:21:31.587Z\"),\n modified_at=parse_datetime(\"2025-02-18T12:40:10.475Z\"),\n id=\"\",\n source=polar_sdk.ProductPriceSource.CATALOG,\n price_currency=\"\",\n tax_behavior=None,\n is_archived=False,\n product_id=\"\",\n recurring_interval=polar_sdk.SubscriptionRecurringInterval.MONTH,\n price_amount=262394,\n ),\n ],\n meters=[\n polar_sdk.SubscriptionMeter(\n created_at=parse_datetime(\"2025-12-22T09:16:00.139Z\"),\n modified_at=None,\n id=\"\",\n consumed_units=25,\n credited_units=100,\n amount=0,\n meter_id=\"d498a884-e2cd-4d3e-8002-f536468a8b22\",\n meter=polar_sdk.Meter(\n metadata={\n \"key\": True,\n },\n created_at=parse_datetime(\"2024-12-05T20:26:36.699Z\"),\n modified_at=parse_datetime(\"2025-05-20T08:57:13.995Z\"),\n id=\"\",\n name=\"\",\n unit=polar_sdk.MeterUnit.SCALAR,\n filter_=polar_sdk.Filter(\n conjunction=polar_sdk.FilterConjunction.AND,\n clauses=[\n polar_sdk.FilterClause(\n property=\"\",\n operator=polar_sdk.FilterOperator.EQ,\n value=\"\",\n ),\n ],\n ),\n aggregation=polar_sdk.UniqueAggregation(\n property=\"\",\n ),\n organization_id=\"\",\n ),\n ),\n ],\n pending_update=polar_sdk.PendingSubscriptionUpdate(\n created_at=parse_datetime(\"2025-01-28T20:33:11.380Z\"),\n modified_at=parse_datetime(\"2025-11-07T12:08:57.166Z\"),\n id=\"\",\n applies_at=parse_datetime(\"2025-12-16T20:50:35.317Z\"),\n product_id=\"\",\n seats=610480,\n ),\n ),\n ))\n\n # Handle response\n print(res)" diff --git a/docs/models/benefitdiscordupdate.md b/docs/models/benefitdiscordupdate.md index 4191d4fe..cd1c3636 100644 --- a/docs/models/benefitdiscordupdate.md +++ b/docs/models/benefitdiscordupdate.md @@ -7,6 +7,5 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `metadata` | Dict[str, [models.BenefitDiscordUpdateMetadata](../models/benefitdiscordupdatemetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**. | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. | -| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. | | `type` | *Literal["discord"]* | :heavy_check_mark: | N/A | | `properties` | [OptionalNullable[models.BenefitDiscordCreateProperties]](../models/benefitdiscordcreateproperties.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/benefitdownloadablesupdate.md b/docs/models/benefitdownloadablesupdate.md index 46340fee..bcf2dbf2 100644 --- a/docs/models/benefitdownloadablesupdate.md +++ b/docs/models/benefitdownloadablesupdate.md @@ -7,6 +7,5 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `metadata` | Dict[str, [models.BenefitDownloadablesUpdateMetadata](../models/benefitdownloadablesupdatemetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**. | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. | -| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. | | `type` | *Literal["downloadables"]* | :heavy_check_mark: | N/A | | `properties` | [OptionalNullable[models.BenefitDownloadablesCreateProperties]](../models/benefitdownloadablescreateproperties.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/benefitgithubrepositoryupdate.md b/docs/models/benefitgithubrepositoryupdate.md index 8565a819..6f8e48e8 100644 --- a/docs/models/benefitgithubrepositoryupdate.md +++ b/docs/models/benefitgithubrepositoryupdate.md @@ -7,6 +7,5 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `metadata` | Dict[str, [models.BenefitGitHubRepositoryUpdateMetadata](../models/benefitgithubrepositoryupdatemetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**. | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. | -| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. | | `type` | *Literal["github_repository"]* | :heavy_check_mark: | N/A | | `properties` | [OptionalNullable[models.BenefitGitHubRepositoryCreateProperties]](../models/benefitgithubrepositorycreateproperties.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/benefitslacksharedchannelupdate.md b/docs/models/benefitslacksharedchannelupdate.md index 7a47ed85..d8050251 100644 --- a/docs/models/benefitslacksharedchannelupdate.md +++ b/docs/models/benefitslacksharedchannelupdate.md @@ -7,6 +7,5 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `metadata` | Dict[str, [models.BenefitSlackSharedChannelUpdateMetadata](../models/benefitslacksharedchannelupdatemetadata.md)] | :heavy_minus_sign: | Key-value object allowing you to store additional information.

The key must be a string with a maximum length of **40 characters**.
The value must be either:

* A string with a maximum length of **500 characters**
* An integer
* A floating-point number
* A boolean

You can store up to **50 key-value pairs**. | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the benefit. Will be displayed on products having this benefit. | -| `visibility` | [OptionalNullable[models.BenefitVisibility]](../models/benefitvisibility.md) | :heavy_minus_sign: | The visibility of the benefit in the customer portal. | | `type` | *Literal["slack_shared_channel"]* | :heavy_check_mark: | N/A | | `properties` | [OptionalNullable[models.BenefitSlackSharedChannelCreateProperties]](../models/benefitslacksharedchannelcreateproperties.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/checkoutcreateprices.md b/docs/models/checkoutcreateprices.md index d5cc6c41..d2df29ed 100644 --- a/docs/models/checkoutcreateprices.md +++ b/docs/models/checkoutcreateprices.md @@ -15,12 +15,6 @@ value: models.ProductPriceCustomCreate = /* values here */ value: models.ProductPriceFixedCreate = /* values here */ ``` -### `models.ProductPriceFreeCreate` - -```python -value: models.ProductPriceFreeCreate = /* values here */ -``` - ### `models.ProductPriceMeteredUnitCreate` ```python diff --git a/docs/models/customerproduct.md b/docs/models/customerproduct.md index ed29baf2..fbfa8c30 100644 --- a/docs/models/customerproduct.md +++ b/docs/models/customerproduct.md @@ -21,5 +21,5 @@ Schema of a product for customer portal. | `is_archived` | *bool* | :heavy_check_mark: | Whether the product is archived and no longer available. | | `organization_id` | *str* | :heavy_check_mark: | The ID of the organization owning the product. | | `prices` | List[[models.CustomerProductPrices](../models/customerproductprices.md)] | :heavy_check_mark: | List of available prices for this product. | -| `benefits` | List[[models.BenefitPublic](../models/benefitpublic.md)] | :heavy_check_mark: | The benefits granted by the product. | +| `benefits` | List[[models.BenefitPublic](../models/benefitpublic.md)] | :heavy_check_mark: | List of benefits granted by the product. | | `medias` | List[[models.ProductMediaFileRead](../models/productmediafileread.md)] | :heavy_check_mark: | The medias associated to the product. | \ No newline at end of file diff --git a/docs/models/filecreate.md b/docs/models/filecreate.md index 8c6f2acd..36546a67 100644 --- a/docs/models/filecreate.md +++ b/docs/models/filecreate.md @@ -21,3 +21,9 @@ value: models.OrganizationAvatarFileCreate = /* values here */ value: models.ProductMediaFileCreate = /* values here */ ``` +### `models.SupportCaseAttachmentFileCreate` + +```python +value: models.SupportCaseAttachmentFileCreate = /* values here */ +``` + diff --git a/docs/models/fileread.md b/docs/models/fileread.md index 2ff490c7..00cb2fb1 100644 --- a/docs/models/fileread.md +++ b/docs/models/fileread.md @@ -21,3 +21,9 @@ value: models.OrganizationAvatarFileRead = /* values here */ value: models.ProductMediaFileRead = /* values here */ ``` +### `models.SupportCaseAttachmentFileRead` + +```python +value: models.SupportCaseAttachmentFileRead = /* values here */ +``` + diff --git a/docs/models/fileservicetypes.md b/docs/models/fileservicetypes.md index d2e77e6b..8daf594e 100644 --- a/docs/models/fileservicetypes.md +++ b/docs/models/fileservicetypes.md @@ -3,8 +3,9 @@ ## Values -| Name | Value | -| --------------------- | --------------------- | -| `DOWNLOADABLE` | downloadable | -| `PRODUCT_MEDIA` | product_media | -| `ORGANIZATION_AVATAR` | organization_avatar | \ No newline at end of file +| Name | Value | +| ------------------------- | ------------------------- | +| `DOWNLOADABLE` | downloadable | +| `PRODUCT_MEDIA` | product_media | +| `ORGANIZATION_AVATAR` | organization_avatar | +| `SUPPORT_CASE_ATTACHMENT` | support_case_attachment | \ No newline at end of file diff --git a/docs/models/filesupdateresponsefilesupdate.md b/docs/models/filesupdateresponsefilesupdate.md index bbb45674..8eba7e82 100644 --- a/docs/models/filesupdateresponsefilesupdate.md +++ b/docs/models/filesupdateresponsefilesupdate.md @@ -23,3 +23,9 @@ value: models.ProductMediaFileRead = /* values here */ value: models.OrganizationAvatarFileRead = /* values here */ ``` +### `models.SupportCaseAttachmentFileRead` + +```python +value: models.SupportCaseAttachmentFileRead = /* values here */ +``` + diff --git a/docs/models/filesuploadedresponsefilesuploaded.md b/docs/models/filesuploadedresponsefilesuploaded.md index d12a0efe..c323adbc 100644 --- a/docs/models/filesuploadedresponsefilesuploaded.md +++ b/docs/models/filesuploadedresponsefilesuploaded.md @@ -23,3 +23,9 @@ value: models.ProductMediaFileRead = /* values here */ value: models.OrganizationAvatarFileRead = /* values here */ ``` +### `models.SupportCaseAttachmentFileRead` + +```python +value: models.SupportCaseAttachmentFileRead = /* values here */ +``` + diff --git a/docs/models/legacyrecurringproductprice.md b/docs/models/legacyrecurringproductprice.md index ebb47650..019d1ff4 100644 --- a/docs/models/legacyrecurringproductprice.md +++ b/docs/models/legacyrecurringproductprice.md @@ -15,9 +15,3 @@ value: models.LegacyRecurringProductPriceCustom = /* values here */ value: models.LegacyRecurringProductPriceFixed = /* values here */ ``` -### `models.LegacyRecurringProductPriceFree` - -```python -value: models.LegacyRecurringProductPriceFree = /* values here */ -``` - diff --git a/docs/models/legacyrecurringproductpricefree.md b/docs/models/legacyrecurringproductpricefree.md deleted file mode 100644 index 6a9476f7..00000000 --- a/docs/models/legacyrecurringproductpricefree.md +++ /dev/null @@ -1,23 +0,0 @@ -# LegacyRecurringProductPriceFree - -A free recurring price for a product, i.e. a subscription. - -**Deprecated**: The recurring interval should be set on the product itself. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | -| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | -| `id` | *str* | :heavy_check_mark: | The ID of the price. | -| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | -| `amount_type` | *Literal["free"]* | :heavy_check_mark: | N/A | -| `price_currency` | *str* | :heavy_check_mark: | The currency in which the customer will be charged. | -| `tax_behavior` | [Nullable[models.TaxBehaviorOption]](../models/taxbehavioroption.md) | :heavy_check_mark: | The tax behavior of the price. If null, it defaults to the organization's default tax behavior. | -| `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | -| `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | -| `type` | *Literal["recurring"]* | :heavy_check_mark: | The type of the price. | -| `recurring_interval` | [models.SubscriptionRecurringInterval](../models/subscriptionrecurringinterval.md) | :heavy_check_mark: | N/A | -| `legacy` | *Literal[True]* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/organizationfeaturesettings.md b/docs/models/organizationfeaturesettings.md index 8d837fa2..ecf20a33 100644 --- a/docs/models/organizationfeaturesettings.md +++ b/docs/models/organizationfeaturesettings.md @@ -13,5 +13,5 @@ | `overview_metrics` | List[*str*] | :heavy_minus_sign: | Ordered list of metric slugs shown on the dashboard overview. | | `reset_proration_behavior_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has access to reset proration behavior. | | `off_session_charges_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization can create and finalize draft orders via the API (off-session charges against a saved payment method). | -| `billing_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has billing enabled | -| `slack_benefit_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enables the slack shared channel benefit | \ No newline at end of file +| `slack_benefit_enabled` | *Optional[bool]* | :heavy_minus_sign: | Enables the slack shared channel benefit | +| `preview_access_enabled` | *Optional[bool]* | :heavy_minus_sign: | If this organization has preview access to new features enabled | \ No newline at end of file diff --git a/docs/models/productcreateonetimeprices.md b/docs/models/productcreateonetimeprices.md index 3368b97f..15a52c46 100644 --- a/docs/models/productcreateonetimeprices.md +++ b/docs/models/productcreateonetimeprices.md @@ -15,12 +15,6 @@ value: models.ProductPriceCustomCreate = /* values here */ value: models.ProductPriceFixedCreate = /* values here */ ``` -### `models.ProductPriceFreeCreate` - -```python -value: models.ProductPriceFreeCreate = /* values here */ -``` - ### `models.ProductPriceMeteredUnitCreate` ```python diff --git a/docs/models/productcreaterecurringprices.md b/docs/models/productcreaterecurringprices.md index a9dc5482..9916d640 100644 --- a/docs/models/productcreaterecurringprices.md +++ b/docs/models/productcreaterecurringprices.md @@ -15,12 +15,6 @@ value: models.ProductPriceCustomCreate = /* values here */ value: models.ProductPriceFixedCreate = /* values here */ ``` -### `models.ProductPriceFreeCreate` - -```python -value: models.ProductPriceFreeCreate = /* values here */ -``` - ### `models.ProductPriceMeteredUnitCreate` ```python diff --git a/docs/models/productprice.md b/docs/models/productprice.md index e696e370..2c9d46a9 100644 --- a/docs/models/productprice.md +++ b/docs/models/productprice.md @@ -15,12 +15,6 @@ value: models.ProductPriceCustom = /* values here */ value: models.ProductPriceFixed = /* values here */ ``` -### `models.ProductPriceFree` - -```python -value: models.ProductPriceFree = /* values here */ -``` - ### `models.ProductPriceMeteredUnit` ```python diff --git a/docs/models/productpricefree.md b/docs/models/productpricefree.md deleted file mode 100644 index 4cbb0aa9..00000000 --- a/docs/models/productpricefree.md +++ /dev/null @@ -1,18 +0,0 @@ -# ProductPriceFree - -A free price for a product. - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Creation timestamp of the object. | -| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Last modification timestamp of the object. | -| `id` | *str* | :heavy_check_mark: | The ID of the price. | -| `source` | [models.ProductPriceSource](../models/productpricesource.md) | :heavy_check_mark: | N/A | -| `amount_type` | *Literal["free"]* | :heavy_check_mark: | N/A | -| `price_currency` | *str* | :heavy_check_mark: | The currency in which the customer will be charged. | -| `tax_behavior` | [Nullable[models.TaxBehaviorOption]](../models/taxbehavioroption.md) | :heavy_check_mark: | The tax behavior of the price. If null, it defaults to the organization's default tax behavior. | -| `is_archived` | *bool* | :heavy_check_mark: | Whether the price is archived and no longer available. | -| `product_id` | *str* | :heavy_check_mark: | The ID of the product owning the price. | \ No newline at end of file diff --git a/docs/models/productpricefreecreate.md b/docs/models/productpricefreecreate.md deleted file mode 100644 index ef7ec575..00000000 --- a/docs/models/productpricefreecreate.md +++ /dev/null @@ -1,12 +0,0 @@ -# ProductPriceFreeCreate - -Schema to create a free price. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `amount_type` | *Literal["free"]* | :heavy_check_mark: | N/A | -| `price_currency` | [Optional[models.PresentmentCurrency]](../models/presentmentcurrency.md) | :heavy_minus_sign: | N/A | -| `tax_behavior` | [OptionalNullable[models.TaxBehaviorOption]](../models/taxbehavioroption.md) | :heavy_minus_sign: | The tax behavior of the price. If not set, it will default to the organization's default tax behavior. | \ No newline at end of file diff --git a/docs/models/supportcaseattachmentfilecreate.md b/docs/models/supportcaseattachmentfilecreate.md new file mode 100644 index 00000000..a8ccd1e7 --- /dev/null +++ b/docs/models/supportcaseattachmentfilecreate.md @@ -0,0 +1,17 @@ +# SupportCaseAttachmentFileCreate + +Schema to create a file attached to a support case. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `organization_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | 1dbfc517-0bbf-4301-9ba8-555ca42b9737 | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `mime_type` | *str* | :heavy_check_mark: | MIME type of the file. Images, videos, PDF, CSV, plain text, Word and Excel documents are supported. | | +| `size` | *int* | :heavy_check_mark: | Size of the file. A maximum of 250 MB is allowed for this type of file. | | +| `checksum_sha256_base64` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `upload` | [models.S3FileCreateMultipart](../models/s3filecreatemultipart.md) | :heavy_check_mark: | N/A | | +| `service` | *Literal["support_case_attachment"]* | :heavy_check_mark: | N/A | | +| `version` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/supportcaseattachmentfileread.md b/docs/models/supportcaseattachmentfileread.md new file mode 100644 index 00000000..dec5b152 --- /dev/null +++ b/docs/models/supportcaseattachmentfileread.md @@ -0,0 +1,25 @@ +# SupportCaseAttachmentFileRead + +File attached to a support case (private; fetched via presigned URL). + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *str* | :heavy_check_mark: | The ID of the object. | +| `organization_id` | *str* | :heavy_check_mark: | N/A | +| `name` | *str* | :heavy_check_mark: | N/A | +| `path` | *str* | :heavy_check_mark: | N/A | +| `mime_type` | *str* | :heavy_check_mark: | N/A | +| `size` | *int* | :heavy_check_mark: | N/A | +| `storage_version` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `checksum_etag` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `checksum_sha256_base64` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `checksum_sha256_hex` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `last_modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `version` | *Nullable[str]* | :heavy_check_mark: | N/A | +| `service` | *Literal["support_case_attachment"]* | :heavy_check_mark: | N/A | +| `is_uploaded` | *bool* | :heavy_check_mark: | N/A | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | +| `size_readable` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/taxidformat.md b/docs/models/taxidformat.md index 2ce02eb6..1a504810 100644 --- a/docs/models/taxidformat.md +++ b/docs/models/taxidformat.md @@ -83,4 +83,5 @@ Ref: https://docs.stripe.com/billing/customer/tax-ids#supported-tax-id | `UY_RUC` | uy_ruc | | `VE_RIF` | ve_rif | | `VN_TIN` | vn_tin | -| `ZA_VAT` | za_vat | \ No newline at end of file +| `ZA_VAT` | za_vat | +| `MU_TAN` | mu_tan | \ No newline at end of file diff --git a/docs/models/two.md b/docs/models/two.md index 9b2de055..e2a3a2e8 100644 --- a/docs/models/two.md +++ b/docs/models/two.md @@ -15,12 +15,6 @@ value: models.ProductPriceCustomCreate = /* values here */ value: models.ProductPriceFixedCreate = /* values here */ ``` -### `models.ProductPriceFreeCreate` - -```python -value: models.ProductPriceFreeCreate = /* values here */ -``` - ### `models.ProductPriceMeteredUnitCreate` ```python diff --git a/docs/sdks/benefits/README.md b/docs/sdks/benefits/README.md index 59271550..6f5d73ab 100644 --- a/docs/sdks/benefits/README.md +++ b/docs/sdks/benefits/README.md @@ -171,7 +171,7 @@ with Polar( ) as polar: res = polar.benefits.update(id="", request_body={ - "type": "custom", + "type": "discord", }) # Handle response diff --git a/pyproject.toml b/pyproject.toml index 53ee1d3f..96095e73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "polar-sdk" -version = "0.31.7" +version = "0.31.8" description = "Polar SDK for Python" authors = [{ name = "Polar" },] readme = "README-PYPI.md" diff --git a/src/polar_sdk/_version.py b/src/polar_sdk/_version.py index 94443ba3..063faa81 100644 --- a/src/polar_sdk/_version.py +++ b/src/polar_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "polar-sdk" -__version__: str = "0.31.7" +__version__: str = "0.31.8" __openapi_doc_version__: str = "0.1.0" __gen_version__: str = "2.737.0" -__user_agent__: str = "speakeasy-sdk/python 0.31.7 2.737.0 0.1.0 polar-sdk" +__user_agent__: str = "speakeasy-sdk/python 0.31.8 2.737.0 0.1.0 polar-sdk" try: if __package__ is not None: diff --git a/src/polar_sdk/models/__init__.py b/src/polar_sdk/models/__init__.py index 91b8c3ac..a979a755 100644 --- a/src/polar_sdk/models/__init__.py +++ b/src/polar_sdk/models/__init__.py @@ -1756,10 +1756,6 @@ LegacyRecurringProductPriceFixed, LegacyRecurringProductPriceFixedTypedDict, ) - from .legacyrecurringproductpricefree import ( - LegacyRecurringProductPriceFree, - LegacyRecurringProductPriceFreeTypedDict, - ) from .license_keys_get_activationop import ( LicenseKeysGetActivationRequest, LicenseKeysGetActivationRequestTypedDict, @@ -2663,11 +2659,6 @@ ProductPriceFixedCreate, ProductPriceFixedCreateTypedDict, ) - from .productpricefree import ProductPriceFree, ProductPriceFreeTypedDict - from .productpricefreecreate import ( - ProductPriceFreeCreate, - ProductPriceFreeCreateTypedDict, - ) from .productpricemeter import ProductPriceMeter, ProductPriceMeterTypedDict from .productpricemeteredunit import ( ProductPriceMeteredUnit, @@ -3056,6 +3047,14 @@ SubscriptionUpdateSeatsTypedDict, ) from .subtype import SubType + from .supportcaseattachmentfilecreate import ( + SupportCaseAttachmentFileCreate, + SupportCaseAttachmentFileCreateTypedDict, + ) + from .supportcaseattachmentfileread import ( + SupportCaseAttachmentFileRead, + SupportCaseAttachmentFileReadTypedDict, + ) from .systemevent import SystemEvent, SystemEventTypedDict from .taxbehavior import TaxBehavior from .taxbehavioroption import TaxBehaviorOption @@ -4565,8 +4564,6 @@ "LegacyRecurringProductPriceCustomTypedDict", "LegacyRecurringProductPriceFixed", "LegacyRecurringProductPriceFixedTypedDict", - "LegacyRecurringProductPriceFree", - "LegacyRecurringProductPriceFreeTypedDict", "LegacyRecurringProductPriceTypedDict", "LegalEntity", "LegalEntityTypedDict", @@ -5237,10 +5234,6 @@ "ProductPriceFixedCreate", "ProductPriceFixedCreateTypedDict", "ProductPriceFixedTypedDict", - "ProductPriceFree", - "ProductPriceFreeCreate", - "ProductPriceFreeCreateTypedDict", - "ProductPriceFreeTypedDict", "ProductPriceMeter", "ProductPriceMeterTypedDict", "ProductPriceMeteredUnit", @@ -5508,6 +5501,10 @@ "SubscriptionsUpdateRequestTypedDict", "SucceededCheckouts", "SucceededCheckoutsTypedDict", + "SupportCaseAttachmentFileCreate", + "SupportCaseAttachmentFileCreateTypedDict", + "SupportCaseAttachmentFileRead", + "SupportCaseAttachmentFileReadTypedDict", "SwitchingFrom", "SystemEvent", "SystemEventTypedDict", @@ -6846,8 +6843,6 @@ "LegacyRecurringProductPriceCustomTypedDict": ".legacyrecurringproductpricecustom", "LegacyRecurringProductPriceFixed": ".legacyrecurringproductpricefixed", "LegacyRecurringProductPriceFixedTypedDict": ".legacyrecurringproductpricefixed", - "LegacyRecurringProductPriceFree": ".legacyrecurringproductpricefree", - "LegacyRecurringProductPriceFreeTypedDict": ".legacyrecurringproductpricefree", "LicenseKeysGetActivationRequest": ".license_keys_get_activationop", "LicenseKeysGetActivationRequestTypedDict": ".license_keys_get_activationop", "LicenseKeysGetRequest": ".license_keys_getop", @@ -7577,10 +7572,6 @@ "ProductPriceFixedTypedDict": ".productpricefixed", "ProductPriceFixedCreate": ".productpricefixedcreate", "ProductPriceFixedCreateTypedDict": ".productpricefixedcreate", - "ProductPriceFree": ".productpricefree", - "ProductPriceFreeTypedDict": ".productpricefree", - "ProductPriceFreeCreate": ".productpricefreecreate", - "ProductPriceFreeCreateTypedDict": ".productpricefreecreate", "ProductPriceMeter": ".productpricemeter", "ProductPriceMeterTypedDict": ".productpricemeter", "ProductPriceMeteredUnit": ".productpricemeteredunit", @@ -7883,6 +7874,10 @@ "SubscriptionUpdateSeats": ".subscriptionupdateseats", "SubscriptionUpdateSeatsTypedDict": ".subscriptionupdateseats", "SubType": ".subtype", + "SupportCaseAttachmentFileCreate": ".supportcaseattachmentfilecreate", + "SupportCaseAttachmentFileCreateTypedDict": ".supportcaseattachmentfilecreate", + "SupportCaseAttachmentFileRead": ".supportcaseattachmentfileread", + "SupportCaseAttachmentFileReadTypedDict": ".supportcaseattachmentfileread", "SystemEvent": ".systemevent", "SystemEventTypedDict": ".systemevent", "TaxBehavior": ".taxbehavior", diff --git a/src/polar_sdk/models/benefitdiscordupdate.py b/src/polar_sdk/models/benefitdiscordupdate.py index 45ddec82..00a97bc6 100644 --- a/src/polar_sdk/models/benefitdiscordupdate.py +++ b/src/polar_sdk/models/benefitdiscordupdate.py @@ -5,7 +5,6 @@ BenefitDiscordCreateProperties, BenefitDiscordCreatePropertiesTypedDict, ) -from .benefitvisibility import BenefitVisibility from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic @@ -41,8 +40,6 @@ class BenefitDiscordUpdateTypedDict(TypedDict): """ description: NotRequired[Nullable[str]] r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: NotRequired[Nullable[BenefitVisibility]] - r"""The visibility of the benefit in the customer portal.""" type: Literal["discord"] properties: NotRequired[Nullable[BenefitDiscordCreatePropertiesTypedDict]] @@ -65,9 +62,6 @@ class BenefitDiscordUpdate(BaseModel): description: OptionalNullable[str] = UNSET r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: OptionalNullable[BenefitVisibility] = UNSET - r"""The visibility of the benefit in the customer portal.""" - TYPE: Annotated[ Annotated[Literal["discord"], AfterValidator(validate_const("discord"))], pydantic.Field(alias="type"), @@ -77,8 +71,8 @@ class BenefitDiscordUpdate(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["metadata", "description", "visibility", "properties"] - nullable_fields = ["description", "visibility", "properties"] + optional_fields = ["metadata", "description", "properties"] + nullable_fields = ["description", "properties"] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefitdownloadablesupdate.py b/src/polar_sdk/models/benefitdownloadablesupdate.py index 9335cde9..d269f9cd 100644 --- a/src/polar_sdk/models/benefitdownloadablesupdate.py +++ b/src/polar_sdk/models/benefitdownloadablesupdate.py @@ -5,7 +5,6 @@ BenefitDownloadablesCreateProperties, BenefitDownloadablesCreatePropertiesTypedDict, ) -from .benefitvisibility import BenefitVisibility from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic @@ -41,8 +40,6 @@ class BenefitDownloadablesUpdateTypedDict(TypedDict): """ description: NotRequired[Nullable[str]] r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: NotRequired[Nullable[BenefitVisibility]] - r"""The visibility of the benefit in the customer portal.""" type: Literal["downloadables"] properties: NotRequired[Nullable[BenefitDownloadablesCreatePropertiesTypedDict]] @@ -65,9 +62,6 @@ class BenefitDownloadablesUpdate(BaseModel): description: OptionalNullable[str] = UNSET r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: OptionalNullable[BenefitVisibility] = UNSET - r"""The visibility of the benefit in the customer portal.""" - TYPE: Annotated[ Annotated[ Literal["downloadables"], AfterValidator(validate_const("downloadables")) @@ -79,8 +73,8 @@ class BenefitDownloadablesUpdate(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["metadata", "description", "visibility", "properties"] - nullable_fields = ["description", "visibility", "properties"] + optional_fields = ["metadata", "description", "properties"] + nullable_fields = ["description", "properties"] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefitgithubrepositoryupdate.py b/src/polar_sdk/models/benefitgithubrepositoryupdate.py index dc9ea086..0811493a 100644 --- a/src/polar_sdk/models/benefitgithubrepositoryupdate.py +++ b/src/polar_sdk/models/benefitgithubrepositoryupdate.py @@ -5,7 +5,6 @@ BenefitGitHubRepositoryCreateProperties, BenefitGitHubRepositoryCreatePropertiesTypedDict, ) -from .benefitvisibility import BenefitVisibility from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic @@ -41,8 +40,6 @@ class BenefitGitHubRepositoryUpdateTypedDict(TypedDict): """ description: NotRequired[Nullable[str]] r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: NotRequired[Nullable[BenefitVisibility]] - r"""The visibility of the benefit in the customer portal.""" type: Literal["github_repository"] properties: NotRequired[Nullable[BenefitGitHubRepositoryCreatePropertiesTypedDict]] @@ -65,9 +62,6 @@ class BenefitGitHubRepositoryUpdate(BaseModel): description: OptionalNullable[str] = UNSET r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: OptionalNullable[BenefitVisibility] = UNSET - r"""The visibility of the benefit in the customer portal.""" - TYPE: Annotated[ Annotated[ Literal["github_repository"], @@ -80,8 +74,8 @@ class BenefitGitHubRepositoryUpdate(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["metadata", "description", "visibility", "properties"] - nullable_fields = ["description", "visibility", "properties"] + optional_fields = ["metadata", "description", "properties"] + nullable_fields = ["description", "properties"] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/benefits_updateop.py b/src/polar_sdk/models/benefits_updateop.py index 93e05068..75798a1c 100644 --- a/src/polar_sdk/models/benefits_updateop.py +++ b/src/polar_sdk/models/benefits_updateop.py @@ -36,14 +36,14 @@ BenefitsUpdateBenefitUpdateTypedDict = TypeAliasType( "BenefitsUpdateBenefitUpdateTypedDict", Union[ - BenefitCustomUpdateTypedDict, BenefitDiscordUpdateTypedDict, BenefitGitHubRepositoryUpdateTypedDict, BenefitDownloadablesUpdateTypedDict, + BenefitSlackSharedChannelUpdateTypedDict, + BenefitCustomUpdateTypedDict, BenefitLicenseKeysUpdateTypedDict, BenefitMeterCreditUpdateTypedDict, BenefitFeatureFlagUpdateTypedDict, - BenefitSlackSharedChannelUpdateTypedDict, ], ) @@ -51,14 +51,14 @@ BenefitsUpdateBenefitUpdate = TypeAliasType( "BenefitsUpdateBenefitUpdate", Union[ - BenefitCustomUpdate, BenefitDiscordUpdate, BenefitGitHubRepositoryUpdate, BenefitDownloadablesUpdate, + BenefitSlackSharedChannelUpdate, + BenefitCustomUpdate, BenefitLicenseKeysUpdate, BenefitMeterCreditUpdate, BenefitFeatureFlagUpdate, - BenefitSlackSharedChannelUpdate, ], ) diff --git a/src/polar_sdk/models/benefitslacksharedchannelupdate.py b/src/polar_sdk/models/benefitslacksharedchannelupdate.py index 09519dc1..be2c473c 100644 --- a/src/polar_sdk/models/benefitslacksharedchannelupdate.py +++ b/src/polar_sdk/models/benefitslacksharedchannelupdate.py @@ -5,7 +5,6 @@ BenefitSlackSharedChannelCreateProperties, BenefitSlackSharedChannelCreatePropertiesTypedDict, ) -from .benefitvisibility import BenefitVisibility from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL from polar_sdk.utils import validate_const import pydantic @@ -41,8 +40,6 @@ class BenefitSlackSharedChannelUpdateTypedDict(TypedDict): """ description: NotRequired[Nullable[str]] r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: NotRequired[Nullable[BenefitVisibility]] - r"""The visibility of the benefit in the customer portal.""" type: Literal["slack_shared_channel"] properties: NotRequired[ Nullable[BenefitSlackSharedChannelCreatePropertiesTypedDict] @@ -67,9 +64,6 @@ class BenefitSlackSharedChannelUpdate(BaseModel): description: OptionalNullable[str] = UNSET r"""The description of the benefit. Will be displayed on products having this benefit.""" - visibility: OptionalNullable[BenefitVisibility] = UNSET - r"""The visibility of the benefit in the customer portal.""" - TYPE: Annotated[ Annotated[ Literal["slack_shared_channel"], @@ -82,8 +76,8 @@ class BenefitSlackSharedChannelUpdate(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["metadata", "description", "visibility", "properties"] - nullable_fields = ["description", "visibility", "properties"] + optional_fields = ["metadata", "description", "properties"] + nullable_fields = ["description", "properties"] null_default_fields = [] serialized = handler(self) diff --git a/src/polar_sdk/models/checkoutcreate.py b/src/polar_sdk/models/checkoutcreate.py index 090a7681..b9ed2326 100644 --- a/src/polar_sdk/models/checkoutcreate.py +++ b/src/polar_sdk/models/checkoutcreate.py @@ -11,10 +11,6 @@ ProductPriceFixedCreate, ProductPriceFixedCreateTypedDict, ) -from .productpricefreecreate import ( - ProductPriceFreeCreate, - ProductPriceFreeCreateTypedDict, -) from .productpricemeteredunitcreate import ( ProductPriceMeteredUnitCreate, ProductPriceMeteredUnitCreateTypedDict, @@ -65,7 +61,6 @@ CheckoutCreatePricesTypedDict = TypeAliasType( "CheckoutCreatePricesTypedDict", Union[ - ProductPriceFreeCreateTypedDict, ProductPriceFixedCreateTypedDict, ProductPriceSeatBasedCreateTypedDict, ProductPriceCustomCreateTypedDict, @@ -78,7 +73,6 @@ Union[ Annotated[ProductPriceCustomCreate, Tag("custom")], Annotated[ProductPriceFixedCreate, Tag("fixed")], - Annotated[ProductPriceFreeCreate, Tag("free")], Annotated[ProductPriceMeteredUnitCreate, Tag("metered_unit")], Annotated[ProductPriceSeatBasedCreate, Tag("seat_based")], ], diff --git a/src/polar_sdk/models/customerproduct.py b/src/polar_sdk/models/customerproduct.py index 4746ae97..2791bb30 100644 --- a/src/polar_sdk/models/customerproduct.py +++ b/src/polar_sdk/models/customerproduct.py @@ -60,7 +60,7 @@ class CustomerProductTypedDict(TypedDict): prices: List[CustomerProductPricesTypedDict] r"""List of available prices for this product.""" benefits: List[BenefitPublicTypedDict] - r"""The benefits granted by the product.""" + r"""List of benefits granted by the product.""" medias: List[ProductMediaFileReadTypedDict] r"""The medias associated to the product.""" @@ -110,7 +110,7 @@ class CustomerProduct(BaseModel): r"""List of available prices for this product.""" benefits: List[BenefitPublic] - r"""The benefits granted by the product.""" + r"""List of benefits granted by the product.""" medias: List[ProductMediaFileRead] r"""The medias associated to the product.""" diff --git a/src/polar_sdk/models/filecreate.py b/src/polar_sdk/models/filecreate.py index 123ec8f8..d4c1235a 100644 --- a/src/polar_sdk/models/filecreate.py +++ b/src/polar_sdk/models/filecreate.py @@ -13,6 +13,10 @@ ProductMediaFileCreate, ProductMediaFileCreateTypedDict, ) +from .supportcaseattachmentfilecreate import ( + SupportCaseAttachmentFileCreate, + SupportCaseAttachmentFileCreateTypedDict, +) from polar_sdk.utils import get_discriminator from pydantic import Discriminator, Tag from typing import Union @@ -25,6 +29,7 @@ DownloadableFileCreateTypedDict, ProductMediaFileCreateTypedDict, OrganizationAvatarFileCreateTypedDict, + SupportCaseAttachmentFileCreateTypedDict, ], ) @@ -34,6 +39,7 @@ Annotated[DownloadableFileCreate, Tag("downloadable")], Annotated[OrganizationAvatarFileCreate, Tag("organization_avatar")], Annotated[ProductMediaFileCreate, Tag("product_media")], + Annotated[SupportCaseAttachmentFileCreate, Tag("support_case_attachment")], ], Discriminator(lambda m: get_discriminator(m, "service", "service")), ] diff --git a/src/polar_sdk/models/files_updateop.py b/src/polar_sdk/models/files_updateop.py index 89218744..ccce52c3 100644 --- a/src/polar_sdk/models/files_updateop.py +++ b/src/polar_sdk/models/files_updateop.py @@ -8,6 +8,10 @@ OrganizationAvatarFileReadTypedDict, ) from .productmediafileread import ProductMediaFileRead, ProductMediaFileReadTypedDict +from .supportcaseattachmentfileread import ( + SupportCaseAttachmentFileRead, + SupportCaseAttachmentFileReadTypedDict, +) from polar_sdk.types import BaseModel from polar_sdk.utils import ( FieldMetadata, @@ -41,6 +45,7 @@ class FilesUpdateRequest(BaseModel): "FilesUpdateResponseFilesUpdateTypedDict", Union[ DownloadableFileReadTypedDict, + SupportCaseAttachmentFileReadTypedDict, ProductMediaFileReadTypedDict, OrganizationAvatarFileReadTypedDict, ], @@ -53,6 +58,7 @@ class FilesUpdateRequest(BaseModel): Annotated[DownloadableFileRead, Tag("downloadable")], Annotated[ProductMediaFileRead, Tag("product_media")], Annotated[OrganizationAvatarFileRead, Tag("organization_avatar")], + Annotated[SupportCaseAttachmentFileRead, Tag("support_case_attachment")], ], Discriminator(lambda m: get_discriminator(m, "service", "service")), ] diff --git a/src/polar_sdk/models/files_uploadedop.py b/src/polar_sdk/models/files_uploadedop.py index c1041a17..2cb13eb4 100644 --- a/src/polar_sdk/models/files_uploadedop.py +++ b/src/polar_sdk/models/files_uploadedop.py @@ -8,6 +8,10 @@ OrganizationAvatarFileReadTypedDict, ) from .productmediafileread import ProductMediaFileRead, ProductMediaFileReadTypedDict +from .supportcaseattachmentfileread import ( + SupportCaseAttachmentFileRead, + SupportCaseAttachmentFileReadTypedDict, +) from polar_sdk.types import BaseModel from polar_sdk.utils import ( FieldMetadata, @@ -42,6 +46,7 @@ class FilesUploadedRequest(BaseModel): "FilesUploadedResponseFilesUploadedTypedDict", Union[ DownloadableFileReadTypedDict, + SupportCaseAttachmentFileReadTypedDict, ProductMediaFileReadTypedDict, OrganizationAvatarFileReadTypedDict, ], @@ -54,6 +59,7 @@ class FilesUploadedRequest(BaseModel): Annotated[DownloadableFileRead, Tag("downloadable")], Annotated[ProductMediaFileRead, Tag("product_media")], Annotated[OrganizationAvatarFileRead, Tag("organization_avatar")], + Annotated[SupportCaseAttachmentFileRead, Tag("support_case_attachment")], ], Discriminator(lambda m: get_discriminator(m, "service", "service")), ] diff --git a/src/polar_sdk/models/fileservicetypes.py b/src/polar_sdk/models/fileservicetypes.py index edc374ba..5fb81cec 100644 --- a/src/polar_sdk/models/fileservicetypes.py +++ b/src/polar_sdk/models/fileservicetypes.py @@ -8,3 +8,4 @@ class FileServiceTypes(str, Enum): DOWNLOADABLE = "downloadable" PRODUCT_MEDIA = "product_media" ORGANIZATION_AVATAR = "organization_avatar" + SUPPORT_CASE_ATTACHMENT = "support_case_attachment" diff --git a/src/polar_sdk/models/legacyrecurringproductprice.py b/src/polar_sdk/models/legacyrecurringproductprice.py index b36505f0..8ad26aab 100644 --- a/src/polar_sdk/models/legacyrecurringproductprice.py +++ b/src/polar_sdk/models/legacyrecurringproductprice.py @@ -9,10 +9,6 @@ LegacyRecurringProductPriceFixed, LegacyRecurringProductPriceFixedTypedDict, ) -from .legacyrecurringproductpricefree import ( - LegacyRecurringProductPriceFree, - LegacyRecurringProductPriceFreeTypedDict, -) from polar_sdk.utils import get_discriminator from pydantic import Discriminator, Tag from typing import Union @@ -22,7 +18,6 @@ LegacyRecurringProductPriceTypedDict = TypeAliasType( "LegacyRecurringProductPriceTypedDict", Union[ - LegacyRecurringProductPriceFreeTypedDict, LegacyRecurringProductPriceFixedTypedDict, LegacyRecurringProductPriceCustomTypedDict, ], @@ -33,7 +28,6 @@ Union[ Annotated[LegacyRecurringProductPriceCustom, Tag("custom")], Annotated[LegacyRecurringProductPriceFixed, Tag("fixed")], - Annotated[LegacyRecurringProductPriceFree, Tag("free")], ], Discriminator(lambda m: get_discriminator(m, "amount_type", "amount_type")), ] diff --git a/src/polar_sdk/models/legacyrecurringproductpricefree.py b/src/polar_sdk/models/legacyrecurringproductpricefree.py deleted file mode 100644 index 9165eb3b..00000000 --- a/src/polar_sdk/models/legacyrecurringproductpricefree.py +++ /dev/null @@ -1,120 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .productpricesource import ProductPriceSource -from .subscriptionrecurringinterval import SubscriptionRecurringInterval -from .taxbehavioroption import TaxBehaviorOption -from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL -from polar_sdk.utils import validate_const -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from typing import Literal -from typing_extensions import Annotated, TypedDict - - -class LegacyRecurringProductPriceFreeTypedDict(TypedDict): - r"""A free recurring price for a product, i.e. a subscription. - - **Deprecated**: The recurring interval should be set on the product itself. - """ - - created_at: datetime - r"""Creation timestamp of the object.""" - modified_at: Nullable[datetime] - r"""Last modification timestamp of the object.""" - id: str - r"""The ID of the price.""" - source: ProductPriceSource - price_currency: str - r"""The currency in which the customer will be charged.""" - tax_behavior: Nullable[TaxBehaviorOption] - r"""The tax behavior of the price. If null, it defaults to the organization's default tax behavior.""" - is_archived: bool - r"""Whether the price is archived and no longer available.""" - product_id: str - r"""The ID of the product owning the price.""" - recurring_interval: SubscriptionRecurringInterval - amount_type: Literal["free"] - type: Literal["recurring"] - r"""The type of the price.""" - legacy: Literal[True] - - -class LegacyRecurringProductPriceFree(BaseModel): - r"""A free recurring price for a product, i.e. a subscription. - - **Deprecated**: The recurring interval should be set on the product itself. - """ - - created_at: datetime - r"""Creation timestamp of the object.""" - - modified_at: Nullable[datetime] - r"""Last modification timestamp of the object.""" - - id: str - r"""The ID of the price.""" - - source: ProductPriceSource - - price_currency: str - r"""The currency in which the customer will be charged.""" - - tax_behavior: Nullable[TaxBehaviorOption] - r"""The tax behavior of the price. If null, it defaults to the organization's default tax behavior.""" - - is_archived: bool - r"""Whether the price is archived and no longer available.""" - - product_id: str - r"""The ID of the product owning the price.""" - - recurring_interval: SubscriptionRecurringInterval - - AMOUNT_TYPE: Annotated[ - Annotated[Literal["free"], AfterValidator(validate_const("free"))], - pydantic.Field(alias="amount_type"), - ] = "free" - - TYPE: Annotated[ - Annotated[Literal["recurring"], AfterValidator(validate_const("recurring"))], - pydantic.Field(alias="type"), - ] = "recurring" - r"""The type of the price.""" - - LEGACY: Annotated[ - Annotated[Literal[True], AfterValidator(validate_const(True))], - pydantic.Field(alias="legacy"), - ] = True - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [] - nullable_fields = ["modified_at", "tax_behavior"] - null_default_fields = [] - - serialized = handler(self) - - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k) - serialized.pop(k, None) - - optional_nullable = k in optional_fields and k in nullable_fields - is_set = ( - self.__pydantic_fields_set__.intersection({n}) - or k in null_default_fields - ) # pylint: disable=no-member - - if val is not None and val != UNSET_SENTINEL: - m[k] = val - elif val != UNSET_SENTINEL and ( - not k in optional_fields or (optional_nullable and is_set) - ): - m[k] = val - - return m diff --git a/src/polar_sdk/models/listresource_fileread_.py b/src/polar_sdk/models/listresource_fileread_.py index 7eb2aa4c..13a08b4d 100644 --- a/src/polar_sdk/models/listresource_fileread_.py +++ b/src/polar_sdk/models/listresource_fileread_.py @@ -8,6 +8,10 @@ ) from .pagination import Pagination, PaginationTypedDict from .productmediafileread import ProductMediaFileRead, ProductMediaFileReadTypedDict +from .supportcaseattachmentfileread import ( + SupportCaseAttachmentFileRead, + SupportCaseAttachmentFileReadTypedDict, +) from polar_sdk.types import BaseModel from polar_sdk.utils import get_discriminator from pydantic import Discriminator, Tag @@ -19,6 +23,7 @@ "FileReadTypedDict", Union[ DownloadableFileReadTypedDict, + SupportCaseAttachmentFileReadTypedDict, ProductMediaFileReadTypedDict, OrganizationAvatarFileReadTypedDict, ], @@ -30,6 +35,7 @@ Annotated[DownloadableFileRead, Tag("downloadable")], Annotated[OrganizationAvatarFileRead, Tag("organization_avatar")], Annotated[ProductMediaFileRead, Tag("product_media")], + Annotated[SupportCaseAttachmentFileRead, Tag("support_case_attachment")], ], Discriminator(lambda m: get_discriminator(m, "service", "service")), ] diff --git a/src/polar_sdk/models/organizationfeaturesettings.py b/src/polar_sdk/models/organizationfeaturesettings.py index 04fd5e09..34a75e54 100644 --- a/src/polar_sdk/models/organizationfeaturesettings.py +++ b/src/polar_sdk/models/organizationfeaturesettings.py @@ -24,10 +24,10 @@ class OrganizationFeatureSettingsTypedDict(TypedDict): r"""If this organization has access to reset proration behavior.""" off_session_charges_enabled: NotRequired[bool] r"""If this organization can create and finalize draft orders via the API (off-session charges against a saved payment method).""" - billing_enabled: NotRequired[bool] - r"""If this organization has billing enabled""" slack_benefit_enabled: NotRequired[bool] r"""Enables the slack shared channel benefit""" + preview_access_enabled: NotRequired[bool] + r"""If this organization has preview access to new features enabled""" class OrganizationFeatureSettings(BaseModel): @@ -55,12 +55,12 @@ class OrganizationFeatureSettings(BaseModel): off_session_charges_enabled: Optional[bool] = False r"""If this organization can create and finalize draft orders via the API (off-session charges against a saved payment method).""" - billing_enabled: Optional[bool] = False - r"""If this organization has billing enabled""" - slack_benefit_enabled: Optional[bool] = False r"""Enables the slack shared channel benefit""" + preview_access_enabled: Optional[bool] = False + r"""If this organization has preview access to new features enabled""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = [ @@ -72,8 +72,8 @@ def serialize_model(self, handler): "overview_metrics", "reset_proration_behavior_enabled", "off_session_charges_enabled", - "billing_enabled", "slack_benefit_enabled", + "preview_access_enabled", ] nullable_fields = ["overview_metrics"] null_default_fields = [] diff --git a/src/polar_sdk/models/productcreateonetime.py b/src/polar_sdk/models/productcreateonetime.py index 4d84bcd7..532fecda 100644 --- a/src/polar_sdk/models/productcreateonetime.py +++ b/src/polar_sdk/models/productcreateonetime.py @@ -13,10 +13,6 @@ ProductPriceFixedCreate, ProductPriceFixedCreateTypedDict, ) -from .productpricefreecreate import ( - ProductPriceFreeCreate, - ProductPriceFreeCreateTypedDict, -) from .productpricemeteredunitcreate import ( ProductPriceMeteredUnitCreate, ProductPriceMeteredUnitCreateTypedDict, @@ -46,7 +42,6 @@ ProductCreateOneTimePricesTypedDict = TypeAliasType( "ProductCreateOneTimePricesTypedDict", Union[ - ProductPriceFreeCreateTypedDict, ProductPriceFixedCreateTypedDict, ProductPriceSeatBasedCreateTypedDict, ProductPriceCustomCreateTypedDict, @@ -59,7 +54,6 @@ Union[ Annotated[ProductPriceCustomCreate, Tag("custom")], Annotated[ProductPriceFixedCreate, Tag("fixed")], - Annotated[ProductPriceFreeCreate, Tag("free")], Annotated[ProductPriceMeteredUnitCreate, Tag("metered_unit")], Annotated[ProductPriceSeatBasedCreate, Tag("seat_based")], ], diff --git a/src/polar_sdk/models/productcreaterecurring.py b/src/polar_sdk/models/productcreaterecurring.py index 152605c1..618ac9ea 100644 --- a/src/polar_sdk/models/productcreaterecurring.py +++ b/src/polar_sdk/models/productcreaterecurring.py @@ -13,10 +13,6 @@ ProductPriceFixedCreate, ProductPriceFixedCreateTypedDict, ) -from .productpricefreecreate import ( - ProductPriceFreeCreate, - ProductPriceFreeCreateTypedDict, -) from .productpricemeteredunitcreate import ( ProductPriceMeteredUnitCreate, ProductPriceMeteredUnitCreateTypedDict, @@ -48,7 +44,6 @@ ProductCreateRecurringPricesTypedDict = TypeAliasType( "ProductCreateRecurringPricesTypedDict", Union[ - ProductPriceFreeCreateTypedDict, ProductPriceFixedCreateTypedDict, ProductPriceSeatBasedCreateTypedDict, ProductPriceCustomCreateTypedDict, @@ -61,7 +56,6 @@ Union[ Annotated[ProductPriceCustomCreate, Tag("custom")], Annotated[ProductPriceFixedCreate, Tag("fixed")], - Annotated[ProductPriceFreeCreate, Tag("free")], Annotated[ProductPriceMeteredUnitCreate, Tag("metered_unit")], Annotated[ProductPriceSeatBasedCreate, Tag("seat_based")], ], diff --git a/src/polar_sdk/models/productprice.py b/src/polar_sdk/models/productprice.py index a95e3503..80cf0340 100644 --- a/src/polar_sdk/models/productprice.py +++ b/src/polar_sdk/models/productprice.py @@ -3,7 +3,6 @@ from __future__ import annotations from .productpricecustom import ProductPriceCustom, ProductPriceCustomTypedDict from .productpricefixed import ProductPriceFixed, ProductPriceFixedTypedDict -from .productpricefree import ProductPriceFree, ProductPriceFreeTypedDict from .productpricemeteredunit import ( ProductPriceMeteredUnit, ProductPriceMeteredUnitTypedDict, @@ -18,7 +17,6 @@ ProductPriceTypedDict = TypeAliasType( "ProductPriceTypedDict", Union[ - ProductPriceFreeTypedDict, ProductPriceFixedTypedDict, ProductPriceSeatBasedTypedDict, ProductPriceCustomTypedDict, @@ -31,7 +29,6 @@ Union[ Annotated[ProductPriceCustom, Tag("custom")], Annotated[ProductPriceFixed, Tag("fixed")], - Annotated[ProductPriceFree, Tag("free")], Annotated[ProductPriceMeteredUnit, Tag("metered_unit")], Annotated[ProductPriceSeatBased, Tag("seat_based")], ], diff --git a/src/polar_sdk/models/productpricefree.py b/src/polar_sdk/models/productpricefree.py deleted file mode 100644 index d52c2f1d..00000000 --- a/src/polar_sdk/models/productpricefree.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .productpricesource import ProductPriceSource -from .taxbehavioroption import TaxBehaviorOption -from datetime import datetime -from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL -from polar_sdk.utils import validate_const -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from typing import Literal -from typing_extensions import Annotated, TypedDict - - -class ProductPriceFreeTypedDict(TypedDict): - r"""A free price for a product.""" - - created_at: datetime - r"""Creation timestamp of the object.""" - modified_at: Nullable[datetime] - r"""Last modification timestamp of the object.""" - id: str - r"""The ID of the price.""" - source: ProductPriceSource - price_currency: str - r"""The currency in which the customer will be charged.""" - tax_behavior: Nullable[TaxBehaviorOption] - r"""The tax behavior of the price. If null, it defaults to the organization's default tax behavior.""" - is_archived: bool - r"""Whether the price is archived and no longer available.""" - product_id: str - r"""The ID of the product owning the price.""" - amount_type: Literal["free"] - - -class ProductPriceFree(BaseModel): - r"""A free price for a product.""" - - created_at: datetime - r"""Creation timestamp of the object.""" - - modified_at: Nullable[datetime] - r"""Last modification timestamp of the object.""" - - id: str - r"""The ID of the price.""" - - source: ProductPriceSource - - price_currency: str - r"""The currency in which the customer will be charged.""" - - tax_behavior: Nullable[TaxBehaviorOption] - r"""The tax behavior of the price. If null, it defaults to the organization's default tax behavior.""" - - is_archived: bool - r"""Whether the price is archived and no longer available.""" - - product_id: str - r"""The ID of the product owning the price.""" - - AMOUNT_TYPE: Annotated[ - Annotated[Literal["free"], AfterValidator(validate_const("free"))], - pydantic.Field(alias="amount_type"), - ] = "free" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = [] - nullable_fields = ["modified_at", "tax_behavior"] - null_default_fields = [] - - serialized = handler(self) - - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k) - serialized.pop(k, None) - - optional_nullable = k in optional_fields and k in nullable_fields - is_set = ( - self.__pydantic_fields_set__.intersection({n}) - or k in null_default_fields - ) # pylint: disable=no-member - - if val is not None and val != UNSET_SENTINEL: - m[k] = val - elif val != UNSET_SENTINEL and ( - not k in optional_fields or (optional_nullable and is_set) - ): - m[k] = val - - return m diff --git a/src/polar_sdk/models/productpricefreecreate.py b/src/polar_sdk/models/productpricefreecreate.py deleted file mode 100644 index 4c85afd1..00000000 --- a/src/polar_sdk/models/productpricefreecreate.py +++ /dev/null @@ -1,65 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .presentmentcurrency import PresentmentCurrency -from .taxbehavioroption import TaxBehaviorOption -from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL -from polar_sdk.utils import validate_const -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from typing import Literal, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class ProductPriceFreeCreateTypedDict(TypedDict): - r"""Schema to create a free price.""" - - amount_type: Literal["free"] - price_currency: NotRequired[PresentmentCurrency] - tax_behavior: NotRequired[Nullable[TaxBehaviorOption]] - r"""The tax behavior of the price. If not set, it will default to the organization's default tax behavior.""" - - -class ProductPriceFreeCreate(BaseModel): - r"""Schema to create a free price.""" - - AMOUNT_TYPE: Annotated[ - Annotated[Literal["free"], AfterValidator(validate_const("free"))], - pydantic.Field(alias="amount_type"), - ] = "free" - - price_currency: Optional[PresentmentCurrency] = None - - tax_behavior: OptionalNullable[TaxBehaviorOption] = UNSET - r"""The tax behavior of the price. If not set, it will default to the organization's default tax behavior.""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = ["price_currency", "tax_behavior"] - nullable_fields = ["tax_behavior"] - null_default_fields = [] - - serialized = handler(self) - - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k) - serialized.pop(k, None) - - optional_nullable = k in optional_fields and k in nullable_fields - is_set = ( - self.__pydantic_fields_set__.intersection({n}) - or k in null_default_fields - ) # pylint: disable=no-member - - if val is not None and val != UNSET_SENTINEL: - m[k] = val - elif val != UNSET_SENTINEL and ( - not k in optional_fields or (optional_nullable and is_set) - ): - m[k] = val - - return m diff --git a/src/polar_sdk/models/productupdate.py b/src/polar_sdk/models/productupdate.py index c063b7d4..e2a2bcea 100644 --- a/src/polar_sdk/models/productupdate.py +++ b/src/polar_sdk/models/productupdate.py @@ -14,10 +14,6 @@ ProductPriceFixedCreate, ProductPriceFixedCreateTypedDict, ) -from .productpricefreecreate import ( - ProductPriceFreeCreate, - ProductPriceFreeCreateTypedDict, -) from .productpricemeteredunitcreate import ( ProductPriceMeteredUnitCreate, ProductPriceMeteredUnitCreateTypedDict, @@ -49,7 +45,6 @@ TwoTypedDict = TypeAliasType( "TwoTypedDict", Union[ - ProductPriceFreeCreateTypedDict, ProductPriceFixedCreateTypedDict, ProductPriceSeatBasedCreateTypedDict, ProductPriceCustomCreateTypedDict, @@ -62,7 +57,6 @@ Union[ Annotated[ProductPriceCustomCreate, Tag("custom")], Annotated[ProductPriceFixedCreate, Tag("fixed")], - Annotated[ProductPriceFreeCreate, Tag("free")], Annotated[ProductPriceMeteredUnitCreate, Tag("metered_unit")], Annotated[ProductPriceSeatBasedCreate, Tag("seat_based")], ], diff --git a/src/polar_sdk/models/supportcaseattachmentfilecreate.py b/src/polar_sdk/models/supportcaseattachmentfilecreate.py new file mode 100644 index 00000000..44288308 --- /dev/null +++ b/src/polar_sdk/models/supportcaseattachmentfilecreate.py @@ -0,0 +1,84 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .s3filecreatemultipart import S3FileCreateMultipart, S3FileCreateMultipartTypedDict +from polar_sdk.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL +from polar_sdk.utils import validate_const +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from typing import Literal +from typing_extensions import Annotated, NotRequired, TypedDict + + +class SupportCaseAttachmentFileCreateTypedDict(TypedDict): + r"""Schema to create a file attached to a support case.""" + + name: str + mime_type: str + r"""MIME type of the file. Images, videos, PDF, CSV, plain text, Word and Excel documents are supported.""" + size: int + r"""Size of the file. A maximum of 250 MB is allowed for this type of file.""" + upload: S3FileCreateMultipartTypedDict + organization_id: NotRequired[Nullable[str]] + checksum_sha256_base64: NotRequired[Nullable[str]] + service: Literal["support_case_attachment"] + version: NotRequired[Nullable[str]] + + +class SupportCaseAttachmentFileCreate(BaseModel): + r"""Schema to create a file attached to a support case.""" + + name: str + + mime_type: str + r"""MIME type of the file. Images, videos, PDF, CSV, plain text, Word and Excel documents are supported.""" + + size: int + r"""Size of the file. A maximum of 250 MB is allowed for this type of file.""" + + upload: S3FileCreateMultipart + + organization_id: OptionalNullable[str] = UNSET + + checksum_sha256_base64: OptionalNullable[str] = UNSET + + SERVICE: Annotated[ + Annotated[ + Literal["support_case_attachment"], + AfterValidator(validate_const("support_case_attachment")), + ], + pydantic.Field(alias="service"), + ] = "support_case_attachment" + + version: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = ["organization_id", "checksum_sha256_base64", "version"] + nullable_fields = ["organization_id", "checksum_sha256_base64", "version"] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/supportcaseattachmentfileread.py b/src/polar_sdk/models/supportcaseattachmentfileread.py new file mode 100644 index 00000000..d888f7ed --- /dev/null +++ b/src/polar_sdk/models/supportcaseattachmentfileread.py @@ -0,0 +1,113 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +from polar_sdk.types import BaseModel, Nullable, UNSET_SENTINEL +from polar_sdk.utils import validate_const +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from typing import Literal +from typing_extensions import Annotated, TypedDict + + +class SupportCaseAttachmentFileReadTypedDict(TypedDict): + r"""File attached to a support case (private; fetched via presigned URL).""" + + id: str + r"""The ID of the object.""" + organization_id: str + name: str + path: str + mime_type: str + size: int + storage_version: Nullable[str] + checksum_etag: Nullable[str] + checksum_sha256_base64: Nullable[str] + checksum_sha256_hex: Nullable[str] + last_modified_at: Nullable[datetime] + version: Nullable[str] + is_uploaded: bool + created_at: datetime + size_readable: str + service: Literal["support_case_attachment"] + + +class SupportCaseAttachmentFileRead(BaseModel): + r"""File attached to a support case (private; fetched via presigned URL).""" + + id: str + r"""The ID of the object.""" + + organization_id: str + + name: str + + path: str + + mime_type: str + + size: int + + storage_version: Nullable[str] + + checksum_etag: Nullable[str] + + checksum_sha256_base64: Nullable[str] + + checksum_sha256_hex: Nullable[str] + + last_modified_at: Nullable[datetime] + + version: Nullable[str] + + is_uploaded: bool + + created_at: datetime + + size_readable: str + + SERVICE: Annotated[ + Annotated[ + Literal["support_case_attachment"], + AfterValidator(validate_const("support_case_attachment")), + ], + pydantic.Field(alias="service"), + ] = "support_case_attachment" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = [] + nullable_fields = [ + "storage_version", + "checksum_etag", + "checksum_sha256_base64", + "checksum_sha256_hex", + "last_modified_at", + "version", + ] + null_default_fields = [] + + serialized = handler(self) + + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k) + serialized.pop(k, None) + + optional_nullable = k in optional_fields and k in nullable_fields + is_set = ( + self.__pydantic_fields_set__.intersection({n}) + or k in null_default_fields + ) # pylint: disable=no-member + + if val is not None and val != UNSET_SENTINEL: + m[k] = val + elif val != UNSET_SENTINEL and ( + not k in optional_fields or (optional_nullable and is_set) + ): + m[k] = val + + return m diff --git a/src/polar_sdk/models/taxidformat.py b/src/polar_sdk/models/taxidformat.py index 86c9a0d6..2468727d 100644 --- a/src/polar_sdk/models/taxidformat.py +++ b/src/polar_sdk/models/taxidformat.py @@ -85,3 +85,4 @@ class TaxIDFormat(str, Enum): VE_RIF = "ve_rif" VN_TIN = "vn_tin" ZA_VAT = "za_vat" + MU_TAN = "mu_tan" From e67a3a3afa27e2606ca9f04394e513ed0075b102 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 00:50:02 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow