From a1a83b93bbca68da844fde53b04f82fa2deb1347 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:06:36 +0000 Subject: [PATCH 1/2] feat(api): api update (#926) --- .stats.yml | 2 +- src/increase/types/card_payment.py | 12 ++++++++++++ src/increase/types/declined_transaction.py | 4 ++++ src/increase/types/pending_transaction.py | 4 ++++ src/increase/types/real_time_decision.py | 4 ++++ 5 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index e2f616532..12eea302d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-936415a7c13aa6a9b75c94e06d628346ea373e89a34c5f4281dbfd68a5114b3c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-97fb48534a75d68acd544082e2352e69557d798f912cf62c85825e78d9102eca.yml diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 2dafd6ead..b94dd4ce5 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -152,6 +152,7 @@ class ElementCardAuthorizationNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -173,6 +174,9 @@ class ElementCardAuthorizationNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ @@ -565,6 +569,7 @@ class ElementCardDeclineNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -586,6 +591,9 @@ class ElementCardDeclineNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ @@ -2411,6 +2419,7 @@ class ElementCardValidationNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -2432,6 +2441,9 @@ class ElementCardValidationNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index bc33fc7fe..1a8aee9d0 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -200,6 +200,7 @@ class SourceCardDeclineNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -221,6 +222,9 @@ class SourceCardDeclineNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index ce9c2266f..0a7f3fc95 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -147,6 +147,7 @@ class SourceCardAuthorizationNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -168,6 +169,9 @@ class SourceCardAuthorizationNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ diff --git a/src/increase/types/real_time_decision.py b/src/increase/types/real_time_decision.py index 0cc3ef040..4abdf5873 100644 --- a/src/increase/types/real_time_decision.py +++ b/src/increase/types/real_time_decision.py @@ -162,6 +162,7 @@ class CardAuthorizationNetworkDetailsVisa(BaseModel): "invalid_cardholder_authentication_verification_value", "internal_visa_error", "merchant_transaction_advisory_service_authentication_required", + "payment_fraud_disruption_acquirer_block", "other", ] ] = None @@ -183,6 +184,9 @@ class CardAuthorizationNetworkDetailsVisa(BaseModel): has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier. + - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by + Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, + such as card testing. - `other` - An unspecific reason for stand-in processing. """ From 2593e9d70a8530f5bb2a642af822b9a786d1a094 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:07:12 +0000 Subject: [PATCH 2/2] release: 0.180.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2bfc13c14..7d550efe5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.179.0" + ".": "0.180.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ce5623195..7aea934d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.180.0 (2025-01-27) + +Full Changelog: [v0.179.0...v0.180.0](https://github.com/Increase/increase-python/compare/v0.179.0...v0.180.0) + +### Features + +* **api:** api update ([#926](https://github.com/Increase/increase-python/issues/926)) ([a1a83b9](https://github.com/Increase/increase-python/commit/a1a83b93bbca68da844fde53b04f82fa2deb1347)) + ## 0.179.0 (2025-01-27) Full Changelog: [v0.178.0...v0.179.0](https://github.com/Increase/increase-python/compare/v0.178.0...v0.179.0) diff --git a/pyproject.toml b/pyproject.toml index 00d5e221b..535248f38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.179.0" +version = "0.180.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index 10890a0f6..27cffb695 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.179.0" # x-release-please-version +__version__ = "0.180.0" # x-release-please-version