Skip to content

Commit c8646b9

Browse files
feat(spec): update OpenAPI to 1.105.0 — localized prices
Stainless-Generated-From: 9dc56c9
1 parent 5a1a209 commit c8646b9

8 files changed

Lines changed: 13 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Changelog
22

3-
## [1.103.0](https://github.com/dodopayments/dodopayments-python/compare/v1.102.1...v1.103.0) (2026-06-13)
4-
5-
6-
### Features
7-
8-
* **spec:** update OpenAPI to 1.104.0 — product localized prices ([e33a333](https://github.com/dodopayments/dodopayments-python/commit/e33a3337e2493349afa19898c9fe875dab116d1e))
9-
* **spec:** update OpenAPI to 1.104.0 — product localized prices ([7b146a8](https://github.com/dodopayments/dodopayments-python/commit/7b146a81fb203ea314b073b866e6a6d1af8164c3))
10-
113
## [1.101.0](https://github.com/dodopayments/dodopayments-python/compare/v1.99.1...v1.101.0) (2026-06-01)
124

135

scripts/mock

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/dodopayments/types/customer_retrieve_payment_methods_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Item(BaseModel):
5454
last_used_at: Optional[datetime] = None
5555

5656
payment_method_type: Optional[PaymentMethodTypes] = None
57-
"""All supported payment method types (from Hyperswitch).
57+
"""All supported payment method types.
5858
5959
Used for disabled-payment-methods filtering and validation.
6060
"""

src/dodopayments/types/dispute_list_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class DisputeListResponse(BaseModel):
4242
payment_provider: Literal["stripe", "adyen", "dodo"]
4343
"""Which processor handled the underlying payment.
4444
45-
`stripe` / `adyen` for BYOP routes (the merchant's own Hyperswitch connector);
45+
`stripe` / `adyen` for BYOP routes (the merchant's own payment connector);
4646
`dodo` for everything Dodo processed itself.
4747
"""
4848

src/dodopayments/types/get_dispute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class GetDispute(BaseModel):
4949
payment_provider: Literal["stripe", "adyen", "dodo"]
5050
"""Which processor handled the underlying payment.
5151
52-
`stripe` / `adyen` for BYOP routes (the merchant's own Hyperswitch connector);
52+
`stripe` / `adyen` for BYOP routes (the merchant's own payment connector);
5353
`dodo` for everything Dodo processed itself.
5454
"""
5555

src/dodopayments/types/payment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Payment(BaseModel):
5959
payment_provider: Literal["stripe", "adyen", "dodo"]
6060
"""Which processor handled this payment.
6161
62-
`stripe` / `adyen` for BYOP routes (the merchant's own Hyperswitch connector);
62+
`stripe` / `adyen` for BYOP routes (the merchant's own payment connector);
6363
`dodo` for everything Dodo processed itself.
6464
"""
6565

src/dodopayments/types/payment_list_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class PaymentListResponse(BaseModel):
3434
payment_provider: Literal["stripe", "adyen", "dodo"]
3535
"""Which processor handled this payment.
3636
37-
`stripe` / `adyen` for BYOP routes (the merchant's own Hyperswitch connector);
37+
`stripe` / `adyen` for BYOP routes (the merchant's own payment connector);
3838
`dodo` for everything Dodo processed itself.
3939
"""
4040

src/dodopayments/types/product_list_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from typing import Dict, List, Optional
44
from datetime import datetime
5+
from typing_extensions import Literal
56

67
from .price import Price
78
from .._models import BaseModel
@@ -65,5 +66,11 @@ class ProductListResponse(BaseModel):
6566
price_detail: Optional[Price] = None
6667
"""Details of the price"""
6768

69+
pricing_mode: Optional[Literal["by_currency", "by_country"]] = None
70+
"""Pricing mode for localized pricing.
71+
72+
NULL means base-only (no localized rules apply).
73+
"""
74+
6875
tax_inclusive: Optional[bool] = None
6976
"""Indicates if the price is tax inclusive"""

0 commit comments

Comments
 (0)