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.516.0"
".": "0.517.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: 238
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-b6168f5ea09213fe8a507a6b13ac02357a31fff02d2801be24c35f8f495142cd.yml
openapi_spec_hash: c0e12e8e60af1893509f4dea2ea2feae
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-5c918212b76dd6bed571ef056d06398afbe63b0988650107601e6e6b675696cf.yml
openapi_spec_hash: 9b0a8970709721edd2d06fd02829dd7c
config_hash: ac050010e5453883d5e5fa603554a2e0
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.517.0 (2026-05-12)

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

### Features

* **api:** api update ([4ca03de](https://github.com/Increase/increase-python/commit/4ca03decd6d6cb7a1d7f8c7e495ea63a7e7d10ac))

## 0.516.0 (2026-05-11)

Full Changelog: [v0.515.0...v0.516.0](https://github.com/Increase/increase-python/compare/v0.515.0...v0.516.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.516.0"
version = "0.517.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.516.0" # x-release-please-version
__version__ = "0.517.0" # x-release-please-version
76 changes: 51 additions & 25 deletions src/increase/types/pending_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"Source",
"SourceAccountTransferInstruction",
"SourceACHTransferInstruction",
"SourceBlockchainOfframpTransferInstruction",
"SourceBlockchainOfframpTransfer",
"SourceBlockchainOnrampTransferInstruction",
"SourceCardAuthorization",
"SourceCardAuthorizationAdditionalAmounts",
Expand Down Expand Up @@ -110,31 +110,56 @@ def __getattr__(self, attr: str) -> object: ...
__pydantic_extra__: Dict[str, object]


class SourceBlockchainOfframpTransferInstruction(BaseModel):
"""A Blockchain Off-Ramp Transfer Instruction object.
class SourceBlockchainOfframpTransfer(BaseModel):
"""A Blockchain Off-Ramp Transfer object.

This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer_instruction`.
This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer`. Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an Account. They're automatically created when funds land in a Blockchain Address.
"""

source_blockchain_address_id: str
"""The identifier of the Blockchain Address the funds were received at."""
id: str
"""The Blockchain Off-Ramp Transfer's identifier."""

transfer_id: str
token: Literal["usdc"]
"""The token that was received.

- `usdc` - A USD stablecoin issued by Circle.
"""
The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction.

amount: int
"""The transfer amount in USD cents."""

created_at: datetime
"""
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
the transfer was created.
"""

if TYPE_CHECKING:
# Some versions of Pydantic <2.8.0 have a bug and don鈥檛 allow assigning a
# value to this field, so for compatibility we avoid doing it at runtime.
__pydantic_extra__: Dict[str, object] = FieldInfo(init=False) # pyright: ignore[reportIncompatibleVariableOverride]
destination_account_id: str
"""The Account the funds were transferred into."""

# Stub to indicate that arbitrary properties are accepted.
# To access properties that are not valid identifiers you can use `getattr`, e.g.
# `getattr(obj, '$type')`
def __getattr__(self, attr: str) -> object: ...
else:
__pydantic_extra__: Dict[str, object]
initiating_transaction_hash: str
"""
The transaction hash of the blockchain transaction that initiated this transfer.
"""

source_blockchain_address_id: str
"""The Blockchain Address from which the transfer originated."""

status: Literal["pending_settlement", "settled"]
"""The lifecycle status of the transfer.

- `pending_settlement` - The transfer is pending settlement at Increase.
- `settled` - The transfer has been settled and funds have been credited.
"""

transaction_id: Optional[str] = None
"""The Transaction crediting the Account once the transfer is settled."""

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

For this resource it will always be `blockchain_offramp_transfer`.
"""


class SourceBlockchainOnrampTransferInstruction(BaseModel):
Expand Down Expand Up @@ -1327,7 +1352,7 @@ class Source(BaseModel):
"swift_transfer_instruction",
"card_push_transfer_instruction",
"blockchain_onramp_transfer_instruction",
"blockchain_offramp_transfer_instruction",
"blockchain_offramp_transfer",
"other",
]
"""The type of the resource.
Expand Down Expand Up @@ -1365,9 +1390,8 @@ class Source(BaseModel):
- `blockchain_onramp_transfer_instruction` - Blockchain On-Ramp Transfer
Instruction: details will be under the
`blockchain_onramp_transfer_instruction` object.
- `blockchain_offramp_transfer_instruction` - Blockchain Off-Ramp Transfer
Instruction: details will be under the
`blockchain_offramp_transfer_instruction` object.
- `blockchain_offramp_transfer` - Blockchain Off-Ramp Transfer: details will be
under the `blockchain_offramp_transfer` object.
- `other` - The Pending Transaction was made for an undocumented or deprecated
reason.
"""
Expand All @@ -1386,11 +1410,13 @@ class Source(BaseModel):
equal to `ach_transfer_instruction`.
"""

blockchain_offramp_transfer_instruction: Optional[SourceBlockchainOfframpTransferInstruction] = None
"""A Blockchain Off-Ramp Transfer Instruction object.
blockchain_offramp_transfer: Optional[SourceBlockchainOfframpTransfer] = None
"""A Blockchain Off-Ramp Transfer object.

This field will be present in the JSON response if and only if `category` is
equal to `blockchain_offramp_transfer_instruction`.
equal to `blockchain_offramp_transfer`. Blockchain Off-Ramp Transfers move funds
from a Blockchain Address to an Account. They're automatically created when
funds land in a Blockchain Address.
"""

blockchain_onramp_transfer_instruction: Optional[SourceBlockchainOnrampTransferInstruction] = None
Expand Down
2 changes: 1 addition & 1 deletion src/increase/types/pending_transaction_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PendingTransactionListParams(TypedDict, total=False):
"swift_transfer_instruction",
"card_push_transfer_instruction",
"blockchain_onramp_transfer_instruction",
"blockchain_offramp_transfer_instruction",
"blockchain_offramp_transfer",
"other",
]
],
Expand Down