Skip to content

Commit a88e5f7

Browse files
speakeasybotfrankie567
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.600.2
1 parent 35182a8 commit a88e5f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+875
-116
lines changed

.speakeasy/gen.lock

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: e7042734-e669-4c36-85da-bbb4a7500ac8
33
management:
4-
docChecksum: b0f01aec457cc91ea8f087c1cb410d91
4+
docChecksum: 65b52aa270befaec33d1ecb4a090c803
55
docVersion: 0.1.0
6-
speakeasyVersion: 1.583.1
7-
generationVersion: 2.658.3
8-
releaseVersion: 0.22.4
9-
configChecksum: 1462b0c961b81104788d38d30ab2fe07
6+
speakeasyVersion: 1.600.2
7+
generationVersion: 2.677.3
8+
releaseVersion: 0.22.5
9+
configChecksum: abd73721782a59cfc9f656301a4bc83c
1010
repoURL: https://github.com/polarsource/polar-python.git
1111
installationURL: https://github.com/polarsource/polar-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.19.4
17+
core: 5.19.7
1818
customCodeRegions: 0.1.1
1919
defaultEnabledRetries: 0.2.0
2020
deprecations: 3.0.2
@@ -236,6 +236,7 @@ generatedFiles:
236236
- docs/models/checkoutupdatepublic.md
237237
- docs/models/checkoutupdatepubliccustomfielddata.md
238238
- docs/models/clauses.md
239+
- docs/models/committedmonthlyrecurringrevenue.md
239240
- docs/models/conditions.md
240241
- docs/models/countaggregation.md
241242
- docs/models/cumulativerevenue.md
@@ -337,6 +338,8 @@ generatedFiles:
337338
- docs/models/customerportalorderslistrequest.md
338339
- docs/models/customerportalorderslistresponse.md
339340
- docs/models/customerportalorderslistsecurity.md
341+
- docs/models/customerportalordersretrypaymentrequest.md
342+
- docs/models/customerportalordersretrypaymentsecurity.md
340343
- docs/models/customerportalordersupdaterequest.md
341344
- docs/models/customerportalordersupdatesecurity.md
342345
- docs/models/customerportalorganizationsgetrequest.md
@@ -638,6 +641,7 @@ generatedFiles:
638641
- docs/models/metricstotalsaverageordervalue.md
639642
- docs/models/metricstotalscheckouts.md
640643
- docs/models/metricstotalscheckoutsconversion.md
644+
- docs/models/metricstotalscommittedmonthlyrecurringrevenue.md
641645
- docs/models/metricstotalscumulativerevenue.md
642646
- docs/models/metricstotalsmonthlyrecurringrevenue.md
643647
- docs/models/metricstotalsnewsubscriptions.md
@@ -675,6 +679,7 @@ generatedFiles:
675679
- docs/models/orderinvoice.md
676680
- docs/models/orderitemschema.md
677681
- docs/models/ordermetadata.md
682+
- docs/models/ordernoteligibleforretry.md
678683
- docs/models/orderproduct.md
679684
- docs/models/orderproductmetadata.md
680685
- docs/models/ordersgenerateinvoicerequest.md
@@ -713,10 +718,12 @@ generatedFiles:
713718
- docs/models/organizationupdate.md
714719
- docs/models/pagination.md
715720
- docs/models/payment.md
721+
- docs/models/paymentalreadyinprogress.md
716722
- docs/models/paymenterror.md
717723
- docs/models/paymentmethodcard.md
718724
- docs/models/paymentmethodcardmetadata.md
719725
- docs/models/paymentmethodgeneric.md
726+
- docs/models/paymentnotready.md
720727
- docs/models/paymentprocessor.md
721728
- docs/models/paymentsgetrequest.md
722729
- docs/models/paymentslistqueryparamcheckoutidfilter.md
@@ -1096,6 +1103,7 @@ generatedFiles:
10961103
- src/polar_sdk/models/customer_portal_orders_getop.py
10971104
- src/polar_sdk/models/customer_portal_orders_invoiceop.py
10981105
- src/polar_sdk/models/customer_portal_orders_listop.py
1106+
- src/polar_sdk/models/customer_portal_orders_retry_paymentop.py
10991107
- src/polar_sdk/models/customer_portal_orders_updateop.py
11001108
- src/polar_sdk/models/customer_portal_organizations_getop.py
11011109
- src/polar_sdk/models/customer_portal_subscriptions_cancelop.py
@@ -1332,6 +1340,7 @@ generatedFiles:
13321340
- src/polar_sdk/models/ordercustomer.py
13331341
- src/polar_sdk/models/orderinvoice.py
13341342
- src/polar_sdk/models/orderitemschema.py
1343+
- src/polar_sdk/models/ordernoteligibleforretry.py
13351344
- src/polar_sdk/models/orderproduct.py
13361345
- src/polar_sdk/models/orders_generate_invoiceop.py
13371346
- src/polar_sdk/models/orders_getop.py
@@ -1358,10 +1367,12 @@ generatedFiles:
13581367
- src/polar_sdk/models/organizationupdate.py
13591368
- src/polar_sdk/models/pagination.py
13601369
- src/polar_sdk/models/payment.py
1370+
- src/polar_sdk/models/paymentalreadyinprogress.py
13611371
- src/polar_sdk/models/paymenterror.py
13621372
- src/polar_sdk/models/paymentmethodcard.py
13631373
- src/polar_sdk/models/paymentmethodcardmetadata.py
13641374
- src/polar_sdk/models/paymentmethodgeneric.py
1375+
- src/polar_sdk/models/paymentnotready.py
13651376
- src/polar_sdk/models/paymentprocessor.py
13661377
- src/polar_sdk/models/payments_getop.py
13671378
- src/polar_sdk/models/payments_listop.py
@@ -2334,7 +2345,7 @@ examples:
23342345
timezone: "UTC"
23352346
responses:
23362347
"200":
2337-
application/json: {"periods": [{"timestamp": "2024-11-05T16:37:46.152Z", "orders": 2313.41, "revenue": 3697.18, "cumulative_revenue": 160547, "average_order_value": 8348.91, "one_time_products": 6315.62, "one_time_products_revenue": 271957, "new_subscriptions": 225346, "new_subscriptions_revenue": 5903.37, "renewed_subscriptions": 146.2, "renewed_subscriptions_revenue": 3772.41, "active_subscriptions": 1692.89, "monthly_recurring_revenue": 5809.97, "checkouts": 6229.46, "succeeded_checkouts": 464.75, "checkouts_conversion": 536209}], "totals": {"orders": 300394, "revenue": 980988, "cumulative_revenue": 5367.66, "average_order_value": 7320.73, "one_time_products": 772559, "one_time_products_revenue": 875093, "new_subscriptions": 903196, "new_subscriptions_revenue": 18.97, "renewed_subscriptions": 723.93, "renewed_subscriptions_revenue": 846052, "active_subscriptions": 5698.58, "monthly_recurring_revenue": 180851, "checkouts": 5307.17, "succeeded_checkouts": 9995.79, "checkouts_conversion": 5883.46}, "metrics": {"orders": {"slug": "<value>", "display_name": "Mortimer35", "type": "percentage"}, "revenue": {"slug": "<value>", "display_name": "Cruz.Yundt29", "type": "scalar"}, "cumulative_revenue": {"slug": "<value>", "display_name": "Keshaun_Mraz87", "type": "scalar"}, "average_order_value": {"slug": "<value>", "display_name": "Therese_Marks93", "type": "percentage"}, "one_time_products": {"slug": "<value>", "display_name": "Roslyn.White86", "type": "scalar"}, "one_time_products_revenue": {"slug": "<value>", "display_name": "Henderson.Herman17", "type": "percentage"}, "new_subscriptions": {"slug": "<value>", "display_name": "Jamaal_Mueller91", "type": "percentage"}, "new_subscriptions_revenue": {"slug": "<value>", "display_name": "Kaylee25", "type": "currency"}, "renewed_subscriptions": {"slug": "<value>", "display_name": "Leland_Yundt", "type": "scalar"}, "renewed_subscriptions_revenue": {"slug": "<value>", "display_name": "Dalton_Waters92", "type": "scalar"}, "active_subscriptions": {"slug": "<value>", "display_name": "Alfonzo_Daugherty", "type": "percentage"}, "monthly_recurring_revenue": {"slug": "<value>", "display_name": "Diana97", "type": "currency"}, "checkouts": {"slug": "<value>", "display_name": "Magdalen_Goodwin-Schoen", "type": "scalar"}, "succeeded_checkouts": {"slug": "<value>", "display_name": "Ida37", "type": "scalar"}, "checkouts_conversion": {"slug": "<value>", "display_name": "Savion.Gerlach", "type": "percentage"}}}
2348+
application/json: {"periods": [{"timestamp": "2024-11-05T16:37:46.152Z", "orders": 2313.41, "revenue": 3697.18, "cumulative_revenue": 160547, "average_order_value": 8348.91, "one_time_products": 6315.62, "one_time_products_revenue": 271957, "new_subscriptions": 225346, "new_subscriptions_revenue": 5903.37, "renewed_subscriptions": 146.2, "renewed_subscriptions_revenue": 3772.41, "active_subscriptions": 1692.89, "monthly_recurring_revenue": 5809.97, "committed_monthly_recurring_revenue": 7366.16, "checkouts": 6229.46, "succeeded_checkouts": 464.75, "checkouts_conversion": 536209}], "totals": {"orders": 300394, "revenue": 980988, "cumulative_revenue": 5367.66, "average_order_value": 7320.73, "one_time_products": 772559, "one_time_products_revenue": 875093, "new_subscriptions": 903196, "new_subscriptions_revenue": 18.97, "renewed_subscriptions": 723.93, "renewed_subscriptions_revenue": 846052, "active_subscriptions": 5698.58, "monthly_recurring_revenue": 180851, "committed_monthly_recurring_revenue": 620.86, "checkouts": 5307.17, "succeeded_checkouts": 9995.79, "checkouts_conversion": 5883.46}, "metrics": {"orders": {"slug": "<value>", "display_name": "Mortimer35", "type": "percentage"}, "revenue": {"slug": "<value>", "display_name": "Cruz.Yundt29", "type": "scalar"}, "cumulative_revenue": {"slug": "<value>", "display_name": "Keshaun_Mraz87", "type": "scalar"}, "average_order_value": {"slug": "<value>", "display_name": "Therese_Marks93", "type": "percentage"}, "one_time_products": {"slug": "<value>", "display_name": "Roslyn.White86", "type": "scalar"}, "one_time_products_revenue": {"slug": "<value>", "display_name": "Henderson.Herman17", "type": "percentage"}, "new_subscriptions": {"slug": "<value>", "display_name": "Jamaal_Mueller91", "type": "percentage"}, "new_subscriptions_revenue": {"slug": "<value>", "display_name": "Kaylee25", "type": "currency"}, "renewed_subscriptions": {"slug": "<value>", "display_name": "Leland_Yundt", "type": "scalar"}, "renewed_subscriptions_revenue": {"slug": "<value>", "display_name": "Dalton_Waters92", "type": "scalar"}, "active_subscriptions": {"slug": "<value>", "display_name": "Alfonzo_Daugherty", "type": "percentage"}, "monthly_recurring_revenue": {"slug": "<value>", "display_name": "Diana97", "type": "currency"}, "committed_monthly_recurring_revenue": {"slug": "<value>", "display_name": "Garrett.Stokes", "type": "scalar"}, "checkouts": {"slug": "<value>", "display_name": "Magdalen_Goodwin-Schoen", "type": "scalar"}, "succeeded_checkouts": {"slug": "<value>", "display_name": "Ida37", "type": "scalar"}, "checkouts_conversion": {"slug": "<value>", "display_name": "Savion.Gerlach", "type": "percentage"}}}
23382349
"422":
23392350
application/json: {}
23402351
metrics:limits:
@@ -3303,5 +3314,19 @@ examples:
33033314
application/json: {"error": "ResourceNotFound", "detail": "<value>"}
33043315
"422":
33053316
application/json: {}
3317+
customer_portal:orders:retry_payment:
3318+
speakeasy-default-customer-portal:orders:retry-payment:
3319+
parameters:
3320+
path:
3321+
id: "<value>"
3322+
responses:
3323+
"202":
3324+
application/json: "<value>"
3325+
"404":
3326+
application/json: {"error": "ResourceNotFound", "detail": "<value>"}
3327+
"409":
3328+
application/json: {"error": "PaymentAlreadyInProgress", "detail": "<value>"}
3329+
"422":
3330+
application/json: {"error": "OrderNotEligibleForRetry", "detail": "<value>"}
33063331
examplesVersion: 1.0.2
33073332
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: false
2525
skipResponseBodyAssertions: false
2626
python:
27-
version: 0.22.4
27+
version: 0.22.5
2828
additionalDependencies:
2929
dev:
3030
pydantic-ai-slim: ^0.1.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.583.1
1+
speakeasyVersion: 1.600.2
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:81e4d7d214f3b946d1a3b13681128652971a5ae04def48633473fa6dab9a93c2
6-
sourceBlobDigest: sha256:6ae69257f8f372c638f2d75c6110568867e13965232c078df99392a6cfdf8d60
5+
sourceRevisionDigest: sha256:bea8a72d63ce406f06ef661b57c7f56a2979063916591d3ea6de00ea91f8e8f1
6+
sourceBlobDigest: sha256:ed19836ba23cda7f1d88874651baa8d6e4bd393887ae5667329aa84f40a70447
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753110323
9+
- speakeasy-sdk-regen-1753316105
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:81e4d7d214f3b946d1a3b13681128652971a5ae04def48633473fa6dab9a93c2
16-
sourceBlobDigest: sha256:6ae69257f8f372c638f2d75c6110568867e13965232c078df99392a6cfdf8d60
15+
sourceRevisionDigest: sha256:bea8a72d63ce406f06ef661b57c7f56a2979063916591d3ea6de00ea91f8e8f1
16+
sourceBlobDigest: sha256:ed19836ba23cda7f1d88874651baa8d6e4bd393887ae5667329aa84f40a70447
1717
codeSamplesNamespace: polar-oas-py-code-samples
18-
codeSamplesRevisionDigest: sha256:d7c85d3afb9ab743c4f5448652cfda5d8d44b204ad6f8c12658e9c0973435bea
18+
codeSamplesRevisionDigest: sha256:5c0b82ee49083c8880b18933fff12fa349d185a7204269456566495c8ab9a3c3
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ with Polar() as polar:
385385

