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.462.0"
".": "0.463.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-57310f0e57b0996b79f938ef778b40e54f5b62cefb78c3e6405cefacfa704c66.yml
openapi_spec_hash: c6d65e9ebf76cb81a5395b8ab4251a95
config_hash: 0997ade8b52ec04e82d5b0c3b61bb51e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1537e933795625528b93b601e286a513458f9aad05160ee018383e6b29986956.yml
openapi_spec_hash: f34d800917618bf012b466c1f88e8eca
config_hash: 4945e03affdf289484733306e4797f81
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.463.0 (2026-03-30)

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

### Features

* **api:** api update ([3585bbe](https://github.com/Increase/increase-python/commit/3585bbe398ac70ab932cc2374e021dc4fd717255))

## 0.462.0 (2026-03-27)

Full Changelog: [v0.461.0...v0.462.0](https://github.com/Increase/increase-python/compare/v0.461.0...v0.462.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.462.0"
version = "0.463.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.462.0" # x-release-please-version
__version__ = "0.463.0" # x-release-please-version
2,312 changes: 1,864 additions & 448 deletions src/increase/types/card_payment.py

Large diffs are not rendered by default.

158 changes: 157 additions & 1 deletion src/increase/types/declined_transaction.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import TYPE_CHECKING, Dict, Optional
from typing import TYPE_CHECKING, Dict, List, Optional
from datetime import datetime
from typing_extensions import Literal

Expand Down Expand Up @@ -28,6 +28,7 @@
"SourceCardDeclineNetworkDetailsPulse",
"SourceCardDeclineNetworkDetailsVisa",
"SourceCardDeclineNetworkIdentifiers",
"SourceCardDeclineSchemeFee",
"SourceCardDeclineVerification",
"SourceCardDeclineVerificationCardVerificationCode",
"SourceCardDeclineVerificationCardholderAddress",
Expand Down Expand Up @@ -565,6 +566,158 @@ class SourceCardDeclineNetworkIdentifiers(BaseModel):
"""


class SourceCardDeclineSchemeFee(BaseModel):
amount: str
"""The fee amount given as a string containing a decimal number."""

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

currency: Literal["USD"]
"""
The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
reimbursement.

- `USD` - US Dollar (USD)
"""

fee_type: Literal[
"visa_international_service_assessment_single_currency",
"visa_international_service_assessment_cross_currency",
"visa_authorization_domestic_point_of_sale",
"visa_authorization_international_point_of_sale",
"visa_authorization_canada_point_of_sale",
"visa_authorization_reversal_point_of_sale",
"visa_authorization_reversal_international_point_of_sale",
"visa_authorization_address_verification_service",
"visa_advanced_authorization",
"visa_message_transmission",
"visa_account_verification_domestic",
"visa_account_verification_international",
"visa_account_verification_canada",
"visa_corporate_acceptance_fee",
"visa_consumer_debit_acceptance_fee",
"visa_business_debit_acceptance_fee",
"visa_purchasing_acceptance_fee",
"visa_purchase_domestic",
"visa_purchase_international",
"visa_credit_purchase_token",
"visa_debit_purchase_token",
"visa_clearing_transmission",
"visa_direct_authorization",
"visa_direct_transaction_domestic",
"visa_service_commercial_credit",
"visa_advertising_service_commercial_credit",
"visa_community_growth_acceleration_program",
"visa_processing_guarantee_commercial_credit",
"pulse_switch_fee",
]
"""The type of fee being assessed.

- `visa_international_service_assessment_single_currency` - International
Service Assessment (ISA) single-currency is a fee assessed by the card network
for cross-border transactions presented and settled in the same currency.
- `visa_international_service_assessment_cross_currency` - International Service
Assessment (ISA) cross-currency is a fee assessed by the card network for
cross-border transactions presented and settled in different currencies.
- `visa_authorization_domestic_point_of_sale` - Activity and charges for Visa
Settlement System processing for POS (Point-Of-Sale) authorization
transactions. Authorization is the process of approving or declining the
transaction amount specified. The fee is assessed to the Issuer.
- `visa_authorization_international_point_of_sale` - Activity and charges for
Visa Settlement System processing for POS (Point-Of-Sale) International
authorization transactions. Authorization is the process of approving or
declining the transaction amount specified. The fee is assessed to the Issuer.
- `visa_authorization_canada_point_of_sale` - Activity and charges for Visa
Settlement System processing for Canada Region POS (Point-of-Sale)
authorization transactions. Authorization is the process of approving or
declining the transaction amount specified.
- `visa_authorization_reversal_point_of_sale` - Activity only for Visa
Settlement System authorization processing of POS (Point-Of-Sale) reversal
transactions. Authorization reversal represents a VSS message that undoes the
complete or partial actions of a previous authorization request.
- `visa_authorization_reversal_international_point_of_sale` - Activity only for
Visa Settlement System authorization processing of POS (Point-Of-Sale)
International reversal transactions. Authorization reversal represents a VSS
message that undoes the complete or partial actions of a previous
authorization request.
- `visa_authorization_address_verification_service` - A per Address Verification
Service (AVS) result fee. Applies to all usable AVS result codes.
- `visa_advanced_authorization` - Advanced Authorization is a fraud detection
tool that monitors and risk evaluates 100 percent of US VisaNet authorizations
in real-time. Activity related to Purchase (includes Signature Authenticated
Visa and PIN Authenticated Visa Debit (PAVD) transactions).
- `visa_message_transmission` - Issuer Transactions Visa represents a charge
based on total actual monthly processing (Visa transactions only) through a
VisaNet Access Point (VAP). Charges are assessed to the processor for each
VisaNet Access Point.
- `visa_account_verification_domestic` - Activity, per inquiry, related to the
domestic Issuer for Account Number Verification.
- `visa_account_verification_international` - Activity, per inquiry, related to
the international Issuer for Account Number Verification.
- `visa_account_verification_canada` - Activity, per inquiry, related to the
US-Canada Issuer for Account Number Verification.
- `visa_corporate_acceptance_fee` - The Corporate Acceptance Fee is charged to
issuers and is based on the monthly sales volume on Commercial and Government
Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
- `visa_consumer_debit_acceptance_fee` - The Consumer Debit Acceptance Fee is
charged to issuers and is based on the monthly sales volume of Consumer Debit
or Prepaid card transactions. The cashback portion of a Debit and Prepaid card
transaction is excluded from the sales volume calculation.
- `visa_business_debit_acceptance_fee` - The Business Acceptance Fee is charged
to issuers and is based on the monthly sales volume on Business Debit,
Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback
portion is included in the sales volume calculation with the exception of a
Debit and Prepaid card transactions.
- `visa_purchasing_acceptance_fee` - The Purchasing Card Acceptance Fee is
charged to issuers and is based on the monthly sales volume on Commercial and
Government Debit, Prepaid, Credit, Charge, or Deferred Debit card
transactions.
- `visa_purchase_domestic` - Activity and fees for the processing of a sales
draft original for a purchase transaction.
- `visa_purchase_international` - Activity and fees for the processing of an
international sales draft original for a purchase transaction.
- `visa_credit_purchase_token` - Apple Pay Credit Product Token Purchase
Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for
Apple Pay transactions.
- `visa_debit_purchase_token` - Apple Pay Debit Product Token Purchase Original
Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay
transactions.
- `visa_clearing_transmission` - A per transaction fee assessed for Base II
financial draft - Issuer.
- `visa_direct_authorization` - Issuer charge for Non-Financial OCT/AFT
Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
- `visa_direct_transaction_domestic` - Data processing charge for Visa Direct
OCTs for all business application identifiers (BAIs) other than money
transfer-bank initiated (BI). BASE II transactions.
- `visa_service_commercial_credit` - Issuer card service fee for Commercial
Credit cards.
- `visa_advertising_service_commercial_credit` - Issuer Advertising Service Fee
for Commercial Credit cards.
- `visa_community_growth_acceleration_program` - Issuer Community Growth
Acceleration Program Fee.
- `visa_processing_guarantee_commercial_credit` - Issuer Processing Guarantee
for Commercial Credit cards.
- `pulse_switch_fee` - Pulse Switch Fee is a fee charged by the Pulse network
for processing transactions on its network.
"""

fixed_component: Optional[str] = None
"""
The fixed component of the fee, if applicable, given in major units of the fee
amount.
"""

variable_rate: Optional[str] = None
"""
The variable rate component of the fee, if applicable, given as a decimal (e.g.,
0.015 for 1.5%).
"""


class SourceCardDeclineVerificationCardVerificationCode(BaseModel):
"""
Fields related to verification of the Card Verification Code, a 3-digit code on the back of the card.
Expand Down Expand Up @@ -916,6 +1069,9 @@ class SourceCardDecline(BaseModel):
reach out to support@increase.com for more information.
"""

scheme_fees: List[SourceCardDeclineSchemeFee]
"""The scheme fees associated with this card decline."""

terminal_id: Optional[str] = None
"""
The terminal identifier (commonly abbreviated as TID) of the terminal the card
Expand Down
Loading