moov_ruby 26.4.19 → 26.4.21

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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/card_issuing.rb +2 -8
  3. data/lib/moov/invoices.rb +180 -0
  4. data/lib/moov/models/components/capability.rb +2 -0
  5. data/lib/moov/models/components/capabilityid.rb +2 -0
  6. data/lib/moov/models/components/createinvoice.rb +10 -2
  7. data/lib/moov/models/components/createinvoice.rbi +4 -0
  8. data/lib/moov/models/components/createinvoicenotification.rb +32 -0
  9. data/lib/moov/models/components/createinvoicenotification.rbi +13 -0
  10. data/lib/moov/models/components/createsweepconfig.rb +6 -2
  11. data/lib/moov/models/components/createsweepconfig.rbi +2 -0
  12. data/lib/moov/models/components/fullissuedcard.rb +6 -4
  13. data/lib/moov/models/components/invoice.rb +6 -2
  14. data/lib/moov/models/components/invoice.rbi +2 -0
  15. data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +36 -0
  16. data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +15 -0
  17. data/lib/moov/models/components/invoicepaymentoptions.rb +40 -0
  18. data/lib/moov/models/components/invoicepaymentoptions.rbi +17 -0
  19. data/lib/moov/models/components/invoicepaymentoptionserror.rb +40 -0
  20. data/lib/moov/models/components/invoicepaymentoptionserror.rbi +17 -0
  21. data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +40 -0
  22. data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +17 -0
  23. data/lib/moov/models/components/issuedcard.rb +6 -4
  24. data/lib/moov/models/components/issuedcardauthorization.rb +6 -2
  25. data/lib/moov/models/components/issuedcardauthorization.rbi +2 -0
  26. data/lib/moov/models/components/issuedcardstate.rb +6 -4
  27. data/lib/moov/models/components/issuedcardtransaction.rb +6 -2
  28. data/lib/moov/models/components/issuedcardtransaction.rbi +2 -0
  29. data/lib/moov/models/components/notificationchannel.rb +18 -0
  30. data/lib/moov/models/components/notificationchannel.rbi +11 -0
  31. data/lib/moov/models/components/patchsweepconfig.rb +6 -2
  32. data/lib/moov/models/components/patchsweepconfig.rbi +2 -0
  33. data/lib/moov/models/components/schedule.rb +40 -0
  34. data/lib/moov/models/components/schedule.rbi +17 -0
  35. data/lib/moov/models/components/sweepconfig.rb +6 -2
  36. data/lib/moov/models/components/sweepconfig.rbi +2 -0
  37. data/lib/moov/models/components/sweepconfigschedule.rb +40 -0
  38. data/lib/moov/models/components/sweepconfigschedule.rbi +17 -0
  39. data/lib/moov/models/components/sweepconfigscheduleerror.rb +40 -0
  40. data/lib/moov/models/components/sweepconfigscheduleerror.rbi +17 -0
  41. data/lib/moov/models/components/sweepschedulefrequency.rb +18 -0
  42. data/lib/moov/models/components/sweepschedulefrequency.rbi +11 -0
  43. data/lib/moov/models/components/updateinvoice.rb +6 -2
  44. data/lib/moov/models/components/updateinvoice.rbi +2 -0
  45. data/lib/moov/models/components/updateissuedcard.rb +3 -3
  46. data/lib/moov/models/components/updateissuedcardstate.rb +3 -3
  47. data/lib/moov/models/components/upsertunderwriting.rb +1 -1
  48. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +2 -0
  49. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -0
  50. data/lib/moov/models/components.rb +10 -0
  51. data/lib/moov/models/errors/createinvoiceerror.rb +10 -2
  52. data/lib/moov/models/errors/createinvoiceerror.rbi +4 -0
  53. data/lib/moov/models/errors/createsweepconfigerror.rb +6 -2
  54. data/lib/moov/models/errors/createsweepconfigerror.rbi +2 -0
  55. data/lib/moov/models/errors/invoicenotificationerror.rb +36 -0
  56. data/lib/moov/models/errors/invoicenotificationerror.rbi +15 -0
  57. data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +44 -0
  58. data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +19 -0
  59. data/lib/moov/models/errors/listtransfersvalidationerror.rb +6 -2
  60. data/lib/moov/models/errors/listtransfersvalidationerror.rbi +2 -0
  61. data/lib/moov/models/errors/patchsweepconfigerror.rb +6 -2
  62. data/lib/moov/models/errors/patchsweepconfigerror.rbi +2 -0
  63. data/lib/moov/models/errors/updateinvoiceerror.rb +6 -2
  64. data/lib/moov/models/errors/updateinvoiceerror.rbi +2 -0
  65. data/lib/moov/models/errors.rb +2 -0
  66. data/lib/moov/models/operations/createcancellation_request.rb +7 -2
  67. data/lib/moov/models/operations/createcancellation_request.rbi +2 -0
  68. data/lib/moov/models/operations/createinvoicenotification_request.rb +40 -0
  69. data/lib/moov/models/operations/createinvoicenotification_request.rbi +17 -0
  70. data/lib/moov/models/operations/createinvoicenotification_response.rb +44 -0
  71. data/lib/moov/models/operations/createinvoicenotification_response.rbi +19 -0
  72. data/lib/moov/models/operations/disablecapability_request.rb +2 -0
  73. data/lib/moov/models/operations/getcapability_request.rb +2 -0
  74. data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
  75. data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +6 -2
  76. data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -0
  77. data/lib/moov/models/operations/listissuedcards_request.rb +6 -2
  78. data/lib/moov/models/operations/listissuedcards_request.rbi +2 -0
  79. data/lib/moov/models/operations/listissuedcardtransactions_request.rb +6 -2
  80. data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -0
  81. data/lib/moov/models/operations/listtransfers_request.rb +7 -2
  82. data/lib/moov/models/operations/listtransfers_request.rbi +2 -0
  83. data/lib/moov/models/operations/listtransfers_response.rb +1 -1
  84. data/lib/moov/models/operations.rb +2 -0
  85. data/lib/moov/sdkconfiguration.rb +3 -3
  86. data/lib/moov/transfers.rb +12 -5
  87. metadata +30 -2
