Skip to content

Commit 4d74fb5

Browse files
feat(api): api update
1 parent c5dd673 commit 4d74fb5

5 files changed

Lines changed: 38 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 217
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-94d559b14c3611637885b103aa75adb26dff816369b1fdb758440e288d1ea83b.yml
3-
openapi_spec_hash: 4e257b20b410526bc54fd6ced9db3a5d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0099e03e7fa522327e05de8b00e0d0f8873c9267bbb39a29d22b2aa6bb571d16.yml
3+
openapi_spec_hash: 8691ea0b11ed2570986fadb52e6b87db
44
config_hash: e1885b38eded054b77308a024c5d80cc

‎src/increase/types/pending_transaction.py‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"SourceCardPushTransferInstruction",
3232
"SourceCheckDepositInstruction",
3333
"SourceCheckTransferInstruction",
34+
"SourceFedNowTransferInstruction",
3435
"SourceInboundFundsHold",
3536
"SourceInboundWireTransferReversal",
3637
"SourceRealTimePaymentsTransferInstruction",
@@ -662,6 +663,11 @@ class SourceCheckTransferInstruction(BaseModel):
662663
"""The identifier of the Check Transfer that led to this Pending Transaction."""
663664

664665

666+
class SourceFedNowTransferInstruction(BaseModel):
667+
transfer_id: str
668+
"""The identifier of the FedNow Transfer that led to this Pending Transaction."""
669+
670+
665671
class SourceInboundFundsHold(BaseModel):
666672
amount: int
667673
"""The held amount in the minor unit of the account's currency.
@@ -794,6 +800,7 @@ class Source(BaseModel):
794800
"card_authorization",
795801
"check_deposit_instruction",
796802
"check_transfer_instruction",
803+
"fed_now_transfer_instruction",
797804
"inbound_funds_hold",
798805
"user_initiated_hold",
799806
"real_time_payments_transfer_instruction",
@@ -818,6 +825,8 @@ class Source(BaseModel):
818825
the `check_deposit_instruction` object.
819826
- `check_transfer_instruction` - Check Transfer Instruction: details will be
820827
under the `check_transfer_instruction` object.
828+
- `fed_now_transfer_instruction` - FedNow Transfer Instruction: details will be
829+
under the `fed_now_transfer_instruction` object.
821830
- `inbound_funds_hold` - Inbound Funds Hold: details will be under the
822831
`inbound_funds_hold` object.
823832
- `user_initiated_hold` - User Initiated Hold: details will be under the
@@ -851,6 +860,13 @@ class Source(BaseModel):
851860
equal to `check_transfer_instruction`.
852861
"""
853862

863+
fed_now_transfer_instruction: Optional[SourceFedNowTransferInstruction] = None
864+
"""A FedNow Transfer Instruction object.
865+
866+
This field will be present in the JSON response if and only if `category` is
867+
equal to `fed_now_transfer_instruction`.
868+
"""
869+
854870
inbound_funds_hold: Optional[SourceInboundFundsHold] = None
855871
"""An Inbound Funds Hold object.
856872

‎src/increase/types/pending_transaction_list_params.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class PendingTransactionListParams(TypedDict, total=False):
4444
"card_authorization",
4545
"check_deposit_instruction",
4646
"check_transfer_instruction",
47+
"fed_now_transfer_instruction",
4748
"inbound_funds_hold",
4849
"user_initiated_hold",
4950
"real_time_payments_transfer_instruction",

‎src/increase/types/transaction.py‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"SourceCheckDepositAcceptance",
4747
"SourceCheckDepositReturn",
4848
"SourceCheckTransferDeposit",
49+
"SourceFedNowTransferAcknowledgement",
4950
"SourceFeePayment",
5051
"SourceInboundACHTransfer",
5152
"SourceInboundACHTransferAddenda",
@@ -1869,6 +1870,11 @@ class SourceCheckTransferDeposit(BaseModel):
18691870
"""
18701871

18711872

1873+
class SourceFedNowTransferAcknowledgement(BaseModel):
1874+
transfer_id: str
1875+
"""The identifier of the FedNow Transfer that led to this Transaction."""
1876+
1877+
18721878
class SourceFeePayment(BaseModel):
18731879
amount: int
18741880
"""The amount in the minor unit of the transaction's currency.
@@ -2434,6 +2440,7 @@ class Source(BaseModel):
24342440
"card_revenue_payment",
24352441
"check_deposit_acceptance",
24362442
"check_deposit_return",
2443+
"fed_now_transfer_acknowledgement",
24372444
"check_transfer_deposit",
24382445
"fee_payment",
24392446
"inbound_ach_transfer",
@@ -2485,6 +2492,8 @@ class Source(BaseModel):
24852492
the `check_deposit_acceptance` object.
24862493
- `check_deposit_return` - Check Deposit Return: details will be under the
24872494
`check_deposit_return` object.
2495+
- `fed_now_transfer_acknowledgement` - FedNow Transfer Acknowledgement: details
2496+
will be under the `fed_now_transfer_acknowledgement` object.
24882497
- `check_transfer_deposit` - Check Transfer Deposit: details will be under the
24892498
`check_transfer_deposit` object.
24902499
- `fee_payment` - Fee Payment: details will be under the `fee_payment` object.
@@ -2558,6 +2567,15 @@ class Source(BaseModel):
25582567
types of checks are not pre-registered.
25592568
"""
25602569

2570+
fed_now_transfer_acknowledgement: Optional[SourceFedNowTransferAcknowledgement] = None
2571+
"""A FedNow Transfer Acknowledgement object.
2572+
2573+
This field will be present in the JSON response if and only if `category` is
2574+
equal to `fed_now_transfer_acknowledgement`. A FedNow Transfer Acknowledgement
2575+
is created when a FedNow Transfer sent from Increase is acknowledged by the
2576+
receiving bank.
2577+
"""
2578+
25612579
fee_payment: Optional[SourceFeePayment] = None
25622580
"""A Fee Payment object.
25632581

‎src/increase/types/transaction_list_params.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class TransactionListParams(TypedDict, total=False):
5353
"card_revenue_payment",
5454
"check_deposit_acceptance",
5555
"check_deposit_return",
56+
"fed_now_transfer_acknowledgement",
5657
"check_transfer_deposit",
5758
"fee_payment",
5859
"inbound_ach_transfer",

0 commit comments

Comments
 (0)