386386
</br>
387387

388-
The same SDK client can also be used to make asychronous requests by importing asyncio.
388+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
389389
```python
390390
# Asynchronous Example
391391
import asyncio
@@ -784,6 +784,7 @@ def webhook():
784784
* [update](docs/sdks/polarorders/README.md#update) - Update Order
785785
* [generate_invoice](docs/sdks/polarorders/README.md#generate_invoice) - Generate Order Invoice
786786
* [invoice](docs/sdks/polarorders/README.md#invoice) - Get Order Invoice
787+
* [retry_payment](docs/sdks/polarorders/README.md#retry_payment) - Retry Payment
787788

788789
#### [customer_portal.organizations](docs/sdks/polarorganizations/README.md)
789790

@@ -1018,7 +1019,7 @@ with Polar(
10181019
* [`PolarError`](./src/polar_sdk/models/polarerror.py): The base class for HTTP error responses.
10191020
* [`HTTPValidationError`](./src/polar_sdk/models/httpvalidationerror.py): Validation Error. Status code `422`. *
10201021

1021-
<details><summary>Less common errors (18)</summary>
1022+
<details><summary>Less common errors (21)</summary>
10221023

10231024
<br />
10241025

@@ -1029,19 +1030,22 @@ with Polar(
10291030

10301031

10311032
**Inherit from [`PolarError`](./src/polar_sdk/models/polarerror.py)**:
1032-
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 71 of 123 methods.*
1033-
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 9 of 123 methods.*
1034-
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 123 methods.*
1035-
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 123 methods.*
1036-
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.py): The checkout is expired or the customer already has an active subscription. Status code `403`. Applicable to 3 of 123 methods.*
1037-
* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.py): The checkout is expired or the customer already has an active subscription. Status code `403`. Applicable to 3 of 123 methods.*
1038-
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 123 methods.*
1039-
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 123 methods.*
1040-
* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 123 methods.*
1041-
* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 123 methods.*
1042-
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 123 methods.*
1043-
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 123 methods.*
1044-
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 123 methods.*
1033+
* [`ResourceNotFound`](./src/polar_sdk/models/resourcenotfound.py): Status code `404`. Applicable to 72 of 124 methods.*
1034+
* [`NotPermitted`](./src/polar_sdk/models/notpermitted.py): Status code `403`. Applicable to 9 of 124 methods.*
1035+
* [`Unauthorized`](./src/polar_sdk/models/unauthorized.py): Not authorized to manage license key. Status code `401`. Applicable to 5 of 124 methods.*
1036+
* [`AlreadyCanceledSubscription`](./src/polar_sdk/models/alreadycanceledsubscription.py): Status code `403`. Applicable to 4 of 124 methods.*
1037+
* [`AlreadyActiveSubscriptionError`](./src/polar_sdk/models/alreadyactivesubscriptionerror.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 124 methods.*
1038+
* [`NotOpenCheckout`](./src/polar_sdk/models/notopencheckout.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 124 methods.*
1039+
* [`PaymentNotReady`](./src/polar_sdk/models/paymentnotready.py): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 124 methods.*
1040+
* [`ExpiredCheckoutError`](./src/polar_sdk/models/expiredcheckouterror.py): The checkout session is expired. Status code `410`. Applicable to 3 of 124 methods.*
1041+
* [`InvoiceAlreadyExists`](./src/polar_sdk/models/invoicealreadyexists.py): Order already has an invoice. Status code `409`. Applicable to 2 of 124 methods.*
1042+
* [`MissingInvoiceBillingDetails`](./src/polar_sdk/models/missinginvoicebillingdetails.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 124 methods.*
1043+
* [`NotPaidOrder`](./src/polar_sdk/models/notpaidorder.py): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 124 methods.*
1044+
* [`RefundAmountTooHigh`](./src/polar_sdk/models/refundamounttoohigh.py): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 124 methods.*
1045+
* [`PaymentError`](./src/polar_sdk/models/paymenterror.py): The payment failed. Status code `400`. Applicable to 1 of 124 methods.*
1046+
* [`RefundedAlready`](./src/polar_sdk/models/refundedalready.py): Order is already fully refunded. Status code `403`. Applicable to 1 of 124 methods.*
1047+
* [`PaymentAlreadyInProgress`](./src/polar_sdk/models/paymentalreadyinprogress.py): Payment already in progress. Status code `409`. Applicable to 1 of 124 methods.*
1048+
* [`OrderNotEligibleForRetry`](./src/polar_sdk/models/ordernoteligibleforretry.py): Order not eligible for retry. Status code `422`. Applicable to 1 of 124 methods.*
10451049
* [`ResponseValidationError`](./src/polar_sdk/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
10461050

10471051
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,4 +833,14 @@ Based on:
833833
### Generated
834834
- [python v0.22.4] .
835835
### Releases
836-
- [PyPI v0.22.4] https://pypi.org/project/polar-sdk/0.22.4 - .
836+
- [PyPI v0.22.4] https://pypi.org/project/polar-sdk/0.22.4 - .
837+
838+
## 2025-08-11 00:15:48
839+
### Changes
840+
Based on:
841+
- OpenAPI Doc
842+
- Speakeasy CLI 1.600.2 (2.677.3) https://github.com/speakeasy-api/speakeasy
843+
### Generated
844+
- [python v0.22.5] .
845+
### Releases
846+
- [PyPI v0.22.5] https://pypi.org/project/polar-sdk/0.22.5 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ with Polar(
1818

1919
</br>
2020

21-
The same SDK client can also be used to make asychronous requests by importing asyncio.
21+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
2222
```python
2323
# Asynchronous Example
2424
import asyncio

codeSamples.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ actions:
279279
- "lang": "python"
280280
"label": "Python (SDK)"
281281
"source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar() as polar:\n\n res = polar.customer_portal.orders.generate_invoice(security=polar_sdk.CustomerPortalOrdersGenerateInvoiceSecurity(\n customer_session=\"<YOUR_BEARER_TOKEN_HERE>\",\n ), id=\"<value>\")\n\n # Handle response\n print(res)"
282+
- target: $["paths"]["/v1/customer-portal/orders/{id}/retry-payment"]["post"]
283+
update:
284+
"x-codeSamples":
285+
- "lang": "python"
286+
"label": "Python (SDK)"
287+
"source": "import polar_sdk\nfrom polar_sdk import Polar\n\n\nwith Polar() as polar:\n\n res = polar.customer_portal.orders.retry_payment(security=polar_sdk.CustomerPortalOrdersRetryPaymentSecurity(\n customer_session=\"<YOUR_BEARER_TOKEN_HERE>\",\n ), id=\"<value>\")\n\n # Handle response\n print(res)"
282288
- target: $["paths"]["/v1/customer-portal/organizations/{slug}"]["get"]
283289
update:
284290
"x-codeSamples":

0 commit comments

Comments
 (0)