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.399.0"
".": "0.400.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: 229
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cfdb6b2516039e7537ec6edb67df5581e3f08396a9f92579dd42c565015583e6.yml
openapi_spec_hash: c41230e467198f4240e80c77ef8c5c7c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a66f039751a4ffdebbbf533f24f55cd2c42708b9cf105512849849fddaafb5e8.yml
openapi_spec_hash: c265609bceb053f898ea14b1191fe927
config_hash: ca1425272e17fa23d4466d33492334fa
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.400.0 (2025-11-24)

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

### Features

* **api:** api update ([ef8c92f](https://github.com/Increase/increase-python/commit/ef8c92f7aa7a9e5078198e8db712742139323a53))


### Chores

* add Python 3.14 classifier and testing ([4960e57](https://github.com/Increase/increase-python/commit/4960e57589600e7b8b1f4f9eed59500d2b3bf444))

## 0.399.0 (2025-11-21)

Full Changelog: [v0.398.0...v0.399.0](https://github.com/Increase/increase-python/compare/v0.398.0...v0.399.0)
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.399.0"
version = "0.400.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand All @@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
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.399.0" # x-release-please-version
__version__ = "0.400.0" # x-release-please-version
25 changes: 23 additions & 2 deletions src/increase/types/real_time_decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,29 @@ class CardAuthorizationAdditionalAmounts(BaseModel):


class CardAuthorizationDecline(BaseModel):
reason: str
"""The reason the authorization was declined."""
reason: Literal[
"insufficient_funds",
"transaction_never_allowed",
"exceeds_approval_limit",
"card_temporarily_disabled",
"suspected_fraud",
"other",
]
"""The reason the authorization was declined.

- `insufficient_funds` - The cardholder does not have sufficient funds to cover
the transaction. The merchant may attempt to process the transaction again.
- `transaction_never_allowed` - This type of transaction is not allowed for this
card. This transaction should not be retried.
- `exceeds_approval_limit` - The transaction amount exceeds the cardholder's
approval limit. The merchant may attempt to process the transaction again.
- `card_temporarily_disabled` - The card has been temporarily disabled or not
yet activated. The merchant may attempt to process the transaction again.
- `suspected_fraud` - The transaction is suspected to be fraudulent. The
merchant may attempt to process the transaction again.
- `other` - The transaction was declined for another reason. The merchant may
attempt to process the transaction again. This should be used sparingly.
"""


class CardAuthorizationNetworkDetailsPulse(BaseModel):
Expand Down