Skip to content
Closed
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 .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: 85e424bee4fe449466ceada88117613e
openapi_spec_hash: b548aecc31ddcee17c83c754a8cdf4be
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/increase/resources/physical_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def create(
Args:
card_id: The underlying card representing this physical card.

cardholder: Details about the cardholder, as it will appear on the physical card.
cardholder: Details about the cardholder, as it will appear on the physical card. The
combined first name and last name cannot exceed 25 characters.

shipment: The details used to ship this physical card.

Expand Down Expand Up @@ -293,7 +294,8 @@ async def create(
Args:
card_id: The underlying card representing this physical card.

cardholder: Details about the cardholder, as it will appear on the physical card.
cardholder: Details about the cardholder, as it will appear on the physical card. The
combined first name and last name cannot exceed 25 characters.

shipment: The details used to ship this physical card.

Expand Down
10 changes: 8 additions & 2 deletions src/increase/resources/simulations/inbound_check_deposits.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ def adjustment(
Args:
inbound_check_deposit_id: The identifier of the Inbound Check Deposit to adjust.

amount: The adjustment amount in cents. Defaults to the amount of the Inbound Check
amount: The adjustment amount in cents. A positive amount means that the funds are being
returned to you by the other bank and is a credit to your account, as happens
for a `wrong_payee_credit`. A negative amount is a debit to your account, as
happens for a `late_return`. Defaults to the amount of the Inbound Check
Deposit.

reason: The reason for the adjustment. Defaults to `wrong_payee_credit`.
Expand Down Expand Up @@ -308,7 +311,10 @@ async def adjustment(
Args:
inbound_check_deposit_id: The identifier of the Inbound Check Deposit to adjust.

amount: The adjustment amount in cents. Defaults to the amount of the Inbound Check
amount: The adjustment amount in cents. A positive amount means that the funds are being
returned to you by the other bank and is a credit to your account, as happens
for a `wrong_payee_credit`. A negative amount is a debit to your account, as
happens for a `late_return`. Defaults to the amount of the Inbound Check
Deposit.

reason: The reason for the adjustment. Defaults to `wrong_payee_credit`.
Expand Down
5 changes: 4 additions & 1 deletion src/increase/types/inbound_check_deposit.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ class Adjustment(BaseModel):
"""The time at which the return adjustment was received."""

amount: int
"""The amount of the adjustment."""
"""The amount of the adjustment in USD cents.

A positive amount is a credit to your account and a negative amount is a debit.
"""

reason: Literal["late_return", "wrong_payee_credit"]
"""The reason for the adjustment.
Expand Down
6 changes: 6 additions & 0 deletions src/increase/types/inbound_fednow_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ class InboundFednowTransfer(BaseModel):
decline: Optional[Decline] = None
"""If your transfer is declined, this will contain details of the decline."""

end_to_end_identification: Optional[str] = None
"""A free-form reference string set by the sender, to help identify the transfer."""

status: Literal["pending_confirming", "timed_out", "confirmed", "declined", "requires_attention"]
"""The lifecycle status of the transfer.

Expand All @@ -134,6 +137,9 @@ class InboundFednowTransfer(BaseModel):
confirmed.
"""

transaction_identification: Optional[str] = None
"""The FedNow network identification of the transfer."""

type: Literal["inbound_fednow_transfer"]
"""A constant representing the object's type.

Expand Down
10 changes: 8 additions & 2 deletions src/increase/types/physical_card_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class PhysicalCardCreateParams(TypedDict, total=False):
"""The underlying card representing this physical card."""

cardholder: Required[Cardholder]
"""Details about the cardholder, as it will appear on the physical card."""
"""Details about the cardholder, as it will appear on the physical card.

The combined first name and last name cannot exceed 25 characters.
"""

shipment: Required[Shipment]
"""The details used to ship this physical card."""
Expand All @@ -25,7 +28,10 @@ class PhysicalCardCreateParams(TypedDict, total=False):


class Cardholder(TypedDict, total=False):
"""Details about the cardholder, as it will appear on the physical card."""
"""Details about the cardholder, as it will appear on the physical card.

The combined first name and last name cannot exceed 25 characters.
"""

first_name: Required[str]
"""The cardholder's first name."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class InboundCheckDepositAdjustmentParams(TypedDict, total=False):
amount: int
"""The adjustment amount in cents.

A positive amount means that the funds are being returned to you by the other
bank and is a credit to your account, as happens for a `wrong_payee_credit`. A
negative amount is a debit to your account, as happens for a `late_return`.
Defaults to the amount of the Inbound Check Deposit.
"""

Expand Down
5 changes: 4 additions & 1 deletion src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3628,7 +3628,10 @@ class SourceInboundCheckAdjustment(BaseModel):
"""The ID of the transaction that was adjusted."""

amount: int
"""The amount of the check adjustment."""
"""The amount of the check adjustment in USD cents.

A positive amount is a credit to your account and a negative amount is a debit.
"""

reason: Literal["late_return", "wrong_payee_credit", "adjusted_amount", "non_conforming_item", "paid"]
"""The reason for the adjustment.
Expand Down
Loading