increase 1.364.0 → 1.366.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +9 -2
  4. data/lib/increase/models/ach_transfer_create_params.rb +33 -50
  5. data/lib/increase/models/card_create_params.rb +10 -3
  6. data/lib/increase/models/card_payment.rb +352 -12
  7. data/lib/increase/models/card_update_params.rb +9 -3
  8. data/lib/increase/models/declined_transaction.rb +10 -1
  9. data/lib/increase/models/fednow_transfer.rb +10 -1
  10. data/lib/increase/models/pending_transaction.rb +10 -1
  11. data/lib/increase/models/transaction.rb +411 -6
  12. data/lib/increase/models/transaction_list_params.rb +3 -0
  13. data/lib/increase/resources/ach_transfers.rb +15 -22
  14. data/lib/increase/resources/cards.rb +7 -2
  15. data/lib/increase/version.rb +1 -1
  16. data/rbi/increase/models/ach_transfer.rbi +8 -2
  17. data/rbi/increase/models/ach_transfer_create_params.rbi +32 -54
  18. data/rbi/increase/models/card_create_params.rbi +9 -3
  19. data/rbi/increase/models/card_payment.rbi +726 -10
  20. data/rbi/increase/models/card_update_params.rbi +9 -3
  21. data/rbi/increase/models/declined_transaction.rbi +22 -1
  22. data/rbi/increase/models/fednow_transfer.rbi +8 -0
  23. data/rbi/increase/models/pending_transaction.rbi +22 -1
  24. data/rbi/increase/models/transaction.rbi +792 -3
  25. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  26. data/rbi/increase/resources/ach_transfers.rbi +15 -22
  27. data/rbi/increase/resources/cards.rbi +6 -2
  28. data/sig/increase/models/ach_transfer_create_params.rbs +9 -18
  29. data/sig/increase/models/card_payment.rbs +378 -10
  30. data/sig/increase/models/declined_transaction.rbs +13 -1
  31. data/sig/increase/models/fednow_transfer.rbs +5 -0
  32. data/sig/increase/models/pending_transaction.rbs +13 -1
  33. data/sig/increase/models/transaction.rbs +363 -3
  34. data/sig/increase/models/transaction_list_params.rbs +4 -0
  35. data/sig/increase/resources/ach_transfers.rbs +2 -3
  36. metadata +2 -2
@@ -29,7 +29,9 @@ module Increase
29
29
  end
30
30
  attr_writer :authorization_controls
31
31
 
32
- # The card's updated billing address.
32
+ # The card's billing address. This is used in card authorizations to
33
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
34
+ # If not provided, the address associated with the account's entity will be used.
33
35
  sig { returns(T.nilable(Increase::CardUpdateParams::BillingAddress)) }
34
36
  attr_reader :billing_address
35
37
 
@@ -93,7 +95,9 @@ module Increase
93
95
  card_id:,
94
96
  # Controls that restrict how this card can be used.
95
97
  authorization_controls: nil,
96
- # The card's updated billing address.
98
+ # The card's billing address. This is used in card authorizations to
99
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
100
+ # If not provided, the address associated with the account's entity will be used.
97
101
  billing_address: nil,
98
102
  # The description you choose to give the card.
99
103
  description: nil,
@@ -1226,7 +1230,9 @@ module Increase
1226
1230
  sig { params(line2: String).void }
1227
1231
  attr_writer :line2
1228
1232
 
1229
- # The card's updated billing address.
1233
+ # The card's billing address. This is used in card authorizations to
1234
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
1235
+ # If not provided, the address associated with the account's entity will be used.
1230
1236
  sig do
1231
1237
  params(
1232
1238
  city: String,
@@ -3378,7 +3378,7 @@ module Increase
3378
3378
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3379
3379
  )
3380
3380
 
3381
- # 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).
3381
+ # 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) and ATM transactions.
3382
3382
  VISA_ADVANCED_AUTHORIZATION =
3383
3383
  T.let(
3384
3384
  :visa_advanced_authorization,
@@ -3518,6 +3518,27 @@ module Increase
3518
3518
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3519
3519
  )
3520
3520
 