@@ -20,6 +20,8 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
21
  # Optional ID of the issued card to filter results.
22
22
  field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
  # Optional date-time which inclusively filters all authorizations created after this date-time.
24
26
  field :start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'startDateTime', 'style': 'form', 'explode': false } }
25
27
  # Optional date-time which exclusively filters all authorizations created before this date-time.
@@ -27,12 +29,13 @@ module Moov
27
29
  # Optional, comma-separated statuses of the authorization to filter results.
28
30
  field :statuses, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingAuthorizationStatus)), { 'query_param': { 'field_name': 'statuses', 'style': 'form', 'explode': false } }
29
31
 
30
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus])).void }
31
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil)
32
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), authorized_user_account_id: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), statuses: T.nilable(T::Array[Models::Components::IssuingAuthorizationStatus])).void }
33
+ def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, authorized_user_account_id: nil, start_date_time: nil, end_date_time: nil, statuses: nil)
32
34
  @account_id = account_id
33
35
  @skip = skip
34
36
  @count = count
35
37
  @issued_card_id = issued_card_id
38
+ @authorized_user_account_id = authorized_user_account_id
36
39
  @start_date_time = start_date_time
37
40
  @end_date_time = end_date_time
38
41
  @statuses = statuses
@@ -45,6 +48,7 @@ module Moov
45
48
  return false unless @skip == other.skip
46
49
  return false unless @count == other.count
47
50
  return false unless @issued_card_id == other.issued_card_id
51
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
48
52
  return false unless @start_date_time == other.start_date_time
49
53
  return false unless @end_date_time == other.end_date_time
50
54
  return false unless @statuses == other.statuses
@@ -16,6 +16,8 @@ class Moov::Models::Operations::ListIssuedCardAuthorizationsRequest
16
16
  def count=(str_); end
17
17
  def issued_card_id(); end
18
18
  def issued_card_id=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  def start_date_time(); end
