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.293.0"
".": "0.294.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: 215
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-289025fcb79a47841395734231b11fd75ad3d80dec533e0eb4533e6afaf82cdf.yml
openapi_spec_hash: 511ad2e7d8c798641f073775ccdab523
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ce8ac7ef645ad6089e9730ae2b44492a6a958a2abcc8bb50130c5ebd7ba1a390.yml
openapi_spec_hash: 90a27266ac1eeab3464f6825d8fd8650
config_hash: 0b0a2503208283b283fc5bc6df6a07a5
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.294.0 (2025-08-20)

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

### Features

* **api:** api update ([0b15798](https://github.com/Increase/increase-python/commit/0b1579861d88c7d87da4b7ad3ac48729d950cbbb))
* **api:** api update ([68e2499](https://github.com/Increase/increase-python/commit/68e24999b994fabdc10686d3aba3c45cbb198030))

## 0.293.0 (2025-08-20)

Full Changelog: [v0.292.0...v0.293.0](https://github.com/Increase/increase-python/compare/v0.292.0...v0.293.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.293.0"
version = "0.294.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.293.0" # x-release-please-version
__version__ = "0.294.0" # x-release-please-version
32 changes: 16 additions & 16 deletions src/increase/resources/ach_prenotifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def create(
Create an ACH Prenotification

Args:
account_id: The Increase identifier for the account that will send the transfer.
account_id: The Increase identifier for the account that will send the ACH Prenotification.

account_number: The account number for the destination account.

Expand All @@ -89,11 +89,11 @@ def create(

addendum: Additional information that will be sent to the recipient.

company_descriptive_date: The description of the date of the transfer.
company_descriptive_date: The description of the date of the ACH Prenotification.

company_discretionary_data: The data you choose to associate with the transfer.
company_discretionary_data: The data you choose to associate with the ACH Prenotification.

company_entry_description: The description of the transfer you wish to be shown to the recipient.
company_entry_description: The description you wish to be shown to the recipient.

company_name: The name by which the recipient knows you.

Expand All @@ -102,13 +102,13 @@ def create(
- `credit` - The Prenotification is for an anticipated credit.
- `debit` - The Prenotification is for an anticipated debit.

effective_date: The transfer effective date in
effective_date: The ACH Prenotification effective date in
[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

individual_id: Your identifier for the transfer recipient.
individual_id: Your identifier for the recipient.

individual_name: The name of the transfer recipient. This value is information and not verified
by the recipient's bank.
individual_name: The name of therecipient. This value is informational and not verified by the
recipient's bank.

standard_entry_class_code: The Standard Entry Class (SEC) code to use for the ACH Prenotification.

Expand Down Expand Up @@ -306,7 +306,7 @@ async def create(
Create an ACH Prenotification

Args:
account_id: The Increase identifier for the account that will send the transfer.
account_id: The Increase identifier for the account that will send the ACH Prenotification.

account_number: The account number for the destination account.

Expand All @@ -315,11 +315,11 @@ async def create(

addendum: Additional information that will be sent to the recipient.

company_descriptive_date: The description of the date of the transfer.
company_descriptive_date: The description of the date of the ACH Prenotification.

company_discretionary_data: The data you choose to associate with the transfer.
company_discretionary_data: The data you choose to associate with the ACH Prenotification.

company_entry_description: The description of the transfer you wish to be shown to the recipient.
company_entry_description: The description you wish to be shown to the recipient.

company_name: The name by which the recipient knows you.

Expand All @@ -328,13 +328,13 @@ async def create(
- `credit` - The Prenotification is for an anticipated credit.
- `debit` - The Prenotification is for an anticipated debit.

effective_date: The transfer effective date in
effective_date: The ACH Prenotification effective date in
[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.

individual_id: Your identifier for the transfer recipient.
individual_id: Your identifier for the recipient.

individual_name: The name of the transfer recipient. This value is information and not verified
by the recipient's bank.
individual_name: The name of therecipient. This value is informational and not verified by the
recipient's bank.

standard_entry_class_code: The Standard Entry Class (SEC) code to use for the ACH Prenotification.

Expand Down
16 changes: 16 additions & 0 deletions src/increase/resources/exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ def create(
*,
category: Literal[
"account_statement_ofx",
"account_statement_bai2",
"transaction_csv",
"balance_csv",
"bookkeeping_account_balance_csv",
"entity_csv",
"vendor_csv",
],
account_statement_bai2: export_create_params.AccountStatementBai2 | NotGiven = NOT_GIVEN,
account_statement_ofx: export_create_params.AccountStatementOfx | NotGiven = NOT_GIVEN,
balance_csv: export_create_params.BalanceCsv | NotGiven = NOT_GIVEN,
bookkeeping_account_balance_csv: export_create_params.BookkeepingAccountBalanceCsv | NotGiven = NOT_GIVEN,
Expand All @@ -77,6 +79,8 @@ def create(

- `account_statement_ofx` - Export an Open Financial Exchange (OFX) file of
transactions and balances for a given time range and Account.
- `account_statement_bai2` - Export a BAI2 file of transactions and balances for
a given date and optional Account.
- `transaction_csv` - Export a CSV of all transactions for a given time range.
- `balance_csv` - Export a CSV of account balances for the dates in a given
range.
Expand All @@ -86,6 +90,9 @@ def create(
- `vendor_csv` - Export a CSV of vendors added to the third-party risk
management dashboard.

account_statement_bai2: Options for the created export. Required if `category` is equal to
`account_statement_bai2`.

account_statement_ofx: Options for the created export. Required if `category` is equal to
`account_statement_ofx`.

Expand Down Expand Up @@ -117,6 +124,7 @@ def create(
body=maybe_transform(
{
"category": category,
"account_statement_bai2": account_statement_bai2,
"account_statement_ofx": account_statement_ofx,
"balance_csv": balance_csv,
"bookkeeping_account_balance_csv": bookkeeping_account_balance_csv,
Expand Down Expand Up @@ -258,12 +266,14 @@ async def create(
*,
category: Literal[
"account_statement_ofx",
"account_statement_bai2",
"transaction_csv",
"balance_csv",
"bookkeeping_account_balance_csv",
"entity_csv",
"vendor_csv",
],
account_statement_bai2: export_create_params.AccountStatementBai2 | NotGiven = NOT_GIVEN,
account_statement_ofx: export_create_params.AccountStatementOfx | NotGiven = NOT_GIVEN,
balance_csv: export_create_params.BalanceCsv | NotGiven = NOT_GIVEN,
bookkeeping_account_balance_csv: export_create_params.BookkeepingAccountBalanceCsv | NotGiven = NOT_GIVEN,
Expand All @@ -286,6 +296,8 @@ async def create(

- `account_statement_ofx` - Export an Open Financial Exchange (OFX) file of
transactions and balances for a given time range and Account.
- `account_statement_bai2` - Export a BAI2 file of transactions and balances for
a given date and optional Account.
- `transaction_csv` - Export a CSV of all transactions for a given time range.
- `balance_csv` - Export a CSV of account balances for the dates in a given
range.
Expand All @@ -295,6 +307,9 @@ async def create(
- `vendor_csv` - Export a CSV of vendors added to the third-party risk
management dashboard.

account_statement_bai2: Options for the created export. Required if `category` is equal to
`account_statement_bai2`.

account_statement_ofx: Options for the created export. Required if `category` is equal to
`account_statement_ofx`.

Expand Down Expand Up @@ -326,6 +341,7 @@ async def create(
body=await async_maybe_transform(
{
"category": category,
"account_statement_bai2": account_statement_bai2,
"account_statement_ofx": account_statement_ofx,
"balance_csv": balance_csv,
"bookkeeping_account_balance_csv": bookkeeping_account_balance_csv,
Expand Down
28 changes: 28 additions & 0 deletions src/increase/types/ach_prenotification.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ class ACHPrenotification(BaseModel):
id: str
"""The ACH Prenotification's identifier."""

account_id: Optional[str] = None
"""The account that sent the ACH Prenotification."""

account_number: str
"""The destination account number."""

Expand Down Expand Up @@ -366,6 +369,15 @@ class ACHPrenotification(BaseModel):
[idempotency](https://increase.com/documentation/idempotency-keys).
"""

individual_id: Optional[str] = None
"""Your identifier for the recipient."""

individual_name: Optional[str] = None
"""The name of the recipient.

This value is informational and not verified by the recipient's bank.
"""

notifications_of_change: List[NotificationsOfChange]
"""
If the receiving bank notifies that future transfers should use different
Expand All @@ -378,6 +390,22 @@ class ACHPrenotification(BaseModel):
routing_number: str
"""The American Bankers' Association (ABA) Routing Transit Number (RTN)."""

standard_entry_class_code: Optional[
Literal[
"corporate_credit_or_debit",
"corporate_trade_exchange",
"prearranged_payments_and_deposit",
"internet_initiated",
]
] = None
"""The Standard Entry Class (SEC) code to use for the ACH Prenotification.

- `corporate_credit_or_debit` - Corporate Credit and Debit (CCD).
- `corporate_trade_exchange` - Corporate Trade Exchange (CTX).
- `prearranged_payments_and_deposit` - Prearranged Payments and Deposits (PPD).
- `internet_initiated` - Internet Initiated (WEB).
"""

status: Literal["pending_submitting", "requires_attention", "returned", "submitted"]
"""The lifecycle status of the ACH Prenotification.

Expand Down
16 changes: 8 additions & 8 deletions src/increase/types/ach_prenotification_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class ACHPrenotificationCreateParams(TypedDict, total=False):
account_id: Required[str]
"""The Increase identifier for the account that will send the transfer."""
"""The Increase identifier for the account that will send the ACH Prenotification."""

account_number: Required[str]
"""The account number for the destination account."""
Expand All @@ -28,13 +28,13 @@ class ACHPrenotificationCreateParams(TypedDict, total=False):
"""Additional information that will be sent to the recipient."""

company_descriptive_date: str
"""The description of the date of the transfer."""
"""The description of the date of the ACH Prenotification."""

company_discretionary_data: str
"""The data you choose to associate with the transfer."""
"""The data you choose to associate with the ACH Prenotification."""

company_entry_description: str
"""The description of the transfer you wish to be shown to the recipient."""
"""The description you wish to be shown to the recipient."""

company_name: str
"""The name by which the recipient knows you."""
Expand All @@ -48,17 +48,17 @@ class ACHPrenotificationCreateParams(TypedDict, total=False):

effective_date: Annotated[Union[str, date], PropertyInfo(format="iso8601")]
"""
The transfer effective date in
The ACH Prenotification effective date in
[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
"""

individual_id: str
"""Your identifier for the transfer recipient."""
"""Your identifier for the recipient."""

individual_name: str
"""The name of the transfer recipient.
"""The name of therecipient.

This value is information and not verified by the recipient's bank.
This value is informational and not verified by the recipient's bank.
"""

standard_entry_class_code: Literal[
Expand Down
3 changes: 3 additions & 0 deletions src/increase/types/card_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ class CardValidation(BaseModel):
account_id: str
"""The identifier of the Account from which to send the validation."""

card_token_id: str
"""The ID of the Card Token that was used to validate the card."""

cardholder_first_name: Optional[str] = None
"""The cardholder's first name."""

Expand Down
9 changes: 9 additions & 0 deletions src/increase/types/check_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,15 @@ class CheckTransfer(BaseModel):
identifier of the Inbound Check Deposit object with details of the deposit.
"""

balance_check: Optional[Literal["full", "none"]] = None
"""How the account's available balance should be checked.

- `full` - The available balance of the account must be at least the amount of
the check, and a Pending Transaction will be created for the full amount.
- `none` - No balance check will performed; a zero-dollar Pending Transaction
will be created.
"""

cancellation: Optional[Cancellation] = None
"""
If your account requires approvals for transfers and the transfer was not
Expand Down
3 changes: 3 additions & 0 deletions src/increase/types/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Export(BaseModel):

category: Literal[
"account_statement_ofx",
"account_statement_bai2",
"transaction_csv",
"balance_csv",
"bookkeeping_account_balance_csv",
Expand All @@ -29,6 +30,8 @@ class Export(BaseModel):

- `account_statement_ofx` - Export an Open Financial Exchange (OFX) file of
transactions and balances for a given time range and Account.
- `account_statement_bai2` - Export a BAI2 file of transactions and balances for
a given date and optional Account.
- `transaction_csv` - Export a CSV of all transactions for a given time range.
- `balance_csv` - Export a CSV of account balances for the dates in a given
range.
Expand Down
Loading