3521
+ # Activity and fees for the processing of an original cash withdrawal at a domestic ATM.
3522
+ VISA_ATM_CASH_WITHDRAWAL_DOMESTIC =
3523
+ T.let(
3524
+ :visa_atm_cash_withdrawal_domestic,
3525
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3526
+ )
3527
+
3528
+ # Activity and fees for the processing of an original cash withdrawal at an international ATM.
3529
+ VISA_ATM_CASH_WITHDRAWAL_INTERNATIONAL =
3530
+ T.let(
3531
+ :visa_atm_cash_withdrawal_international,
3532
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3533
+ )
3534
+
3535
+ # Activity and fees for the processing of an original deposit at a domestic ATM.
3536
+ VISA_ATM_CASH_DEPOSIT_DOMESTIC =
3537
+ T.let(
3538
+ :visa_atm_cash_deposit_domestic,
3539
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3540
+ )
3541
+
3521
3542
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3522
3543
  PULSE_SWITCH_FEE =
3523
3544
  T.let(
@@ -92,6 +92,10 @@ module Increase
92
92
  sig { returns(String) }
93
93
  attr_accessor :debtor_name
94
94
 
95
+ # A free-form reference string set by the sender, to help identify the transfer.
96
+ sig { returns(T.nilable(String)) }
97
+ attr_accessor :end_to_end_identification
98
+
95
99
  # The identifier of the External Account the transfer was made to, if any.
96
100
  sig { returns(T.nilable(String)) }
97
101
  attr_accessor :external_account_id
@@ -187,6 +191,7 @@ module Increase
187
191
  debtor_address:
188
192
  T.nilable(Increase::FednowTransfer::DebtorAddress::OrHash),
189
193
  debtor_name: String,
194
+ end_to_end_identification: T.nilable(String),
190
195
  external_account_id: T.nilable(String),
191
196
  idempotency_key: T.nilable(String),
192
197
  pending_transaction_id: T.nilable(String),
@@ -232,6 +237,8 @@ module Increase
232
237
  # The name of the transfer's sender. If not provided, defaults to the name of the
233
238
  # account's entity.
234
239
  debtor_name:,
240
+ # A free-form reference string set by the sender, to help identify the transfer.
241
+ end_to_end_identification:,
235
242
  # The identifier of the External Account the transfer was made to, if any.
236
243
  external_account_id:,
237
244
  # The idempotency key you chose for this object. This value is unique across
@@ -288,6 +295,7 @@ module Increase
288
295
  currency: Increase::FednowTransfer::Currency::TaggedSymbol,
289
296
  debtor_address: T.nilable(Increase::FednowTransfer::DebtorAddress),
290
297
  debtor_name: String,
298
+ end_to_end_identification: T.nilable(String),
291
299
  external_account_id: T.nilable(String),
292
300
  idempotency_key: T.nilable(String),
293
301
  pending_transaction_id: T.nilable(String),
@@ -3801,7 +3801,7 @@ module Increase
3801
3801
  Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3802
3802
  )
3803
3803
 
3804
- # 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).
3804
+ # 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) and ATM transactions.
3805
3805
  VISA_ADVANCED_AUTHORIZATION =
3806
3806
  T.let(
3807
3807
  :visa_advanced_authorization,
@@ -3941,6 +3941,27 @@ module Increase
3941
3941
  Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3942
3942
  )
3943
3943
 
3944
+ # Activity and fees for the processing of an original cash withdrawal at a domestic ATM.
3945
+ VISA_ATM_CASH_WITHDRAWAL_DOMESTIC =
3946
+ T.let(
3947
+ :visa_atm_cash_withdrawal_domestic,
3948
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3949
+ )
3950
+
3951
+ # Activity and fees for the processing of an original cash withdrawal at an international ATM.
3952
+ VISA_ATM_CASH_WITHDRAWAL_INTERNATIONAL =
3953
+ T.let(
3954
+ :visa_atm_cash_withdrawal_international,
3955
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3956
+ )
3957
+
3958
+ # Activity and fees for the processing of an original deposit at a domestic ATM.
3959
+ VISA_ATM_CASH_DEPOSIT_DOMESTIC =
3960
+ T.let(
3961
+ :visa_atm_cash_deposit_domestic,
3962
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3963
+ )
3964
+
3944
3965
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
3945
3966
  PULSE_SWITCH_FEE =
3946
3967
  T.let(