Skip to content

Commit 8b13978

Browse files
feat(api): api update
1 parent 3561d9a commit 8b13978

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 228
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-29da995f8b04baed0eb2b6b038bc14f3165a3e1eae15b7a1136cce323d132bfd.yml
3-
openapi_spec_hash: ff369b84b7477f46c3f3e3edeecaf176
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3d5a35f67916cc1c9e9e4df38edbf72b926effa0faf60ea5cb7047a4a2d7f3c7.yml
3+
openapi_spec_hash: 33c55e463f9bf747f502bdb38d5e2622
44
config_hash: eb2035151c7b49c2f12caf55469b8f9a

src/increase/resources/check_transfers.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@ def create(
8282
source_account_number_id: The identifier of the Account Number from which to send the transfer and print
8383
on the check.
8484
85-
balance_check: How the account's available balance should be checked. Please contact
86-
[support@increase.com](mailto:support@increase.com) to enable this parameter.
85+
balance_check: How the account's available balance should be checked. If omitted, the default
86+
behavior is `balance_check: full`.
8787
8888
- `full` - The available balance of the account must be at least the amount of
89-
the check, and a Pending Transaction will be created for the full amount.
89+
the check, and a Pending Transaction will be created for the full amount. This
90+
is the default behavior if `balance_check` is omitted.
9091
- `none` - No balance check will performed when the check transfer is initiated.
9192
A zero-dollar Pending Transaction will be created. The balance will still be
9293
checked when the Inbound Check Deposit is created.
@@ -432,11 +433,12 @@ async def create(
432433
source_account_number_id: The identifier of the Account Number from which to send the transfer and print
433434
on the check.
434435
435-
balance_check: How the account's available balance should be checked. Please contact
436-
[support@increase.com](mailto:support@increase.com) to enable this parameter.
436+
balance_check: How the account's available balance should be checked. If omitted, the default
437+
behavior is `balance_check: full`.
437438
438439
- `full` - The available balance of the account must be at least the amount of
439-
the check, and a Pending Transaction will be created for the full amount.
440+
the check, and a Pending Transaction will be created for the full amount. This
441+
is the default behavior if `balance_check` is omitted.
440442
- `none` - No balance check will performed when the check transfer is initiated.
441443
A zero-dollar Pending Transaction will be created. The balance will still be
442444
checked when the Inbound Check Deposit is created.

src/increase/types/check_transfer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ class CheckTransfer(BaseModel):
370370
"""How the account's available balance should be checked.
371371
372372
- `full` - The available balance of the account must be at least the amount of
373-
the check, and a Pending Transaction will be created for the full amount.
373+
the check, and a Pending Transaction will be created for the full amount. This
374+
is the default behavior if `balance_check` is omitted.
374375
- `none` - No balance check will performed when the check transfer is initiated.
375376
A zero-dollar Pending Transaction will be created. The balance will still be
376377
checked when the Inbound Check Deposit is created.

src/increase/types/check_transfer_create_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ class CheckTransferCreateParams(TypedDict, total=False):
4040
balance_check: Literal["full", "none"]
4141
"""How the account's available balance should be checked.
4242
43-
Please contact [support@increase.com](mailto:support@increase.com) to enable
44-
this parameter.
43+
If omitted, the default behavior is `balance_check: full`.
4544
4645
- `full` - The available balance of the account must be at least the amount of
47-
the check, and a Pending Transaction will be created for the full amount.
46+
the check, and a Pending Transaction will be created for the full amount. This
47+
is the default behavior if `balance_check` is omitted.
4848
- `none` - No balance check will performed when the check transfer is initiated.
4949
A zero-dollar Pending Transaction will be created. The balance will still be
5050
checked when the Inbound Check Deposit is created.

0 commit comments

Comments
 (0)