From a9e416dfcabec9d1a5651ca3cb045b84cc2b01a3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 23:26:03 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- src/increase/resources/card_push_transfers.py | 56 +++++++++++++++++++ .../types/card_push_transfer_create_params.py | 30 ++++++++++ .../api_resources/test_card_push_transfers.py | 12 ++++ 4 files changed, 100 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8967e15ae..e07655247 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/src/increase/resources/card_push_transfers.py b/src/increase/resources/card_push_transfers.py index be5273de6..3dc28da1b 100644 --- a/src/increase/resources/card_push_transfers.py +++ b/src/increase/resources/card_push_transfers.py @@ -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. @@ -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 @@ -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, @@ -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. @@ -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 @@ -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, diff --git a/src/increase/types/card_push_transfer_create_params.py b/src/increase/types/card_push_transfer_create_params.py index 705439db4..ae66703f8 100644 --- a/src/increase/types/card_push_transfer_create_params.py +++ b/src/increase/types/card_push_transfer_create_params.py @@ -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.""" diff --git a/tests/api_resources/test_card_push_transfers.py b/tests/api_resources/test_card_push_transfers.py index c12a8d0d5..a936ec353 100644 --- a/tests/api_resources/test_card_push_transfers.py +++ b/tests/api_resources/test_card_push_transfers.py @@ -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"]) @@ -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"]) From 7ee0b1490285d29d9220d2afa5f022532e4457d9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 23:26:25 +0000 Subject: [PATCH 2/2] release: 0.457.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a45036ef6..7fba3a9a3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.456.0" + ".": "0.457.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 33c6276f0..54befa999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index b4c606165..c828efcbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/increase/_version.py b/src/increase/_version.py index c041d1cc2..c12164cbd 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -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