20
22
  def start_date_time=(str_); end
21
23
  def end_date_time(); end
@@ -20,13 +20,16 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
21
  # Optional, comma-separated states to filter the Moov list issued cards response. For example `active,closed`
22
22
  field :states, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuedCardState)), { 'query_param': { 'field_name': 'states', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
 
24
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState])).void }
25
- def initialize(account_id:, skip: nil, count: nil, states: nil)
26
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), states: T.nilable(T::Array[Models::Components::IssuedCardState]), authorized_user_account_id: T.nilable(::String)).void }
27
+ def initialize(account_id:, skip: nil, count: nil, states: nil, authorized_user_account_id: nil)
26
28
  @account_id = account_id
27
29
  @skip = skip
28
30
  @count = count
29
31
  @states = states
32
+ @authorized_user_account_id = authorized_user_account_id
30
33
  end
31
34
 
32
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -36,6 +39,7 @@ module Moov
36
39
  return false unless @skip == other.skip
37
40
  return false unless @count == other.count
38
41
  return false unless @states == other.states
42
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
39
43
  true
40
44
  end
41
45
  end
@@ -16,4 +16,6 @@ class Moov::Models::Operations::ListIssuedCardsRequest
16
16
  def count=(str_); end
17
17
  def states(); end
18
18
  def states=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  end
@@ -20,6 +20,8 @@ module Moov
20
20
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
21
21
  # Optional ID of the issued card to filter results.
22
22
  field :issued_card_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'issuedCardID', 'style': 'form', 'explode': false } }
23
+ # Optional identifier for the account of the card's authorized user.
24
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'authorizedUserAccountID', 'style': 'form', 'explode': false } }
23
25
  # Optional case-insensitive substring match on the merchant name to filter results.
24
26
  field :merchant_name, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'merchantName', 'style': 'form', 'explode': false } }
25
27
  # Optional date-time which inclusively filters all card transactions created after this date-time.
@@ -27,12 +29,13 @@ module Moov
27
29
  # Optional date-time which exclusively filters all card transactions created before this date-time.
28
30
  field :end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'endDateTime', 'style': 'form', 'explode': false } }
29
31
 
30
- sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), merchant_name: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
31
- def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, merchant_name: nil, start_date_time: nil, end_date_time: nil)
32
+ sig { params(account_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), issued_card_id: T.nilable(::String), authorized_user_account_id: T.nilable(::String), merchant_name: T.nilable(::String), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime)).void }
33
+ def initialize(account_id:, skip: nil, count: nil, issued_card_id: nil, authorized_user_account_id: nil, merchant_name: nil, start_date_time: nil, end_date_time: nil)
32
34
  @account_id = account_id
33
35
  @skip = skip
34
36
  @count = count
35
37
  @issued_card_id = issued_card_id
38
+ @authorized_user_account_id = authorized_user_account_id
36
39
  @merchant_name = merchant_name
37
40
  @start_date_time = start_date_time
38
41
  @end_date_time = end_date_time
@@ -45,6 +48,7 @@ module Moov
45
48
  return false unless @skip == other.skip
46
49
  return false unless @count == other.count
47
50
  return false unless @issued_card_id == other.issued_card_id
51
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
48
52
  return false unless @merchant_name == other.merchant_name
49
53
  return false unless @start_date_time == other.start_date_time
50
54
  return false unless @end_date_time == other.end_date_time
@@ -16,6 +16,8 @@ class Moov::Models::Operations::ListIssuedCardTransactionsRequest
16
16
  def count=(str_); end
17
17
  def issued_card_id(); end
18
18
  def issued_card_id=(str_); end
19
+ def authorized_user_account_id(); end
20
+ def authorized_user_account_id=(str_); end
19
21
  def merchant_name(); end
20
22
  def merchant_name=(str_); end
21
23
  def start_date_time(); end
@@ -44,9 +44,12 @@ module Moov
44
44
  field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
45
45
  # Page size. When omitted, the server defaults to `200`.
