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.523.0"
".": "0.524.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-950769f1aa8e631ab9c5a65eaa03637d8aad949edbd52cbd30dcf187ef02ae6e.yml
openapi_spec_hash: acd76f6541166d80e09c17c3a5c33981
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-975577349dd6828dad7b3d0675f912a8ce7d3e51cf63da93f5672ece1e22319d.yml
openapi_spec_hash: c353a48be0c9ce57b0f0393b9a3ffcb4
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.524.0 (2026-05-19)

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

### Features

* **api:** api update ([7fa4e89](https://github.com/Increase/increase-python/commit/7fa4e893f826a6c81fdac3ff756a5a42276ec01b))

## 0.523.0 (2026-05-18)

Full Changelog: [v0.522.0...v0.523.0](https://github.com/Increase/increase-python/compare/v0.522.0...v0.523.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.523.0"
version = "0.524.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.523.0" # x-release-please-version
__version__ = "0.524.0" # x-release-please-version
69 changes: 68 additions & 1 deletion src/increase/types/card_purchase_supplement.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from .._models import BaseModel

__all__ = ["CardPurchaseSupplement", "Invoice", "LineItem"]
__all__ = ["CardPurchaseSupplement", "Invoice", "LineItem", "Shipping"]


class Invoice(BaseModel):
Expand Down Expand Up @@ -174,6 +174,70 @@ class LineItem(BaseModel):
"""Code indicating unit of measure (gallons, etc.)."""


class Shipping(BaseModel):
"""Shipping information for the purchase."""

customer_reference_number: Optional[str] = None
"""The customer reference number."""

destination_address: Optional[str] = None
"""Address of the destination."""

destination_country_code: Optional[str] = None
"""Country code of the destination."""

destination_postal_code: Optional[str] = None
"""Postal code of the destination."""

destination_receiver_name: Optional[str] = None
"""Name of the receiver at the destination."""

discount_amount: Optional[int] = None
"""Discount amount for the shipment."""

net_amount: Optional[int] = None
"""Net shipping amount."""

number_of_packages: Optional[int] = None
"""Number of packages shipped."""

origin_address: Optional[str] = None
"""Address of the origin."""

origin_country_code: Optional[str] = None
"""Country code of the origin."""

origin_postal_code: Optional[str] = None
"""Postal code of the origin."""

origin_sender_name: Optional[str] = None
"""Name of the sender at the origin."""

pick_up_date: Optional[date] = None
"""Date the shipment should be picked up."""

service_description: Optional[str] = None
"""Description of the shipping service."""

service_level_code: Optional[str] = None
"""Service level code for the shipment."""

shipping_courier_name: Optional[str] = None
"""Name of the shipping courier."""

tax_amount: Optional[int] = None
"""Tax amount for the shipment."""

tracking_number: Optional[str] = None
"""Tracking number for the shipment."""

unit_of_measure: Optional[str] = None
"""Unit of measure for the shipment weight."""

weight: Optional[str] = None
"""Weight of the shipment."""


class CardPurchaseSupplement(BaseModel):
"""
Additional information about a card purchase (e.g., settlement or refund), such as level 3 line item data.
Expand All @@ -191,6 +255,9 @@ class CardPurchaseSupplement(BaseModel):
line_items: Optional[List[LineItem]] = None
"""Line item information, such as individual products purchased."""

shipping: Optional[Shipping] = None
"""Shipping information for the purchase."""

transaction_id: str
"""The ID of the transaction."""

Expand Down