Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.365.0"
".": "0.366.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 228
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e809e9e4e5bc9c602a2ecebfbdb4a77d6c88c6f70f0b47a7a4d1dd1df4aaa66d.yml
openapi_spec_hash: cb6cb9fa09a8e52f6eb89271b559823d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9848b3b7725425c712a5fba932c836f3210adf21b9b7a232370f13960790158c.yml
openapi_spec_hash: 49090a79a8225d8ad36fe249aac2a12a
config_hash: eb2035151c7b49c2f12caf55469b8f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.366.0 (2025-10-26)

Full Changelog: [v0.365.0...v0.366.0](https://github.com/Increase/increase-python/compare/v0.365.0...v0.366.0)

### Features

* **api:** api update ([8a8c0d1](https://github.com/Increase/increase-python/commit/8a8c0d1eda989bfa97acde8531e5cf4078a2fde2))

## 0.365.0 (2025-10-24)

Full Changelog: [v0.364.0...v0.365.0](https://github.com/Increase/increase-python/compare/v0.364.0...v0.365.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.365.0"
version = "0.366.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "increase"
__version__ = "0.365.0" # x-release-please-version
__version__ = "0.366.0" # x-release-please-version
76 changes: 76 additions & 0 deletions src/increase/types/card_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"ElementCardAuthorizationAdditionalAmounts",
"ElementCardAuthorizationAdditionalAmountsClinic",
"ElementCardAuthorizationAdditionalAmountsDental",
"ElementCardAuthorizationAdditionalAmountsOriginal",
"ElementCardAuthorizationAdditionalAmountsPrescription",
"ElementCardAuthorizationAdditionalAmountsSurcharge",
"ElementCardAuthorizationAdditionalAmountsTotalCumulative",
Expand All @@ -34,6 +35,7 @@
"ElementCardDeclineAdditionalAmounts",
"ElementCardDeclineAdditionalAmountsClinic",
"ElementCardDeclineAdditionalAmountsDental",
"ElementCardDeclineAdditionalAmountsOriginal",
"ElementCardDeclineAdditionalAmountsPrescription",
"ElementCardDeclineAdditionalAmountsSurcharge",
"ElementCardDeclineAdditionalAmountsTotalCumulative",
Expand All @@ -53,6 +55,7 @@
"ElementCardIncrementAdditionalAmounts",
"ElementCardIncrementAdditionalAmountsClinic",
"ElementCardIncrementAdditionalAmountsDental",
"ElementCardIncrementAdditionalAmountsOriginal",
"ElementCardIncrementAdditionalAmountsPrescription",
"ElementCardIncrementAdditionalAmountsSurcharge",
"ElementCardIncrementAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -90,6 +93,7 @@
"ElementCardValidationAdditionalAmounts",
"ElementCardValidationAdditionalAmountsClinic",
"ElementCardValidationAdditionalAmountsDental",
"ElementCardValidationAdditionalAmountsOriginal",
"ElementCardValidationAdditionalAmountsPrescription",
"ElementCardValidationAdditionalAmountsSurcharge",
"ElementCardValidationAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -304,6 +308,21 @@ class ElementCardAuthorizationAdditionalAmountsDental(BaseModel):
"""


class ElementCardAuthorizationAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class ElementCardAuthorizationAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -416,6 +435,9 @@ class ElementCardAuthorizationAdditionalAmounts(BaseModel):
dental: Optional[ElementCardAuthorizationAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[ElementCardAuthorizationAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[ElementCardAuthorizationAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down Expand Up @@ -920,6 +942,21 @@ class ElementCardDeclineAdditionalAmountsDental(BaseModel):
"""


class ElementCardDeclineAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class ElementCardDeclineAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -1032,6 +1069,9 @@ class ElementCardDeclineAdditionalAmounts(BaseModel):
dental: Optional[ElementCardDeclineAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[ElementCardDeclineAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[ElementCardDeclineAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down Expand Up @@ -1651,6 +1691,21 @@ class ElementCardIncrementAdditionalAmountsDental(BaseModel):
"""


class ElementCardIncrementAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class ElementCardIncrementAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -1763,6 +1818,9 @@ class ElementCardIncrementAdditionalAmounts(BaseModel):
dental: Optional[ElementCardIncrementAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[ElementCardIncrementAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[ElementCardIncrementAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down Expand Up @@ -3252,6 +3310,21 @@ class ElementCardValidationAdditionalAmountsDental(BaseModel):
"""


class ElementCardValidationAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class ElementCardValidationAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -3364,6 +3437,9 @@ class ElementCardValidationAdditionalAmounts(BaseModel):
dental: Optional[ElementCardValidationAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[ElementCardValidationAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[ElementCardValidationAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down
19 changes: 19 additions & 0 deletions src/increase/types/declined_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"SourceCardDeclineAdditionalAmounts",
"SourceCardDeclineAdditionalAmountsClinic",
"SourceCardDeclineAdditionalAmountsDental",
"SourceCardDeclineAdditionalAmountsOriginal",
"SourceCardDeclineAdditionalAmountsPrescription",
"SourceCardDeclineAdditionalAmountsSurcharge",
"SourceCardDeclineAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -152,6 +153,21 @@ class SourceCardDeclineAdditionalAmountsDental(BaseModel):
"""


class SourceCardDeclineAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class SourceCardDeclineAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -264,6 +280,9 @@ class SourceCardDeclineAdditionalAmounts(BaseModel):
dental: Optional[SourceCardDeclineAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[SourceCardDeclineAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[SourceCardDeclineAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down
19 changes: 19 additions & 0 deletions src/increase/types/pending_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"SourceCardAuthorizationAdditionalAmounts",
"SourceCardAuthorizationAdditionalAmountsClinic",
"SourceCardAuthorizationAdditionalAmountsDental",
"SourceCardAuthorizationAdditionalAmountsOriginal",
"SourceCardAuthorizationAdditionalAmountsPrescription",
"SourceCardAuthorizationAdditionalAmountsSurcharge",
"SourceCardAuthorizationAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -102,6 +103,21 @@ class SourceCardAuthorizationAdditionalAmountsDental(BaseModel):
"""


class SourceCardAuthorizationAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class SourceCardAuthorizationAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -214,6 +230,9 @@ class SourceCardAuthorizationAdditionalAmounts(BaseModel):
dental: Optional[SourceCardAuthorizationAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[SourceCardAuthorizationAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[SourceCardAuthorizationAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down
19 changes: 19 additions & 0 deletions src/increase/types/real_time_decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"CardAuthorizationAdditionalAmounts",
"CardAuthorizationAdditionalAmountsClinic",
"CardAuthorizationAdditionalAmountsDental",
"CardAuthorizationAdditionalAmountsOriginal",
"CardAuthorizationAdditionalAmountsPrescription",
"CardAuthorizationAdditionalAmountsSurcharge",
"CardAuthorizationAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -115,6 +116,21 @@ class CardAuthorizationAdditionalAmountsDental(BaseModel):
"""


class CardAuthorizationAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class CardAuthorizationAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -227,6 +243,9 @@ class CardAuthorizationAdditionalAmounts(BaseModel):
dental: Optional[CardAuthorizationAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[CardAuthorizationAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[CardAuthorizationAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down
19 changes: 19 additions & 0 deletions src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"SourceCardFinancialAdditionalAmounts",
"SourceCardFinancialAdditionalAmountsClinic",
"SourceCardFinancialAdditionalAmountsDental",
"SourceCardFinancialAdditionalAmountsOriginal",
"SourceCardFinancialAdditionalAmountsPrescription",
"SourceCardFinancialAdditionalAmountsSurcharge",
"SourceCardFinancialAdditionalAmountsTotalCumulative",
Expand Down Expand Up @@ -521,6 +522,21 @@ class SourceCardFinancialAdditionalAmountsDental(BaseModel):
"""


class SourceCardFinancialAdditionalAmountsOriginal(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.

The amount is positive if it is added to the amount (such as an ATM surcharge
fee) and negative if it is subtracted from the amount (such as a discount).
"""

currency: str
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
amount's currency.
"""


class SourceCardFinancialAdditionalAmountsPrescription(BaseModel):
amount: int
"""The amount in minor units of the `currency` field.
Expand Down Expand Up @@ -633,6 +649,9 @@ class SourceCardFinancialAdditionalAmounts(BaseModel):
dental: Optional[SourceCardFinancialAdditionalAmountsDental] = None
"""The part of this transaction amount that was for dental-related services."""

original: Optional[SourceCardFinancialAdditionalAmountsOriginal] = None
"""The original pre-authorized amount."""

prescription: Optional[SourceCardFinancialAdditionalAmountsPrescription] = None
"""The part of this transaction amount that was for healthcare prescriptions."""

Expand Down