46
46
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
47
+ # Opaque cursor from a previous response's `X-Next-Cursor` header. Reuse the same filters and `count` between pages.
48
+ # Cannot be combined with a nonzero `skip`.
49
+ field :cursor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'cursor', 'style': 'form', 'explode': false } }
47
50
 
48
- sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
49
- def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
51
+ sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer), cursor: T.nilable(::String)).void }
52
+ def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil, cursor: nil)
50
53
  @account_id = account_id
51
54
  @account_i_ds = account_i_ds
52
55
  @status = status
@@ -63,6 +66,7 @@ module Moov
63
66
  @capture_i_ds = capture_i_ds
64
67
  @skip = skip
65
68
  @count = count
69
+ @cursor = cursor
66
70
  end
67
71
 
68
72
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -84,6 +88,7 @@ module Moov
84
88
  return false unless @capture_i_ds == other.capture_i_ds
85
89
  return false unless @skip == other.skip
86
90
  return false unless @count == other.count
91
+ return false unless @cursor == other.cursor
87
92
  true
88
93
  end
89
94
  end
@@ -40,4 +40,6 @@ class Moov::Models::Operations::ListTransfersRequest
40
40
  def skip=(str_); end
41
41
  def count(); end
42
42
  def count=(str_); end
43
+ def cursor(); end
44
+ def cursor=(str_); end
43
45
  end
@@ -20,7 +20,7 @@ module Moov
20
20
  field :raw_response, ::Faraday::Response
21
21
 
22
22
  field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
23
- # The request completed successfully.
23
+ # Transfers were successfully listed matching the provided filter parameters and returned
24
24
  field :transfers, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Transfer))
25
25
 
26
26
  sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], transfers: T.nilable(T::Array[Models::Components::Transfer])).void }
@@ -30,6 +30,8 @@ module Moov
30
30
  autoload :CreateCancellationResponse, 'moov/models/operations/createcancellation_response.rb'
31
31
  autoload :CreateFeePlanAgreementsRequest, 'moov/models/operations/createfeeplanagreements_request.rb'
32
32
  autoload :CreateFeePlanAgreementsResponse, 'moov/models/operations/createfeeplanagreements_response.rb'
33
+ autoload :CreateInvoiceNotificationRequest, 'moov/models/operations/createinvoicenotification_request.rb'
34
+ autoload :CreateInvoiceNotificationResponse, 'moov/models/operations/createinvoicenotification_response.rb'
33
35
  autoload :CreateInvoicePaymentRequest, 'moov/models/operations/createinvoicepayment_request.rb'
34
36
  autoload :CreateInvoicePaymentResponse, 'moov/models/operations/createinvoicepayment_response.rb'
35
37
  autoload :CreateInvoiceRequest, 'moov/models/operations/createinvoice_request.rb'
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2026.04.00'
91
- @sdk_version = '26.4.19'
92
- @gen_version = '2.943.0'
93
- @user_agent = 'speakeasy-sdk/ruby 26.4.19 2.943.0 v2026.04.00 moov_ruby'
91
+ @sdk_version = '26.4.21'
92
+ @gen_version = '2.954.8'
93
+ @user_agent = 'speakeasy-sdk/ruby 26.4.21 2.954.8 v2026.04.00 moov_ruby'
94
94
  end
95
95
 
96
96
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -448,7 +448,12 @@ module Moov
448
448
  # When you run this request, you retrieve 200 transfers at a time. You can advance past a results set of 200 transfers by using the `skip` parameter (for example,
449
449
  # if you set `skip`= 10, you will see a results set of 200 transfers after the first 10). If you are searching a high volume of transfers, the request will likely
450
450
  # process very slowly. To achieve faster performance, restrict the data as much as you can by using the `StartDateTime` and `EndDateTime` parameters for a limited
451
- # period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need.
451
+ # period of time. You can run multiple requests in smaller time window increments until you've retrieved all the transfers you need. The maximum allowed value for
452
+ # `skip` is `200 000`.
453
+ #
454
+ # For large result sets, use cursor pagination instead of `skip`. When more transfers are available, the response includes an
455
+ # `X-Next-Cursor` header. Pass its value as the `cursor` query parameter, with the same filters and `count`, to retrieve the next page.
456
+ # `cursor` cannot be combined with a nonzero `skip`.
452
457
  #
