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.20.0"
".": "1.21.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5fa3dfeb071930598ed9243dd96db808cf54d4a455c99b1acceadc3335f1a387.yml
openapi_spec_hash: 18dfa4d31cd512dcd83b646e40fb2c86
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-743c412709d3e4ca1ed8b1e2107036c9658afe40dd538c0576f64ae302087b4f.yml
openapi_spec_hash: 2a5da3cdf8dfb91dbd0f875cc180a3a1
config_hash: a185e9a72778cc4658ea73fb3a7f1354
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.21.0 (2025-07-29)

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

### Features

* **api:** api update ([8aa37f3](https://github.com/Increase/increase-ruby/commit/8aa37f3f48a32970bb8b33df798b30deaf30db2c))

## 1.20.0 (2025-07-29)

Full Changelog: [v1.19.0...v1.20.0](https://github.com/Increase/increase-ruby/compare/v1.19.0...v1.20.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.20.0)
increase (1.21.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.20.0"
gem "increase", "~> 1.21.0"
```

<!-- x-release-please-end -->
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/card_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,13 @@ class CardDecline < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction]
required :direction, enum: -> { Increase::CardPayment::Element::CardDecline::Direction }

# @!attribute incremented_card_authorization_id
# The identifier of the card authorization this request attempted to incrementally
# authorize.
#
# @return [String, nil]
required :incremented_card_authorization_id, String, nil?: true

# @!attribute merchant_acceptor_id
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
Expand Down Expand Up @@ -2062,7 +2069,7 @@ class CardDecline < Increase::Internal::Type::BaseModel
# @return [Increase::Models::CardPayment::Element::CardDecline::Verification]
required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification }

# @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, 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:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
# @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, 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:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CardPayment::Element::CardDecline} for more details.
#
Expand All @@ -2087,6 +2094,8 @@ class CardDecline < Increase::Internal::Type::BaseModel
#
# @param direction [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh
#
# @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally
#
# @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
#
# @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,13 @@ class CardDecline < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction]
required :direction, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Direction }

# @!attribute incremented_card_authorization_id
# The identifier of the card authorization this request attempted to incrementally
# authorize.
#
# @return [String, nil]
required :incremented_card_authorization_id, String, nil?: true

# @!attribute merchant_acceptor_id
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
Expand Down Expand Up @@ -617,7 +624,7 @@ class CardDecline < Increase::Internal::Type::BaseModel
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification]
required :verification, -> { Increase::DeclinedTransaction::Source::CardDecline::Verification }

# @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, 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:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
# @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, 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:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:)
# Some parameter documentations has been truncated, see
# {Increase::Models::DeclinedTransaction::Source::CardDecline} for more details.
#
Expand All @@ -642,6 +649,8 @@ class CardDecline < Increase::Internal::Type::BaseModel
#
# @param direction [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh
#
# @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally
#
# @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
#
# @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.20.0"
VERSION = "1.21.0"
end
10 changes: 10 additions & 0 deletions rbi/increase/models/card_payment.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -3585,6 +3585,11 @@ module Increase
end
attr_accessor :direction

# The identifier of the card authorization this request attempted to incrementally
# authorize.
sig { returns(T.nilable(String)) }
attr_accessor :incremented_card_authorization_id

# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
sig { returns(String) }
Expand Down Expand Up @@ -3734,6 +3739,7 @@ module Increase
digital_wallet_token_id: T.nilable(String),
direction:
Increase::CardPayment::Element::CardDecline::Direction::OrSymbol,
incremented_card_authorization_id: T.nilable(String),
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: T.nilable(String),
Expand Down Expand Up @@ -3789,6 +3795,9 @@ module Increase
# The direction describes the direction the funds will move, either from the
# cardholder to the merchant or from the merchant to the cardholder.
direction:,
# The identifier of the card authorization this request attempted to incrementally
# authorize.
incremented_card_authorization_id:,
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
merchant_acceptor_id:,
Expand Down Expand Up @@ -3856,6 +3865,7 @@ module Increase
digital_wallet_token_id: T.nilable(String),
direction:
Increase::CardPayment::Element::CardDecline::Direction::TaggedSymbol,
incremented_card_authorization_id: T.nilable(String),
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: T.nilable(String),
Expand Down
10 changes: 10 additions & 0 deletions rbi/increase/models/declined_transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,11 @@ module Increase
end
attr_accessor :direction

# The identifier of the card authorization this request attempted to incrementally
# authorize.
sig { returns(T.nilable(String)) }
attr_accessor :incremented_card_authorization_id

# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
sig { returns(String) }
Expand Down Expand Up @@ -981,6 +986,7 @@ module Increase
digital_wallet_token_id: T.nilable(String),
direction:
Increase::DeclinedTransaction::Source::CardDecline::Direction::OrSymbol,
incremented_card_authorization_id: T.nilable(String),
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: T.nilable(String),
Expand Down Expand Up @@ -1036,6 +1042,9 @@ module Increase
# The direction describes the direction the funds will move, either from the
# cardholder to the merchant or from the merchant to the cardholder.
direction:,
# The identifier of the card authorization this request attempted to incrementally
# authorize.
incremented_card_authorization_id:,
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
# is transacting with.
merchant_acceptor_id:,
Expand Down Expand Up @@ -1103,6 +1112,7 @@ module Increase
digital_wallet_token_id: T.nilable(String),
direction:
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol,
incremented_card_authorization_id: T.nilable(String),
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: T.nilable(String),
Expand Down
5 changes: 5 additions & 0 deletions sig/increase/models/card_payment.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::CardPayment::Element::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down Expand Up @@ -1340,6 +1341,8 @@ module Increase

attr_accessor direction: Increase::Models::CardPayment::Element::CardDecline::direction

attr_accessor incremented_card_authorization_id: String?

attr_accessor merchant_acceptor_id: String

attr_accessor merchant_category_code: String
Expand Down Expand Up @@ -1388,6 +1391,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::CardPayment::Element::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down Expand Up @@ -1419,6 +1423,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::CardPayment::Element::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down
5 changes: 5 additions & 0 deletions sig/increase/models/declined_transaction.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down Expand Up @@ -364,6 +365,8 @@ module Increase

attr_accessor direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction

attr_accessor incremented_card_authorization_id: String?

attr_accessor merchant_acceptor_id: String

attr_accessor merchant_category_code: String
Expand Down Expand Up @@ -412,6 +415,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down Expand Up @@ -443,6 +447,7 @@ module Increase
declined_transaction_id: String,
digital_wallet_token_id: String?,
direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction,
incremented_card_authorization_id: String?,
merchant_acceptor_id: String,
merchant_category_code: String,
merchant_city: String?,
Expand Down