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 @@
{
".": "1.72.0"
".": "1.73.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: 217
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-387c9e5ff5305d470ddf290a424b9d0f087fa295b56cf82265f2dfe8355a589a.yml
openapi_spec_hash: 2c624b8535be90329028f6b10281a313
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-10d8a2e25ff71893e14a81477ef7dbbf761af689e6ff074e13da10729a75cc9d.yml
openapi_spec_hash: 77a4f7c4b166e73a84c3b7f4e177631c
config_hash: e1885b38eded054b77308a024c5d80cc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.73.0 (2025-09-09)

Full Changelog: [v1.72.0...v1.73.0](https://github.com/Increase/increase-ruby/compare/v1.72.0...v1.73.0)

### Features

* **api:** api update ([93fc5a7](https://github.com/Increase/increase-ruby/commit/93fc5a740da198d4814e4bbc1165c7168c7db734))

## 1.72.0 (2025-09-08)

Full Changelog: [v1.71.0...v1.72.0](https://github.com/Increase/increase-ruby/compare/v1.71.0...v1.72.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.72.0)
increase (1.73.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.72.0"
gem "increase", "~> 1.73.0"
```

<!-- x-release-please-end -->
Expand Down
36 changes: 18 additions & 18 deletions lib/increase/models/card_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1707,16 +1707,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -1725,6 +1722,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down Expand Up @@ -3022,16 +3022,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -3040,6 +3037,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down Expand Up @@ -7839,16 +7839,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -7857,6 +7854,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
12 changes: 6 additions & 6 deletions lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1600,16 +1600,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -1618,6 +1615,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
12 changes: 6 additions & 6 deletions lib/increase/models/pending_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1553,16 +1553,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -1571,6 +1568,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
38 changes: 31 additions & 7 deletions lib/increase/models/real_time_decision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@ class CardAuthorization < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil]
required :decision, enum: -> { Increase::RealTimeDecision::CardAuthorization::Decision }, nil?: true

# @!attribute decline
# Present if and only if `decision` is `decline`. Contains information related to
# the reason the authorization was declined.
#
# @return [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil]
required :decline, -> { Increase::RealTimeDecision::CardAuthorization::Decline }, nil?: true

# @!attribute digital_wallet_token_id
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
# purchase), the identifier of the token that was used.
Expand Down Expand Up @@ -416,7 +423,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel
# @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification]
required :verification, -> { Increase::RealTimeDecision::CardAuthorization::Verification }

# @!method initialize(account_id:, additional_amounts:, card_id:, decision:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
# @!method initialize(account_id:, additional_amounts:, card_id:, decision:, decline:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
# Some parameter documentations has been truncated, see
# {Increase::Models::RealTimeDecision::CardAuthorization} for more details.
#
Expand All @@ -430,6 +437,8 @@ class CardAuthorization < Increase::Internal::Type::BaseModel
#
# @param decision [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil] Whether or not the authorization was approved.
#
# @param decline [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil] Present if and only if `decision` is `decline`. Contains information related to
#
# @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
#
# @param direction [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh
Expand Down Expand Up @@ -835,6 +844,21 @@ module Decision
# @return [Array<Symbol>]
end

# @see Increase::Models::RealTimeDecision::CardAuthorization#decline
class Decline < Increase::Internal::Type::BaseModel
# @!attribute reason
# The reason the authorization was declined.
#
# @return [String]
required :reason, String

# @!method initialize(reason:)
# Present if and only if `decision` is `decline`. Contains information related to
# the reason the authorization was declined.
#
# @param reason [String] The reason the authorization was declined.
end

# The direction describes the direction the funds will move, either from the
# cardholder to the merchant or from the merchant to the cardholder.
#
Expand Down Expand Up @@ -1334,16 +1358,13 @@ class CardholderAddress < Increase::Internal::Type::BaseModel
module Result
extend Increase::Internal::Type::Enum

# No address was provided in the authorization request.
# No address information was provided in the authorization request.
NOT_CHECKED = :not_checked

# Postal code matches, but the street address was not verified.
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# Postal code matches, but the street address does not match.
# Postal code matches, but the street address does not match or was not provided.
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match

# Postal code does not match, but the street address matches.
# Postal code does not match, but the street address matches or was not provided.
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match

# Postal code and street address match.
Expand All @@ -1352,6 +1373,9 @@ module Result
# Postal code and street address do not match.
NO_MATCH = :no_match

# Postal code matches, but the street address was not verified. (deprecated)
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
Loading