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.456.0"
".": "0.457.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: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-297d19c04d7384ffc16c672182c0439c3880fc912fbabf20a378d38182cc7420.yml
openapi_spec_hash: 02126c1ab3c22027a0f0aa1ce12cf7f6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a16a9b919e2ea18d09e373a7ecb0f10d6bb6a34c3c03397b2c7582a0b372c15e.yml
openapi_spec_hash: 7d45d8bb661f1f3e6000c9e0b683fa4e
config_hash: 0997ade8b52ec04e82d5b0c3b61bb51e
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.457.0 (2026-03-24)

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

### Features

* **api:** api update ([a9e416d](https://github.com/Increase/increase-python/commit/a9e416dfcabec9d1a5651ca3cb045b84cc2b01a3))

## 0.456.0 (2026-03-24)

Full Changelog: [v0.455.0...v0.456.0](https://github.com/Increase/increase-python/compare/v0.455.0...v0.456.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.456.0"
version = "0.457.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.456.0" # x-release-please-version
__version__ = "0.457.0" # x-release-please-version
56 changes: 56 additions & 0 deletions src/increase/resources/card_push_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ def create(
sender_address_state: str,
sender_name: str,
source_account_number_id: str,
merchant_legal_business_name: str | Omit = omit,
merchant_street_address: str | Omit = omit,
recipient_address_city: str | Omit = omit,
recipient_address_line1: str | Omit = omit,
recipient_address_postal_code: str | Omit = omit,
recipient_address_state: str | Omit = omit,
require_approval: bool | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -149,6 +155,22 @@ def create(

source_account_number_id: The identifier of the Account Number from which to send the transfer.

merchant_legal_business_name: The legal business name of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.

merchant_street_address: The street address of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.

recipient_address_city: The city of the recipient. Required if the card is issued in Canada.

recipient_address_line1: The first line of the recipient's address. Required if the card is issued in
Canada.

recipient_address_postal_code: The postal code of the recipient. Required if the card is issued in Canada.

recipient_address_state: The state or province of the recipient. Required if the card is issued in
Canada.

require_approval: Whether the transfer requires explicit approval via the dashboard or API.

extra_headers: Send extra headers
Expand Down Expand Up @@ -181,6 +203,12 @@ def create(
"sender_address_state": sender_address_state,
"sender_name": sender_name,
"source_account_number_id": source_account_number_id,
"merchant_legal_business_name": merchant_legal_business_name,
"merchant_street_address": merchant_street_address,
"recipient_address_city": recipient_address_city,
"recipient_address_line1": recipient_address_line1,
"recipient_address_postal_code": recipient_address_postal_code,
"recipient_address_state": recipient_address_state,
"require_approval": require_approval,
},
card_push_transfer_create_params.CardPushTransferCreateParams,
Expand Down Expand Up @@ -442,6 +470,12 @@ async def create(
sender_address_state: str,
sender_name: str,
source_account_number_id: str,
merchant_legal_business_name: str | Omit = omit,
merchant_street_address: str | Omit = omit,
recipient_address_city: str | Omit = omit,
recipient_address_line1: str | Omit = omit,
recipient_address_postal_code: str | Omit = omit,
recipient_address_state: str | Omit = omit,
require_approval: bool | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -513,6 +547,22 @@ async def create(

source_account_number_id: The identifier of the Account Number from which to send the transfer.

merchant_legal_business_name: The legal business name of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.

merchant_street_address: The street address of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.

recipient_address_city: The city of the recipient. Required if the card is issued in Canada.

recipient_address_line1: The first line of the recipient's address. Required if the card is issued in
Canada.

recipient_address_postal_code: The postal code of the recipient. Required if the card is issued in Canada.

recipient_address_state: The state or province of the recipient. Required if the card is issued in
Canada.

require_approval: Whether the transfer requires explicit approval via the dashboard or API.

extra_headers: Send extra headers
Expand Down Expand Up @@ -545,6 +595,12 @@ async def create(
"sender_address_state": sender_address_state,
"sender_name": sender_name,
"source_account_number_id": source_account_number_id,
"merchant_legal_business_name": merchant_legal_business_name,
"merchant_street_address": merchant_street_address,
"recipient_address_city": recipient_address_city,
"recipient_address_line1": recipient_address_line1,
"recipient_address_postal_code": recipient_address_postal_code,
"recipient_address_state": recipient_address_state,
"require_approval": require_approval,
},
card_push_transfer_create_params.CardPushTransferCreateParams,
Expand Down
30 changes: 30 additions & 0 deletions src/increase/types/card_push_transfer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,36 @@ class CardPushTransferCreateParams(TypedDict, total=False):
source_account_number_id: Required[str]
"""The identifier of the Account Number from which to send the transfer."""

merchant_legal_business_name: str
"""
The legal business name of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.
"""

merchant_street_address: str
"""
The street address of the merchant (generally your business) sending the
transfer. Required if the card is issued in Canada.
"""

recipient_address_city: str
"""The city of the recipient. Required if the card is issued in Canada."""

recipient_address_line1: str
"""The first line of the recipient's address.

Required if the card is issued in Canada.
"""

recipient_address_postal_code: str
"""The postal code of the recipient. Required if the card is issued in Canada."""

recipient_address_state: str
"""The state or province of the recipient.

Required if the card is issued in Canada.
"""

require_approval: bool
"""Whether the transfer requires explicit approval via the dashboard or API."""

Expand Down
12 changes: 12 additions & 0 deletions tests/api_resources/test_card_push_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
sender_address_state="NY",
sender_name="Ian Crease",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
merchant_legal_business_name="x",
merchant_street_address="x",
recipient_address_city="x",
recipient_address_line1="x",
recipient_address_postal_code="x",
recipient_address_state="x",
require_approval=True,
)
assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"])
Expand Down Expand Up @@ -339,6 +345,12 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
sender_address_state="NY",
sender_name="Ian Crease",
source_account_number_id="account_number_v18nkfqm6afpsrvy82b2",
merchant_legal_business_name="x",
merchant_street_address="x",
recipient_address_city="x",
recipient_address_line1="x",
recipient_address_postal_code="x",
recipient_address_state="x",
require_approval=True,
)
assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"])
Expand Down