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.276.0"
".": "0.277.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-aceb2cce1f9a46b1059a04de979b4c40210190639a4c264944b4402042168804.yml
openapi_spec_hash: 5b4ea7615676e742cea44d107b8038ca
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-147712ba3a72b1dea9a966f9b0ebc99ccebe38e1789426115f3b4c8977ed03c8.yml
openapi_spec_hash: 6c6fc01c8ea4f34b3c2553928945c100
config_hash: a185e9a72778cc4658ea73fb3a7f1354
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.277.0 (2025-08-06)

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

### Features

* **api:** api update ([63a695f](https://github.com/Increase/increase-python/commit/63a695f5c7052b20f50d05da436118593066b1e9))


### Chores

* **internal:** fix ruff target version ([3099e0b](https://github.com/Increase/increase-python/commit/3099e0be784c352c02fffb65b88495d30a0d1f2a))

## 0.276.0 (2025-08-04)

Full Changelog: [v0.275.0...v0.276.0](https://github.com/Increase/increase-python/compare/v0.275.0...v0.276.0)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.276.0"
version = "0.277.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -159,7 +159,7 @@ reportPrivateUsage = false
[tool.ruff]
line-length = 120
output-format = "grouped"
target-version = "py37"
target-version = "py38"

[tool.ruff.format]
docstring-code-format = true
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.276.0" # x-release-please-version
__version__ = "0.277.0" # x-release-please-version
63 changes: 63 additions & 0 deletions src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"SourceACHTransferRejection",
"SourceACHTransferReturn",
"SourceCardDisputeAcceptance",
"SourceCardDisputeFinancial",
"SourceCardDisputeFinancialVisa",
"SourceCardDisputeLoss",
"SourceCardPushTransferAcceptance",
"SourceCardRefund",
Expand Down Expand Up @@ -393,6 +395,57 @@ class SourceCardDisputeAcceptance(BaseModel):
"""


class SourceCardDisputeFinancialVisa(BaseModel):
event_type: Literal[
"chargeback_submitted",
"merchant_prearbitration_declined",
"merchant_prearbitration_received",
"represented",
"user_prearbitration_declined",
"user_prearbitration_submitted",
]
"""The type of card dispute financial event.

- `chargeback_submitted` - The user's chargeback was submitted.
- `merchant_prearbitration_declined` - The user declined the merchant's request
for pre-arbitration.
- `merchant_prearbitration_received` - The merchant's request for
pre-arbitration was received.
- `represented` - The transaction was represented by the merchant.
- `user_prearbitration_declined` - The user's request for pre-arbitration was
declined.
- `user_prearbitration_submitted` - The user's request for pre-arbitration was
submitted.
"""


class SourceCardDisputeFinancial(BaseModel):
amount: int
"""The amount of the financial event."""

card_dispute_id: str
"""The identifier of the Card Dispute the financial event is associated with."""

network: Literal["visa"]
"""The network that the Card Dispute is associated with.

- `visa` - Visa: details will be under the `visa` object.
"""

transaction_id: str
"""
The identifier of the Transaction that was created to credit or debit the
disputed funds to or from your account.
"""

visa: Optional[SourceCardDisputeFinancialVisa] = None
"""
Information for events related to card dispute for card payments processed over
Visa's network. This field will be present in the JSON response if and only if
`network` is equal to `visa`.
"""


class SourceCardDisputeLoss(BaseModel):
card_dispute_id: str
"""The identifier of the Card Dispute that was lost."""
Expand Down Expand Up @@ -2352,6 +2405,13 @@ class Source(BaseModel):
Dispute.
"""

card_dispute_financial: Optional[SourceCardDisputeFinancial] = None
"""A Card Dispute Financial object.

This field will be present in the JSON response if and only if `category` is
equal to `card_dispute_financial`. Financial event related to a Card Dispute.
"""

card_dispute_loss: Optional[SourceCardDisputeLoss] = None
"""A Card Dispute Loss object.

Expand Down Expand Up @@ -2410,6 +2470,7 @@ class Source(BaseModel):
"ach_transfer_return",
"cashback_payment",
"card_dispute_acceptance",
"card_dispute_financial",
"card_dispute_loss",
"card_refund",
"card_settlement",
Expand Down Expand Up @@ -2453,6 +2514,8 @@ class Source(BaseModel):
`cashback_payment` object.
- `card_dispute_acceptance` - Card Dispute Acceptance: details will be under the
`card_dispute_acceptance` object.
- `card_dispute_financial` - Card Dispute Financial: details will be under the
`card_dispute_financial` object.
- `card_dispute_loss` - Card Dispute Loss: details will be under the
`card_dispute_loss` object.
- `card_refund` - Card Refund: details will be under the `card_refund` object.
Expand Down
1 change: 1 addition & 0 deletions src/increase/types/transaction_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class TransactionListParams(TypedDict, total=False):
"ach_transfer_return",
"cashback_payment",
"card_dispute_acceptance",
"card_dispute_financial",
"card_dispute_loss",
"card_refund",
"card_settlement",
Expand Down