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.303.0"
".": "0.304.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: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a98d22578526265c9d1ef5ee69db277ab4e3548d5f12ab740eabc7babd33ba1c.yml
openapi_spec_hash: eefa018725a526a04f4fda690fedf0ec
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1c5db818b8692ac57a83f3785c2f0a1d1ea95b9ed35fd4632619947448c22526.yml
openapi_spec_hash: 0b2954fbe726a422219f22f5cddda6d6
config_hash: 632b628b59d8f0b717153b3d8133f6cb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.304.0 (2025-08-27)

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

### Features

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

## 0.303.0 (2025-08-27)

Full Changelog: [v0.302.0...v0.303.0](https://github.com/Increase/increase-python/compare/v0.302.0...v0.303.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.303.0"
version = "0.304.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.303.0" # x-release-please-version
__version__ = "0.304.0" # x-release-please-version
3 changes: 2 additions & 1 deletion src/increase/types/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Account(BaseModel):
"""
The account revenue rate currently being earned on the account, as a string
containing a decimal number. For example, a 1% account revenue rate would be
represented as "0.01".
represented as "0.01". Account revenue is a type of non-interest income accrued
on the account.
"""

bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"]
Expand Down
24 changes: 24 additions & 0 deletions src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
__all__ = [
"Transaction",
"Source",
"SourceAccountRevenuePayment",
"SourceAccountTransferIntention",
"SourceACHTransferIntention",
"SourceACHTransferRejection",
Expand Down Expand Up @@ -67,6 +68,17 @@
]


class SourceAccountRevenuePayment(BaseModel):
accrued_on_account_id: str
"""The account on which the account revenue was accrued."""

period_end: datetime
"""The end of the period for which this transaction paid account revenue."""

period_start: datetime
"""The start of the period for which this transaction paid account revenue."""


class SourceAccountTransferIntention(BaseModel):
amount: int
"""The pending amount in the minor unit of the transaction's currency.
Expand Down Expand Up @@ -2284,6 +2296,15 @@ class SourceWireTransferIntention(BaseModel):


class Source(BaseModel):
account_revenue_payment: Optional[SourceAccountRevenuePayment] = None
"""An Account Revenue Payment object.

This field will be present in the JSON response if and only if `category` is
equal to `account_revenue_payment`. A Account Revenue Payment represents a
payment made to an account from the bank. Account revenue is a type of
non-interest income.
"""

account_transfer_intention: Optional[SourceAccountTransferIntention] = None
"""An Account Transfer Intention object.

Expand Down Expand Up @@ -2419,6 +2440,7 @@ class Source(BaseModel):
"swift_transfer_intention",
"swift_transfer_return",
"card_push_transfer_acceptance",
"account_revenue_payment",
"other",
]
"""The type of the resource.
Expand Down Expand Up @@ -2490,6 +2512,8 @@ class Source(BaseModel):
`swift_transfer_return` object.
- `card_push_transfer_acceptance` - Card Push Transfer Acceptance: details will
be under the `card_push_transfer_acceptance` object.
- `account_revenue_payment` - Account Revenue Payment: details will be under the
`account_revenue_payment` object.
- `other` - The Transaction was made for an undocumented or deprecated reason.
"""

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 @@ -71,6 +71,7 @@ class TransactionListParams(TypedDict, total=False):
"swift_transfer_intention",
"swift_transfer_return",
"card_push_transfer_acceptance",
"account_revenue_payment",
"other",
]
],
Expand Down