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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.prism.log
.vscode
_dev

__pycache__
Expand Down
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.271.0"
".": "0.272.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c88cd4c32889125cd4b50b7d6c53436b4bf61f3f1fa4acbb7494e778aa891f40.yml
openapi_spec_hash: d381528847ebbd39bbf825f9fe678925
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-976ae14d2349a3599f9bd33dba52b3c12c265493a8af9e581c71b2e819b8de04.yml
openapi_spec_hash: d8a9fef4dfe082acdf834ac0339e800c
config_hash: a185e9a72778cc4658ea73fb3a7f1354
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.analysis.importFormat": "relative",
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.272.0 (2025-07-29)

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

### Features

* **api:** api update ([04322ae](https://github.com/Increase/increase-python/commit/04322ae0ae31fd7a121f067bbbb1083067cb6b38))


### Chores

* **project:** add settings file for vscode ([0aae372](https://github.com/Increase/increase-python/commit/0aae372fdf363e07b4f9f5cb35b24f53720d7270))

## 0.271.0 (2025-07-23)

Full Changelog: [v0.270.0...v0.271.0](https://github.com/Increase/increase-python/compare/v0.270.0...v0.271.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.271.0"
version = "0.272.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.271.0" # x-release-please-version
__version__ = "0.272.0" # x-release-please-version
18 changes: 18 additions & 0 deletions src/increase/types/card_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1933,12 +1933,24 @@ class ElementCardReversal(BaseModel):
pending_transaction_id: Optional[str] = None
"""The identifier of the Pending Transaction associated with this Card Reversal."""

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

reversal_amount: int
"""The amount of this reversal in the minor unit of the transaction's currency.

For dollars, for example, this is cents.
"""

reversal_presentment_amount: int
"""
The amount of this reversal in the minor unit of the transaction's presentment
currency. For dollars, for example, this is cents.
"""

reversal_reason: Optional[
Literal[
"reversed_by_customer", "reversed_by_network_or_acquirer", "reversed_by_point_of_sale", "partial_reversal"
Expand Down Expand Up @@ -1973,6 +1985,12 @@ class ElementCardReversal(BaseModel):
transaction's currency. For dollars, for example, this is cents.
"""

updated_authorization_presentment_amount: int
"""
The amount left pending on the Card Authorization in the minor unit of the
transaction's presentment currency. For dollars, for example, this is cents.
"""


class ElementCardSettlementCashback(BaseModel):
amount: str
Expand Down