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.374.0"
".": "0.375.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-fd1e9a0d66098ce0c20cb6c15bbb8c26a8662d52730907deb4a179aebd6b89d6.yml
openapi_spec_hash: 2139b75a9f653c413775fb96f70ba794
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-29da995f8b04baed0eb2b6b038bc14f3165a3e1eae15b7a1136cce323d132bfd.yml
openapi_spec_hash: ff369b84b7477f46c3f3e3edeecaf176
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.375.0 (2025-10-30)

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

### Features

* **api:** api update ([2e7cf6e](https://github.com/Increase/increase-python/commit/2e7cf6edd5aa35335078a4eba1c8021ddc512684))

## 0.374.0 (2025-10-30)

Full Changelog: [v0.373.0...v0.374.0](https://github.com/Increase/increase-python/compare/v0.373.0...v0.374.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.374.0"
version = "0.375.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.374.0" # x-release-please-version
__version__ = "0.375.0" # x-release-please-version
22 changes: 22 additions & 0 deletions src/increase/resources/check_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def create(
amount: int,
fulfillment_method: Literal["physical_check", "third_party"],
source_account_number_id: str,
balance_check: Literal["full", "none"] | Omit = omit,
check_number: str | Omit = omit,
physical_check: check_transfer_create_params.PhysicalCheck | Omit = omit,
require_approval: bool | Omit = omit,
Expand Down Expand Up @@ -81,6 +82,15 @@ def create(
source_account_number_id: The identifier of the Account Number from which to send the transfer and print
on the check.

balance_check: How the account's available balance should be checked. Please contact
[support@increase.com](mailto:support@increase.com) to enable this parameter.

- `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 when the check transfer is initiated.
A zero-dollar Pending Transaction will be created. The balance will still be
checked when the Inbound Check Deposit is created.

check_number: The check number Increase should use for the check. This should not contain
leading zeroes and must be unique across the `source_account_number`. If this is
omitted, Increase will generate a check number for you.
Expand Down Expand Up @@ -113,6 +123,7 @@ def create(
"amount": amount,
"fulfillment_method": fulfillment_method,
"source_account_number_id": source_account_number_id,
"balance_check": balance_check,
"check_number": check_number,
"physical_check": physical_check,
"require_approval": require_approval,
Expand Down Expand Up @@ -390,6 +401,7 @@ async def create(
amount: int,
fulfillment_method: Literal["physical_check", "third_party"],
source_account_number_id: str,
balance_check: Literal["full", "none"] | Omit = omit,
check_number: str | Omit = omit,
physical_check: check_transfer_create_params.PhysicalCheck | Omit = omit,
require_approval: bool | Omit = omit,
Expand Down Expand Up @@ -420,6 +432,15 @@ async def create(
source_account_number_id: The identifier of the Account Number from which to send the transfer and print
on the check.

balance_check: How the account's available balance should be checked. Please contact
[support@increase.com](mailto:support@increase.com) to enable this parameter.

- `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 when the check transfer is initiated.
A zero-dollar Pending Transaction will be created. The balance will still be
checked when the Inbound Check Deposit is created.

check_number: The check number Increase should use for the check. This should not contain
leading zeroes and must be unique across the `source_account_number`. If this is
omitted, Increase will generate a check number for you.
Expand Down Expand Up @@ -452,6 +473,7 @@ async def create(
"amount": amount,
"fulfillment_method": fulfillment_method,
"source_account_number_id": source_account_number_id,
"balance_check": balance_check,
"check_number": check_number,
"physical_check": physical_check,
"require_approval": require_approval,
Expand Down
13 changes: 13 additions & 0 deletions src/increase/types/check_transfer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ class CheckTransferCreateParams(TypedDict, total=False):
on the check.
"""

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

Please contact [support@increase.com](mailto:support@increase.com) to enable
this parameter.

- `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 when the check transfer is initiated.
A zero-dollar Pending Transaction will be created. The balance will still be
checked when the Inbound Check Deposit is created.
"""

check_number: str
"""The check number Increase should use for the check.

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_check_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
amount=1000,
fulfillment_method="physical_check",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
balance_check="full",
check_number="x",
physical_check={
"mailing_address": {
Expand Down Expand Up @@ -323,6 +324,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
amount=1000,
fulfillment_method="physical_check",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
balance_check="full",
check_number="x",
physical_check={
"mailing_address": {
Expand Down