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.255.0"
".": "0.256.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: 201
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-96d05b8e37bf249bf8308adae52fd62efc5a37bf7dff2911bdfddb89c503bb30.yml
openapi_spec_hash: 35c0fded197228fc0680fe6ce04f6c82
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a027ea8bf72e85055306ceaf380c0311b8ed5e6e83962de0ccf48f62c85403fc.yml
openapi_spec_hash: 5a69ed697dee32af7deae0c6ebf27377
config_hash: 97774f946585cecb19181a1817870d0b
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.256.0 (2025-06-26)

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

### Features

* **api:** api update ([73b7aa4](https://github.com/Increase/increase-python/commit/73b7aa47dae1e144bbe3692775a6942b25663c88))
* **api:** api update ([e47b0b0](https://github.com/Increase/increase-python/commit/e47b0b050e5a0c22a58c43d143853bf1bfe39b9e))

## 0.255.0 (2025-06-25)

Full Changelog: [v0.254.0...v0.255.0](https://github.com/Increase/increase-python/compare/v0.254.0...v0.255.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.255.0"
version = "0.256.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.255.0" # x-release-please-version
__version__ = "0.256.0" # x-release-please-version
4 changes: 4 additions & 0 deletions src/increase/resources/simulations/card_authorizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def create(
"group_locked",
"insufficient_funds",
"cvv2_mismatch",
"pin_mismatch",
"card_expiration_mismatch",
"transaction_not_allowed",
"breaches_limit",
Expand Down Expand Up @@ -121,6 +122,7 @@ def create(
- `insufficient_funds` - The Card's Account did not have a sufficient available
balance.
- `cvv2_mismatch` - The given CVV2 did not match the card's value.
- `pin_mismatch` - The given PIN did not match the card's value.
- `card_expiration_mismatch` - The given expiration date did not match the
card's value. Only applies when a CVV2 is present.
- `transaction_not_allowed` - The attempted card transaction is not allowed per
Expand Down Expand Up @@ -258,6 +260,7 @@ async def create(
"group_locked",
"insufficient_funds",
"cvv2_mismatch",
"pin_mismatch",
"card_expiration_mismatch",
"transaction_not_allowed",
"breaches_limit",
Expand Down Expand Up @@ -321,6 +324,7 @@ async def create(
- `insufficient_funds` - The Card's Account did not have a sufficient available
balance.
- `cvv2_mismatch` - The given CVV2 did not match the card's value.
- `pin_mismatch` - The given PIN did not match the card's value.
- `card_expiration_mismatch` - The given expiration date did not match the
card's value. Only applies when a CVV2 is present.
- `transaction_not_allowed` - The attempted card transaction is not allowed per
Expand Down
10 changes: 10 additions & 0 deletions src/increase/resources/wire_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def create(
beneficiary_address_line2: str | NotGiven = NOT_GIVEN,
beneficiary_address_line3: str | NotGiven = NOT_GIVEN,
external_account_id: str | NotGiven = NOT_GIVEN,
inbound_wire_drawdown_request_id: str | NotGiven = NOT_GIVEN,
originator_address_line1: str | NotGiven = NOT_GIVEN,
originator_address_line2: str | NotGiven = NOT_GIVEN,
originator_address_line3: str | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -92,6 +93,9 @@ def create(
external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is
provided, `account_number` and `routing_number` must be absent.

inbound_wire_drawdown_request_id: The ID of an Inbound Wire Drawdown Request in response to which this transfer is
being sent.

originator_address_line1: The originator's address line 1. This is only necessary if you're transferring
from a commingled account. Otherwise, we'll use the associated entity's details.

Expand Down Expand Up @@ -134,6 +138,7 @@ def create(
"beneficiary_address_line2": beneficiary_address_line2,
"beneficiary_address_line3": beneficiary_address_line3,
"external_account_id": external_account_id,
"inbound_wire_drawdown_request_id": inbound_wire_drawdown_request_id,
"originator_address_line1": originator_address_line1,
"originator_address_line2": originator_address_line2,
"originator_address_line3": originator_address_line3,
Expand Down Expand Up @@ -371,6 +376,7 @@ async def create(
beneficiary_address_line2: str | NotGiven = NOT_GIVEN,
beneficiary_address_line3: str | NotGiven = NOT_GIVEN,
external_account_id: str | NotGiven = NOT_GIVEN,
inbound_wire_drawdown_request_id: str | NotGiven = NOT_GIVEN,
originator_address_line1: str | NotGiven = NOT_GIVEN,
originator_address_line2: str | NotGiven = NOT_GIVEN,
originator_address_line3: str | NotGiven = NOT_GIVEN,
Expand Down Expand Up @@ -409,6 +415,9 @@ async def create(
external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is
provided, `account_number` and `routing_number` must be absent.

inbound_wire_drawdown_request_id: The ID of an Inbound Wire Drawdown Request in response to which this transfer is
being sent.

originator_address_line1: The originator's address line 1. This is only necessary if you're transferring
from a commingled account. Otherwise, we'll use the associated entity's details.

Expand Down Expand Up @@ -451,6 +460,7 @@ async def create(
"beneficiary_address_line2": beneficiary_address_line2,
"beneficiary_address_line3": beneficiary_address_line3,
"external_account_id": external_account_id,
"inbound_wire_drawdown_request_id": inbound_wire_drawdown_request_id,
"originator_address_line1": originator_address_line1,
"originator_address_line2": originator_address_line2,
"originator_address_line3": originator_address_line3,
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/card_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@ class ElementCardDecline(BaseModel):
"group_locked",
"insufficient_funds",
"cvv2_mismatch",
"pin_mismatch",
"card_expiration_mismatch",
"transaction_not_allowed",
"breaches_limit",
Expand All @@ -1093,6 +1094,7 @@ class ElementCardDecline(BaseModel):
- `insufficient_funds` - The Card's Account did not have a sufficient available
balance.
- `cvv2_mismatch` - The given CVV2 did not match the card's value.
- `pin_mismatch` - The given PIN did not match the card's value.
- `card_expiration_mismatch` - The given expiration date did not match the
card's value. Only applies when a CVV2 is present.
- `transaction_not_allowed` - The attempted card transaction is not allowed per
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/declined_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ class SourceCardDecline(BaseModel):
"group_locked",
"insufficient_funds",
"cvv2_mismatch",
"pin_mismatch",
"card_expiration_mismatch",
"transaction_not_allowed",
"breaches_limit",
Expand All @@ -541,6 +542,7 @@ class SourceCardDecline(BaseModel):
- `insufficient_funds` - The Card's Account did not have a sufficient available
balance.
- `cvv2_mismatch` - The given CVV2 did not match the card's value.
- `pin_mismatch` - The given PIN did not match the card's value.
- `card_expiration_mismatch` - The given expiration date did not match the
card's value. Only applies when a CVV2 is present.
- `transaction_not_allowed` - The attempted card transaction is not allowed per
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False):
"group_locked",
"insufficient_funds",
"cvv2_mismatch",
"pin_mismatch",
"card_expiration_mismatch",
"transaction_not_allowed",
"breaches_limit",
Expand All @@ -53,6 +54,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False):
- `insufficient_funds` - The Card's Account did not have a sufficient available
balance.
- `cvv2_mismatch` - The given CVV2 did not match the card's value.
- `pin_mismatch` - The given PIN did not match the card's value.
- `card_expiration_mismatch` - The given expiration date did not match the
card's value. Only applies when a CVV2 is present.
- `transaction_not_allowed` - The attempted card transaction is not allowed per
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/wire_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ class WireTransfer(BaseModel):
[idempotency](https://increase.com/documentation/idempotency-keys).
"""

inbound_wire_drawdown_request_id: Optional[str] = None
"""
The ID of an Inbound Wire Drawdown Request in response to which this transfer
was sent.
"""

message_to_recipient: Optional[str] = None
"""The message that will show on the recipient's bank statement."""

Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/wire_transfer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ class WireTransferCreateParams(TypedDict, total=False):
absent.
"""

inbound_wire_drawdown_request_id: str
"""
The ID of an Inbound Wire Drawdown Request in response to which this transfer is
being sent.
"""

originator_address_line1: str
"""The originator's address line 1.

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_wire_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
beneficiary_address_line2="New York",
beneficiary_address_line3="NY 10045",
external_account_id="external_account_id",
inbound_wire_drawdown_request_id="inbound_wire_drawdown_request_id",
originator_address_line1="x",
originator_address_line2="x",
originator_address_line3="x",
Expand Down Expand Up @@ -265,6 +266,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
beneficiary_address_line2="New York",
beneficiary_address_line3="NY 10045",
external_account_id="external_account_id",
inbound_wire_drawdown_request_id="inbound_wire_drawdown_request_id",
originator_address_line1="x",
originator_address_line2="x",
originator_address_line3="x",
Expand Down