453
458
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
454
459
  # you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
@@ -1000,8 +1005,8 @@ module Moov
1000
1005
  end
1001
1006
 
1002
1007
 
1003
- sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
1004
- def create_cancellation(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
1008
+ sig { params(account_id: ::String, transfer_id: ::String, x_idempotency_key: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
1009
+ def create_cancellation(account_id:, transfer_id:, x_idempotency_key: nil, timeout_ms: nil, http_headers: nil)
1005
1010
  # create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
1006
1011
  #
1007
1012
  # In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
@@ -1011,7 +1016,8 @@ module Moov
1011
1016
  # to specify the `/accounts/{accountID}/transfers.write` scope.
1012
1017
  request = Models::Operations::CreateCancellationRequest.new(
1013
1018
  account_id: account_id,
1014
- transfer_id: transfer_id
1019
+ transfer_id: transfer_id,
1020
+ x_idempotency_key: x_idempotency_key
1015
1021
  )
1016
1022
  url, params = @sdk_configuration.get_server_details
1017
1023
  base_url = Utils.template_url(url, params)
@@ -1021,7 +1027,7 @@ module Moov
1021
1027
  '/accounts/{accountID}/transfers/{transferID}/cancellations',
1022
1028
  request
1023
1029
  )
1024
- headers = {}
1030
+ headers = Utils.get_headers(request)
1025
1031
  headers = T.cast(headers, T::Hash[String, String])
1026
1032
  headers['Accept'] = 'application/json'
1027
1033
  headers['user-agent'] = @sdk_configuration.user_agent
@@ -1391,6 +1397,7 @@ module Moov
1391
1397
  sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
1392
1398
  def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
1393
1399
  # initiate_refund - Initiate a refund for a card transfer.
1400
+ # The `accountID` must identify the partner account for the transfer.
1394
1401
  #
1395
1402
  # **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
1396
1403
  # See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 26.4.19
4
+ version: 26.4.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-02 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -644,6 +644,8 @@ files:
644
644
  - lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi
645
645
  - lib/moov/models/components/createinvoicelineitemvalidationerror.rb
646
646
  - lib/moov/models/components/createinvoicelineitemvalidationerror.rbi
647
+ - lib/moov/models/components/createinvoicenotification.rb
648
+ - lib/moov/models/components/createinvoicenotification.rbi
647
649
  - lib/moov/models/components/createinvoicepayment.rb
648
650
  - lib/moov/models/components/createinvoicepayment.rbi
649
651
  - lib/moov/models/components/createpaymentlink.rb
@@ -950,8 +952,16 @@ files:
950
952
  - lib/moov/models/components/invoicelineitemsvalidationerror.rbi
951
953
  - lib/moov/models/components/invoicelineitemvalidationerror.rb
952
954
  - lib/moov/models/components/invoicelineitemvalidationerror.rbi
955
+ - lib/moov/models/components/invoicenotificationlimitedchannel.rb
956
+ - lib/moov/models/components/invoicenotificationlimitedchannel.rbi
953
957
  - lib/moov/models/components/invoicepayment.rb
954
958
  - lib/moov/models/components/invoicepayment.rbi
959
+ - lib/moov/models/components/invoicepaymentoptions.rb
960
+ - lib/moov/models/components/invoicepaymentoptions.rbi
961
+ - lib/moov/models/components/invoicepaymentoptionserror.rb
962
+ - lib/moov/models/components/invoicepaymentoptionserror.rbi
963
+ - lib/moov/models/components/invoicepaymentoptionsupdate.rb
964
+ - lib/moov/models/components/invoicepaymentoptionsupdate.rbi
955
965
  - lib/moov/models/components/invoicepaymenttype.rb
956
966
  - lib/moov/models/components/invoicepaymenttype.rbi
957
967
  - lib/moov/models/components/invoicestatus.rb
@@ -1066,6 +1076,8 @@ files:
1066
1076
  - lib/moov/models/components/mxauthorizationcode.rbi
1067
1077
  - lib/moov/models/components/mxpayload.rb
1068
1078
  - lib/moov/models/components/mxpayload.rbi
1079
+ - lib/moov/models/components/notificationchannel.rb
1080
+ - lib/moov/models/components/notificationchannel.rbi
1069
1081
  - lib/moov/models/components/oauth2clienttype.rb
1070
1082
  - lib/moov/models/components/oauth2clienttype.rbi
1071
1083
  - lib/moov/models/components/occurrence.rb
@@ -1332,6 +1344,8 @@ files:
1332
1344
  - lib/moov/models/components/rtptransactionstatus.rbi
1333
1345
  - lib/moov/models/components/runtransfer.rb
1334
1346
  - lib/moov/models/components/runtransfer.rbi
1347
+ - lib/moov/models/components/schedule.rb
1348
+ - lib/moov/models/components/schedule.rbi
1335
1349
  - lib/moov/models/components/scheduledtransferimagemetadata.rb
1336
1350
  - lib/moov/models/components/scheduledtransferimagemetadata.rbi
1337
1351
  - lib/moov/models/components/scheduledtransferlineitem.rb
@@ -1390,8 +1404,14 @@ files:
1390
1404
  - lib/moov/models/components/sweepconfig.rbi
1391
1405
  - lib/moov/models/components/sweepconfigpaymentmethod.rb
1392
1406
  - lib/moov/models/components/sweepconfigpaymentmethod.rbi
1407
+ - lib/moov/models/components/sweepconfigschedule.rb
1408
+ - lib/moov/models/components/sweepconfigschedule.rbi
1409
+ - lib/moov/models/components/sweepconfigscheduleerror.rb
1410
+ - lib/moov/models/components/sweepconfigscheduleerror.rbi
1393
1411
  - lib/moov/models/components/sweepconfigstatus.rb
1394
1412
  - lib/moov/models/components/sweepconfigstatus.rbi
1413
+ - lib/moov/models/components/sweepschedulefrequency.rb
1414
+ - lib/moov/models/components/sweepschedulefrequency.rbi
1395
1415
  - lib/moov/models/components/sweepstatus.rb
1396
1416
  - lib/moov/models/components/sweepstatus.rbi
1397
1417
  - lib/moov/models/components/sweepsubtotal.rb
@@ -1725,6 +1745,10 @@ files:
1725
1745
  - lib/moov/models/errors/imagemetadatavalidationerror.rbi
1726
1746
  - lib/moov/models/errors/imagerequestvalidationerror.rb
1727
1747
  - lib/moov/models/errors/imagerequestvalidationerror.rbi
1748
+ - lib/moov/models/errors/invoicenotificationerror.rb
1749
+ - lib/moov/models/errors/invoicenotificationerror.rbi
1750
+ - lib/moov/models/errors/invoicenotificationratelimitederror.rb
1751
+ - lib/moov/models/errors/invoicenotificationratelimitederror.rbi
1728
1752
  - lib/moov/models/errors/linkapplepayerror.rb
1729
1753
  - lib/moov/models/errors/linkapplepayerror.rbi
1730
1754
  - lib/moov/models/errors/linkcarderror.rb
@@ -1844,6 +1868,10 @@ files:
1844
1868
  - lib/moov/models/operations/createinvoice_request.rbi
1845
1869
  - lib/moov/models/operations/createinvoice_response.rb
1846
1870
  - lib/moov/models/operations/createinvoice_response.rbi
1871
+ - lib/moov/models/operations/createinvoicenotification_request.rb
1872
+ - lib/moov/models/operations/createinvoicenotification_request.rbi
1873
+ - lib/moov/models/operations/createinvoicenotification_response.rb
1874
+ - lib/moov/models/operations/createinvoicenotification_response.rbi
1847
1875
  - lib/moov/models/operations/createinvoicepayment_request.rb
1848
1876
  - lib/moov/models/operations/createinvoicepayment_request.rbi
1849
1877
  - lib/moov/models/operations/createinvoicepayment_response.rb