lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41

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 (207) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +8 -0
  5. data/lib/lithic/internal/transport/base_client.rb +1 -1
  6. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
  7. data/lib/lithic/internal/type/array_of.rb +1 -0
  8. data/lib/lithic/internal/type/base_model.rb +3 -1
  9. data/lib/lithic/internal/type/converter.rb +27 -0
  10. data/lib/lithic/internal/type/hash_of.rb +1 -0
  11. data/lib/lithic/internal/type/union.rb +9 -7
  12. data/lib/lithic/internal/util.rb +1 -1
  13. data/lib/lithic/models/account.rb +88 -1
  14. data/lib/lithic/models/account_activity_list_params.rb +156 -0
  15. data/lib/lithic/models/account_activity_list_response.rb +1435 -0
  16. data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
  17. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
  18. data/lib/lithic/models/account_holder.rb +16 -19
  19. data/lib/lithic/models/account_holder_create_params.rb +41 -47
  20. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
  21. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
  22. data/lib/lithic/models/account_holder_update_params.rb +2 -6
  23. data/lib/lithic/models/account_holder_update_response.rb +25 -20
  24. data/lib/lithic/models/account_update_params.rb +86 -1
  25. data/lib/lithic/models/aggregate_balance.rb +1 -0
  26. data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
  27. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
  28. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +12 -22
  29. data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
  30. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
  31. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +226 -16
  32. data/lib/lithic/models/balance.rb +1 -0
  33. data/lib/lithic/models/balance_list_params.rb +1 -0
  34. data/lib/lithic/models/book_transfer_create_params.rb +34 -6
  35. data/lib/lithic/models/book_transfer_response.rb +124 -28
  36. data/lib/lithic/models/card_create_params.rb +90 -1
  37. data/lib/lithic/models/card_program.rb +10 -1
  38. data/lib/lithic/models/card_update_params.rb +98 -1
  39. data/lib/lithic/models/cards/balance_list_response.rb +1 -0
  40. data/lib/lithic/models/document.rb +1 -3
  41. data/lib/lithic/models/events/subscription_create_params.rb +1 -3
  42. data/lib/lithic/models/events/subscription_update_params.rb +1 -3
  43. data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
  44. data/lib/lithic/models/external_payment.rb +89 -48
  45. data/lib/lithic/models/external_resource.rb +34 -0
  46. data/lib/lithic/models/external_resource_type.rb +18 -0
  47. data/lib/lithic/models/financial_account.rb +1 -0
  48. data/lib/lithic/models/financial_account_list_params.rb +1 -0
  49. data/lib/lithic/models/financial_accounts/balance_list_response.rb +1 -0
  50. data/lib/lithic/models/financial_accounts/loan_tape.rb +5 -18
  51. data/lib/lithic/models/financial_accounts/statement.rb +3 -10
  52. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
  53. data/lib/lithic/models/financial_transaction.rb +2 -0
  54. data/lib/lithic/models/instance_financial_account_type.rb +1 -0
  55. data/lib/lithic/models/kyb.rb +2 -2
  56. data/lib/lithic/models/management_operation_create_params.rb +30 -1
  57. data/lib/lithic/models/management_operation_transaction.rb +100 -52
  58. data/lib/lithic/models/network_program.rb +41 -0
  59. data/lib/lithic/models/network_program_list_params.rb +43 -0
  60. data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
  61. data/lib/lithic/models/non_pci_card.rb +88 -1
  62. data/lib/lithic/models/payment.rb +60 -1
  63. data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
  64. data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
  65. data/lib/lithic/models/settlement_detail.rb +1 -0
  66. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +145 -12
  67. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
  68. data/lib/lithic/models/tokenization.rb +1 -1
  69. data/lib/lithic/models/transaction.rb +31 -20
  70. data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
  71. data/lib/lithic/models/transfer.rb +2 -0
  72. data/lib/lithic/models/wire_party_details.rb +40 -0
  73. data/lib/lithic/models.rb +16 -0
  74. data/lib/lithic/resources/account_activity.rb +80 -0
  75. data/lib/lithic/resources/account_holders.rb +9 -9
  76. data/lib/lithic/resources/accounts.rb +5 -1
  77. data/lib/lithic/resources/book_transfers.rb +7 -3
  78. data/lib/lithic/resources/cards.rb +12 -2
  79. data/lib/lithic/resources/management_operations.rb +13 -1
  80. data/lib/lithic/resources/network_programs.rb +64 -0
  81. data/lib/lithic/resources/reports/settlement.rb +1 -1
  82. data/lib/lithic/resources/tokenizations.rb +2 -2
  83. data/lib/lithic/version.rb +1 -1
  84. data/lib/lithic.rb +13 -2
  85. data/rbi/lithic/client.rbi +6 -0
  86. data/rbi/lithic/errors.rbi +2 -2
  87. data/rbi/lithic/internal/transport/base_client.rbi +1 -1
  88. data/rbi/lithic/internal/type/converter.rbi +46 -0
  89. data/rbi/lithic/internal/type/union.rbi +7 -2
  90. data/rbi/lithic/models/account.rbi +131 -0
  91. data/rbi/lithic/models/account_activity_list_params.rbi +359 -0
  92. data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
  93. data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
  94. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
  95. data/rbi/lithic/models/account_holder.rbi +21 -23
  96. data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
  97. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
  98. data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
  99. data/rbi/lithic/models/account_update_params.rbi +159 -0
  100. data/rbi/lithic/models/aggregate_balance.rbi +5 -0
  101. data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
  102. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
  103. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +26 -15
  104. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -0
  105. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
  106. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
  107. data/rbi/lithic/models/balance.rbi +2 -0
  108. data/rbi/lithic/models/balance_list_params.rbi +5 -0
  109. data/rbi/lithic/models/book_transfer_create_params.rbi +75 -5
  110. data/rbi/lithic/models/book_transfer_response.rbi +320 -38
  111. data/rbi/lithic/models/card_create_params.rbi +190 -0
  112. data/rbi/lithic/models/card_program.rbi +13 -0
  113. data/rbi/lithic/models/card_update_params.rbi +168 -0
  114. data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
  115. data/rbi/lithic/models/external_payment.rbi +147 -60
  116. data/rbi/lithic/models/external_resource.rbi +57 -0
  117. data/rbi/lithic/models/external_resource_type.rbi +26 -0
  118. data/rbi/lithic/models/financial_account.rbi +5 -0
  119. data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
  120. data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +5 -0
  121. data/rbi/lithic/models/financial_transaction.rbi +1 -0
  122. data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
  123. data/rbi/lithic/models/kyb.rbi +2 -2
  124. data/rbi/lithic/models/management_operation_create_params.rbi +59 -0
  125. data/rbi/lithic/models/management_operation_transaction.rbi +230 -84
  126. data/rbi/lithic/models/network_program.rbi +61 -0
  127. data/rbi/lithic/models/network_program_list_params.rbi +72 -0
  128. data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
  129. data/rbi/lithic/models/non_pci_card.rbi +133 -3
  130. data/rbi/lithic/models/payment.rbi +103 -3
  131. data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
  132. data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
  133. data/rbi/lithic/models/settlement_detail.rbi +2 -0
  134. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +222 -19
  135. data/rbi/lithic/models/transaction.rbi +23 -31
  136. data/rbi/lithic/models/transfer.rbi +1 -0
  137. data/rbi/lithic/models/wire_party_details.rbi +61 -0
  138. data/rbi/lithic/models.rbi +17 -0
  139. data/rbi/lithic/resources/account_activity.rbi +80 -0
  140. data/rbi/lithic/resources/account_holders.rbi +28 -29
  141. data/rbi/lithic/resources/accounts.rbi +32 -0
  142. data/rbi/lithic/resources/book_transfers.rbi +9 -2
  143. data/rbi/lithic/resources/cards.rbi +70 -0
  144. data/rbi/lithic/resources/management_operations.rbi +4 -0
  145. data/rbi/lithic/resources/network_programs.rbi +48 -0
  146. data/rbi/lithic/resources/reports/settlement.rbi +1 -1
  147. data/rbi/lithic/resources/tokenizations.rbi +1 -1
  148. data/sig/lithic/client.rbs +4 -0
  149. data/sig/lithic/internal/transport/base_client.rbs +1 -1
  150. data/sig/lithic/internal/type/converter.rbs +17 -0
  151. data/sig/lithic/internal/type/union.rbs +2 -2
  152. data/sig/lithic/models/account.rbs +41 -0
  153. data/sig/lithic/models/account_activity_list_params.rbs +173 -0
  154. data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
  155. data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
  156. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
  157. data/sig/lithic/models/account_holder_create_params.rbs +33 -19
  158. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
  159. data/sig/lithic/models/account_holder_update_response.rbs +10 -3
  160. data/sig/lithic/models/account_update_params.rbs +41 -0
  161. data/sig/lithic/models/aggregate_balance.rbs +2 -1
  162. data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
  163. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +8 -0
  164. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
  165. data/sig/lithic/models/auth_rules/v2_list_params.rbs +2 -1
  166. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
  167. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
  168. data/sig/lithic/models/balance.rbs +2 -1
  169. data/sig/lithic/models/balance_list_params.rbs +2 -1
  170. data/sig/lithic/models/book_transfer_create_params.rbs +30 -1
  171. data/sig/lithic/models/book_transfer_response.rbs +134 -15
  172. data/sig/lithic/models/card_create_params.rbs +47 -0
  173. data/sig/lithic/models/card_program.rbs +7 -0
  174. data/sig/lithic/models/card_update_params.rbs +55 -1
  175. data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
  176. data/sig/lithic/models/external_payment.rbs +91 -40
  177. data/sig/lithic/models/external_resource.rbs +32 -0
  178. data/sig/lithic/models/external_resource_type.rbs +16 -0
  179. data/sig/lithic/models/financial_account.rbs +2 -0
  180. data/sig/lithic/models/financial_account_list_params.rbs +2 -1
  181. data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
  182. data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
  183. data/sig/lithic/models/management_operation_create_params.rbs +20 -0
  184. data/sig/lithic/models/management_operation_transaction.rbs +98 -42
  185. data/sig/lithic/models/network_program.rbs +35 -0
  186. data/sig/lithic/models/network_program_list_params.rbs +38 -0
  187. data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
  188. data/sig/lithic/models/non_pci_card.rbs +55 -3
  189. data/sig/lithic/models/payment.rbs +61 -3
  190. data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
  191. data/sig/lithic/models/settlement_detail.rbs +2 -0
  192. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +90 -3
  193. data/sig/lithic/models/transaction.rbs +2 -6
  194. data/sig/lithic/models/wire_party_details.rbs +35 -0
  195. data/sig/lithic/models.rbs +16 -0
  196. data/sig/lithic/resources/account_activity.rbs +27 -0
  197. data/sig/lithic/resources/account_holders.rbs +3 -3
  198. data/sig/lithic/resources/accounts.rbs +2 -0
  199. data/sig/lithic/resources/book_transfers.rbs +2 -0
  200. data/sig/lithic/resources/cards.rbs +5 -0
  201. data/sig/lithic/resources/management_operations.rbs +1 -0
  202. data/sig/lithic/resources/network_programs.rbs +19 -0
  203. data/sig/lithic/resources/tokenizations.rbs +1 -1
  204. metadata +38 -5
  205. data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
  206. data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
  207. data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -806,30 +806,101 @@ module Lithic
806
806
 
807
807
  # @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse#app
808
808
  class App < Lithic::Internal::Type::BaseModel
809
+ # @!attribute device
810
+ # Device model: e.g. "Apple iPhone 16".
811
+ #
812
+ # @return [String, nil]
813
+ optional :device, String, nil?: true
814
+
809
815
  # @!attribute device_info
810
- # Device information gathered from the cardholder's device - JSON name/value pairs
811
- # that is Base64url encoded. Maps to EMV 3DS field `deviceInfo`.
816
+ # Raw device information - base64-encoded JSON object. Maps to EMV 3DS field
817
+ # `deviceInfo`.
812
818
  #
813
819
  # @return [String, nil]
814
820
  optional :device_info, String, nil?: true
815
821
 
816
822
  # @!attribute ip
817
- # External IP address used by the app generating the 3DS authentication request.
818
- # Maps to EMV 3DS field `appIp`.
823
+ # IP address of the device.
819
824
  #
820
825
  # @return [String, nil]
821
826
  optional :ip, String
822
827
 
823
- # @!method initialize(device_info: nil, ip: nil)
828
+ # @!attribute latitude
829
+ # Latitude coordinate of current device location.
830
+ #
831
+ # @return [Float, nil]
832
+ optional :latitude, Float, nil?: true
833
+
834
+ # @!attribute locale
835
+ # Device locale: e.g. "en-US".
836
+ #
837
+ # @return [String, nil]
838
+ optional :locale, String, nil?: true
839
+
840
+ # @!attribute longitude
841
+ # Longitude coordinate of current device location.
842
+ #
843
+ # @return [Float, nil]
844
+ optional :longitude, Float, nil?: true
845
+
846
+ # @!attribute os
847
+ # Operating System: e.g. "Android 12", "iOS 17.1".
848
+ #
849
+ # @return [String, nil]
850
+ optional :os, String, nil?: true
851
+
852
+ # @!attribute platform
853
+ # Device platform: Android, iOS, Windows, etc.
854
+ #
855
+ # @return [String, nil]
856
+ optional :platform, String, nil?: true
857
+
858
+ # @!attribute screen_height
859
+ # Screen height in pixels.
860
+ #
861
+ # @return [Integer, nil]
862
+ optional :screen_height, Integer, nil?: true
863
+
864
+ # @!attribute screen_width
865
+ # Screen width in pixels.
866
+ #
867
+ # @return [Integer, nil]
868
+ optional :screen_width, Integer, nil?: true
869
+
870
+ # @!attribute time_zone
871
+ # Time zone offset in minutes between UTC and device local time.
872
+ #
873
+ # @return [String, nil]
874
+ optional :time_zone, String, nil?: true
875
+
876
+ # @!method initialize(device: nil, device_info: nil, ip: nil, latitude: nil, locale: nil, longitude: nil, os: nil, platform: nil, screen_height: nil, screen_width: nil, time_zone: nil)
824
877
  # Some parameter documentations has been truncated, see
825
878
  # {Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App} for more details.
826
879
  #
827
880
  # Object containing data about the app used in the e-commerce transaction. Present
828
881
  # if the channel is 'APP_BASED'.
829
882
  #
830
- # @param device_info [String, nil] Device information gathered from the cardholder's device - JSON name/value pairs
883
+ # @param device [String, nil] Device model: e.g. "Apple iPhone 16".
884
+ #
885
+ # @param device_info [String, nil] Raw device information - base64-encoded JSON object. Maps to EMV 3DS field `devi
886
+ #
887
+ # @param ip [String] IP address of the device.
888
+ #
889
+ # @param latitude [Float, nil] Latitude coordinate of current device location.
890
+ #
891
+ # @param locale [String, nil] Device locale: e.g. "en-US".
892
+ #
893
+ # @param longitude [Float, nil] Longitude coordinate of current device location.
894
+ #
895
+ # @param os [String, nil] Operating System: e.g. "Android 12", "iOS 17.1".
896
+ #
897
+ # @param platform [String, nil] Device platform: Android, iOS, Windows, etc.
898
+ #
899
+ # @param screen_height [Integer, nil] Screen height in pixels.
900
+ #
901
+ # @param screen_width [Integer, nil] Screen width in pixels.
831
902
  #
832
- # @param ip [String] External IP address used by the app generating the 3DS authentication request. M
903
+ # @param time_zone [String, nil] Time zone offset in minutes between UTC and device local time.
833
904
  end
834
905
 
835
906
  # Type of authentication request - i.e., the type of transaction or interaction is
@@ -893,9 +964,8 @@ module Lithic
893
964
  optional :language, String, nil?: true
894
965
 
895
966
  # @!attribute time_zone
896
- # Time zone of the cardholder's browser offset in minutes between UTC and the
897
- # cardholder browser's local time. The offset is positive if the local time is
898
- # behind UTC and negative if it is ahead. Maps to EMV 3DS field `browserTz`.
967
+ # Time zone offset in minutes between UTC and browser local time. Maps to EMV 3DS
968
+ # field `browserTz`.
899
969
  #
900
970
  # @return [String, nil]
901
971
  optional :time_zone, String, nil?: true
@@ -924,7 +994,7 @@ module Lithic
924
994
  #
925
995
  # @param language [String, nil] Language of the cardholder's browser as defined in IETF BCP47. Maps to EMV 3DS f
926
996
  #
927
- # @param time_zone [String, nil] Time zone of the cardholder's browser offset in minutes between UTC and the card
997
+ # @param time_zone [String, nil] Time zone offset in minutes between UTC and browser local time. Maps to EMV 3DS
928
998
  #
929
999
  # @param user_agent [String, nil] Content of the HTTP user-agent header. Maps to EMV 3DS field `browserUserAgent`.
930
1000
  end
@@ -938,18 +1008,46 @@ module Lithic
938
1008
  required :method_type,
939
1009
  enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::MethodType }
940
1010
 
1011
+ # @!attribute status
1012
+ # Indicates the status of the challenge
1013
+ #
1014
+ # - SUCCESS - Cardholder completed the challenge successfully
1015
+ # - PENDING - Challenge was issued to the cardholder and was not completed yet
1016
+ # - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the
1017
+ # provided phone number. Relevant only for SMS_OTP method
1018
+ # - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the
1019
+ # given challenge TTL
1020
+ # - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting
1021
+ # "cancel" on the challenge UI
1022
+ # - CANCELED_OOB - Cardholder canceled the challenge out of band
1023
+ # - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an
1024
+ # incorrect OTP more than the allowed number of times or requesting a new OTP
1025
+ # more than the allowed number of times
1026
+ # - ABORTED - Merchant aborted authentication after a challenge was requested
1027
+ # - ERROR - The challenge failed for a reason different than those documented
1028
+ #
1029
+ # @return [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::Status]
1030
+ required :status,
1031
+ enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::Status }
1032
+
941
1033
  # @!attribute phone_number
942
1034
  # The phone number used for delivering the OTP. Relevant only for SMS_OTP method.
943
1035
  #
944
1036
  # @return [String, nil]
945
1037
  optional :phone_number, String, nil?: true
946
1038
 
947
- # @!method initialize(method_type:, phone_number: nil)
1039
+ # @!method initialize(method_type:, status:, phone_number: nil)
1040
+ # Some parameter documentations has been truncated, see
1041
+ # {Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata} for
1042
+ # more details.
1043
+ #
948
1044
  # Metadata about the challenge method and delivery. Only present when a challenge
949
1045
  # is triggered.
950
1046
  #
951
1047
  # @param method_type [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::MethodType] The type of challenge method used for authentication.
952
1048
  #
1049
+ # @param status [Symbol, Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata::Status] Indicates the status of the challenge
1050
+ #
953
1051
  # @param phone_number [String, nil] The phone number used for delivering the OTP. Relevant only for SMS_OTP method.
954
1052
 
955
1053
  # The type of challenge method used for authentication.
@@ -964,6 +1062,41 @@ module Lithic
964
1062
  # @!method self.values
965
1063
  # @return [Array<Symbol>]
966
1064
  end
1065
+
1066
+ # Indicates the status of the challenge
1067
+ #
1068
+ # - SUCCESS - Cardholder completed the challenge successfully
1069
+ # - PENDING - Challenge was issued to the cardholder and was not completed yet
1070
+ # - SMS_DELIVERY_FAILED - Lithic confirmed undeliverability of the SMS to the
1071
+ # provided phone number. Relevant only for SMS_OTP method
1072
+ # - CARDHOLDER_TIMEOUT - Cardholder failed to complete the challenge within the
1073
+ # given challenge TTL
1074
+ # - CANCELED_VIA_CHALLENGE_UI - Cardholder canceled the challenge by selecting
1075
+ # "cancel" on the challenge UI
1076
+ # - CANCELED_OOB - Cardholder canceled the challenge out of band
1077
+ # - ATTEMPTS_EXCEEDED - Cardholder failed the challenge by either entering an
1078
+ # incorrect OTP more than the allowed number of times or requesting a new OTP
1079
+ # more than the allowed number of times
1080
+ # - ABORTED - Merchant aborted authentication after a challenge was requested
1081
+ # - ERROR - The challenge failed for a reason different than those documented
1082
+ #
1083
+ # @see Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata#status
1084
+ module Status
1085
+ extend Lithic::Internal::Type::Enum
1086
+
1087
+ SUCCESS = :SUCCESS
1088
+ PENDING = :PENDING
1089
+ SMS_DELIVERY_FAILED = :SMS_DELIVERY_FAILED
1090
+ CARDHOLDER_TIMEOUT = :CARDHOLDER_TIMEOUT
1091
+ CANCELED_VIA_CHALLENGE_UI = :CANCELED_VIA_CHALLENGE_UI
1092
+ CANCELED_OOB = :CANCELED_OOB
1093
+ ATTEMPTS_EXCEEDED = :ATTEMPTS_EXCEEDED
1094
+ ABORTED = :ABORTED
1095
+ ERROR = :ERROR
1096
+
1097
+ # @!method self.values
1098
+ # @return [Array<Symbol>]
1099
+ end
967
1100
  end
968
1101
 
969
1102
  # Entity that orchestrates the challenge. This won't be set for authentications
@@ -31,10 +31,7 @@ module Lithic
31
31
  # When not set defaults to MATCH
32
32
  #
33
33
  # @return [Symbol, Lithic::Models::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck, nil]
34
- optional :card_expiry_check,
35
- enum: -> {
36
- Lithic::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck
37
- }
34
+ optional :card_expiry_check, enum: -> { Lithic::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck }
38
35
 
39
36
  # @!method initialize(merchant:, pan:, transaction:, card_expiry_check: nil, request_options: {})
40
37
  # Some parameter documentations has been truncated, see
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Lithic
4
4
  module Models
5
- # @see Lithic::Resources::Tokenizations#list
5
+ # @see Lithic::Resources::Tokenizations#retrieve
6
6
  class Tokenization < Lithic::Internal::Type::BaseModel
7
7
  # @!attribute token
8
8
  # Globally unique identifier for a Tokenization
@@ -372,20 +372,25 @@ module Lithic
372
372
  # @see Lithic::Models::Transaction#cardholder_authentication
373
373
  class CardholderAuthentication < Lithic::Internal::Type::BaseModel
374
374
  # @!attribute three_ds_version
375
+ # @deprecated
376
+ #
375
377
  # The 3DS version used for the authentication
376
378
  #
377
379
  # @return [String, nil]
378
380
  required :three_ds_version, String, api_name: :"3ds_version", nil?: true
379
381
 
380
382
  # @!attribute acquirer_exemption
381
- # Whether an acquirer exemption applied to the transaction.
383
+ # @deprecated
384
+ #
385
+ # Whether an acquirer exemption applied to the transaction. Not currently
386
+ # populated and will be removed in the future.
382
387
  #
383
388
  # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption]
384
389
  required :acquirer_exemption,
385
390
  enum: -> { Lithic::Transaction::CardholderAuthentication::AcquirerExemption }
386
391
 
387
392
  # @!attribute authentication_result
388
- # Indicates what the outcome of the 3DS authentication process is.
393
+ # Indicates the outcome of the 3DS authentication process.
389
394
  #
390
395
  # @return [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult]
391
396
  required :authentication_result,
@@ -401,12 +406,10 @@ module Lithic
401
406
  # Indicates whether chargeback liability shift applies to the transaction.
402
407
  # Possible enum values:
403
408
  #
404
- # * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
405
- #
406
- # * `ACQUIRER_EXEMPTION`: The acquirer utilised an exemption to bypass Strong Customer Authentication (`transStatus = N`, or `transStatus = I`). Liability remains with the acquirer and in this case the `acquirer_exemption` field is expected to be not `NONE`.
407
- #
408
- # * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
409
- #
409
+ # - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
410
+ # Secure flow, chargeback liability shift applies.
411
+ # - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
412
+ # merchant is liable.
410
413
  # - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
411
414
  # cryptography, possibly recurring. Chargeback liability shift to the issuer
412
415
  # applies.
@@ -424,6 +427,8 @@ module Lithic
424
427
  required :three_ds_authentication_token, String, nil?: true
425
428
 
426
429
  # @!attribute verification_attempted
430
+ # @deprecated
431
+ #
427
432
  # Indicates whether a 3DS challenge flow was used, and if so, what the
428
433
  # verification method was. (deprecated, use `authentication_result`)
429
434
  #
@@ -432,6 +437,8 @@ module Lithic
432
437
  enum: -> { Lithic::Transaction::CardholderAuthentication::VerificationAttempted }
433
438
 
434
439
  # @!attribute verification_result
440
+ # @deprecated
441
+ #
435
442
  # Indicates whether a transaction is considered 3DS authenticated. (deprecated,
436
443
  # use `authentication_result`)
437
444
  #
@@ -452,9 +459,9 @@ module Lithic
452
459
  #
453
460
  # @param three_ds_version [String, nil] The 3DS version used for the authentication
454
461
  #
455
- # @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption] Whether an acquirer exemption applied to the transaction.
462
+ # @param acquirer_exemption [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AcquirerExemption] Whether an acquirer exemption applied to the transaction. Not currently populate
456
463
  #
457
- # @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult] Indicates what the outcome of the 3DS authentication process is.
464
+ # @param authentication_result [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationResult] Indicates the outcome of the 3DS authentication process.
458
465
  #
459
466
  # @param decision_made_by [Symbol, Lithic::Models::Transaction::CardholderAuthentication::DecisionMadeBy] Indicates which party made the 3DS authentication decision.
460
467
  #
@@ -468,7 +475,10 @@ module Lithic
468
475
  #
469
476
  # @param authentication_method [Symbol, Lithic::Models::Transaction::CardholderAuthentication::AuthenticationMethod] Indicates the method used to authenticate the cardholder.
470
477
 
471
- # Whether an acquirer exemption applied to the transaction.
478
+ # @deprecated
479
+ #
480
+ # Whether an acquirer exemption applied to the transaction. Not currently
481
+ # populated and will be removed in the future.
472
482
  #
473
483
  # @see Lithic::Models::Transaction::CardholderAuthentication#acquirer_exemption
474
484
  module AcquirerExemption
@@ -487,7 +497,7 @@ module Lithic
487
497
  # @return [Array<Symbol>]
488
498
  end
489
499
 
490
- # Indicates what the outcome of the 3DS authentication process is.
500
+ # Indicates the outcome of the 3DS authentication process.
491
501
  #
492
502
  # @see Lithic::Models::Transaction::CardholderAuthentication#authentication_result
493
503
  module AuthenticationResult
@@ -522,12 +532,10 @@ module Lithic
522
532
  # Indicates whether chargeback liability shift applies to the transaction.
523
533
  # Possible enum values:
524
534
  #
525
- # * `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D Secure flow, chargeback liability shift applies.
526
- #
527
- # * `ACQUIRER_EXEMPTION`: The acquirer utilised an exemption to bypass Strong Customer Authentication (`transStatus = N`, or `transStatus = I`). Liability remains with the acquirer and in this case the `acquirer_exemption` field is expected to be not `NONE`.
528
- #
529
- # * `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the merchant is liable.
530
- #
535
+ # - `3DS_AUTHENTICATED`: The transaction was fully authenticated through a 3-D
536
+ # Secure flow, chargeback liability shift applies.
537
+ # - `NONE`: Chargeback liability shift has not shifted to the issuer, i.e. the
538
+ # merchant is liable.
531
539
  # - `TOKEN_AUTHENTICATED`: The transaction was a tokenized payment with validated
532
540
  # cryptography, possibly recurring. Chargeback liability shift to the issuer
533
541
  # applies.
@@ -537,14 +545,15 @@ module Lithic
537
545
  extend Lithic::Internal::Type::Enum
538
546
 
539
547
  LIABILITY_SHIFT_3DS_AUTHENTICATED = :"3DS_AUTHENTICATED"
540
- ACQUIRER_EXEMPTION = :ACQUIRER_EXEMPTION
541
- NONE = :NONE
542
548
  TOKEN_AUTHENTICATED = :TOKEN_AUTHENTICATED
549
+ NONE = :NONE
543
550
 
544
551
  # @!method self.values
545
552
  # @return [Array<Symbol>]
546
553
  end
547
554
 
555
+ # @deprecated
556
+ #
548
557
  # Indicates whether a 3DS challenge flow was used, and if so, what the
549
558
  # verification method was. (deprecated, use `authentication_result`)
550
559
  #
@@ -559,6 +568,8 @@ module Lithic
559
568
  # @return [Array<Symbol>]
560
569
  end
561
570
 
571
+ # @deprecated
572
+ #
562
573
  # Indicates whether a transaction is considered 3DS authenticated. (deprecated,
563
574
  # use `authentication_result`)
564
575
  #
@@ -26,10 +26,7 @@ module Lithic
26
26
  # @!attribute fleet
27
27
  #
28
28
  # @return [Array<Lithic::Models::Transactions::Events::EnhancedData::Fleet>]
29
- required :fleet,
30
- -> {
31
- Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Fleet]
32
- }
29
+ required :fleet, -> { Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Fleet] }
33
30
 
34
31
  # @!attribute transaction_token
35
32
  # The token of the transaction that the enhanced data is associated with.
@@ -54,9 +51,7 @@ module Lithic
54
51
  #
55
52
  # @return [Array<Lithic::Models::Transactions::Events::EnhancedData::Common::LineItem>]
56
53
  required :line_items,
57
- -> {
58
- Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Common::LineItem]
59
- }
54
+ -> { Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Common::LineItem] }
60
55
 
61
56
  # @!attribute tax
62
57
  #
@@ -200,10 +195,7 @@ module Lithic
200
195
  # The type of fuel service.
201
196
  #
202
197
  # @return [Symbol, Lithic::Models::Transactions::Events::EnhancedData::Fleet::ServiceType, nil]
203
- optional :service_type,
204
- enum: -> {
205
- Lithic::Transactions::Events::EnhancedData::Fleet::ServiceType
206
- }
198
+ optional :service_type, enum: -> { Lithic::Transactions::Events::EnhancedData::Fleet::ServiceType }
207
199
 
208
200
  # @!attribute vehicle_number
209
201
  # The vehicle number entered into the terminal at the time of sale, with leading
@@ -178,6 +178,8 @@ module Lithic
178
178
  # Some parameter documentations has been truncated, see
179
179
  # {Lithic::Models::Transfer::Event} for more details.
180
180
  #
181
+ # Financial Event
182
+ #
181
183
  # @param token [String] Globally unique identifier.
182
184
  #
183
185
  # @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Models
5
+ class WirePartyDetails < Lithic::Internal::Type::BaseModel
6
+ # @!attribute account_number
7
+ # Account number
8
+ #
9
+ # @return [String, nil]
10
+ optional :account_number, String, nil?: true
11
+
12
+ # @!attribute agent_id
13
+ # Routing number or BIC of the financial institution
14
+ #
15
+ # @return [String, nil]
16
+ optional :agent_id, String, nil?: true
17
+
18
+ # @!attribute agent_name
19
+ # Name of the financial institution
20
+ #
21
+ # @return [String, nil]
22
+ optional :agent_name, String, nil?: true
23
+
24
+ # @!attribute name
25
+ # Name of the person or company
26
+ #
27
+ # @return [String, nil]
28
+ optional :name, String, nil?: true
29
+
30
+ # @!method initialize(account_number: nil, agent_id: nil, agent_name: nil, name: nil)
31
+ # @param account_number [String, nil] Account number
32
+ #
33
+ # @param agent_id [String, nil] Routing number or BIC of the financial institution
34
+ #
35
+ # @param agent_name [String, nil] Name of the financial institution
36
+ #
37
+ # @param name [String, nil] Name of the person or company
38
+ end
39
+ end
40
+ end
data/lib/lithic/models.rb CHANGED
@@ -41,6 +41,10 @@ module Lithic
41
41
 
42
42
  Account = Lithic::Models::Account
43
43
 
44
+ AccountActivityListParams = Lithic::Models::AccountActivityListParams
45
+
46
+ AccountActivityRetrieveTransactionParams = Lithic::Models::AccountActivityRetrieveTransactionParams
47
+
44
48
  AccountFinancialAccountType = Lithic::Models::AccountFinancialAccountType
45
49
 
46
50
  AccountHolder = Lithic::Models::AccountHolder
@@ -224,6 +228,10 @@ module Lithic
224
228
 
225
229
  ExternalPaymentSettleParams = Lithic::Models::ExternalPaymentSettleParams
226
230
 
231
+ ExternalResource = Lithic::Models::ExternalResource
232
+
233
+ ExternalResourceType = Lithic::Models::ExternalResourceType
234
+
227
235
  FinancialAccount = Lithic::Models::FinancialAccount
228
236
 
229
237
  FinancialAccountCreateParams = Lithic::Models::FinancialAccountCreateParams
@@ -272,6 +280,12 @@ module Lithic
272
280
 
273
281
  MessageAttempt = Lithic::Models::MessageAttempt
274
282
 
283
+ NetworkProgram = Lithic::Models::NetworkProgram
284
+
285
+ NetworkProgramListParams = Lithic::Models::NetworkProgramListParams
286
+
287
+ NetworkProgramRetrieveParams = Lithic::Models::NetworkProgramRetrieveParams
288
+
275
289
  NonPCICard = Lithic::Models::NonPCICard
276
290
 
277
291
  OwnerType = Lithic::Models::OwnerType
@@ -375,4 +389,6 @@ module Lithic
375
389
  TransferCreateParams = Lithic::Models::TransferCreateParams
376
390
 
377
391
  VerificationMethod = Lithic::Models::VerificationMethod
392
+
393
+ WirePartyDetails = Lithic::Models::WirePartyDetails
378
394
  end
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Lithic
4
+ module Resources
5
+ class AccountActivity
6
+ # Some parameter documentations has been truncated, see
7
+ # {Lithic::Models::AccountActivityListParams} for more details.
8
+ #
9
+ # Retrieve a list of transactions across all public accounts.
10
+ #
11
+ # @overload list(account_token: nil, begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
12
+ #
13
+ # @param account_token [String] Filter by account token
14
+ #
15
+ # @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
16
+ #
17
+ # @param business_account_token [String] Filter by business account token
18
+ #
19
+ # @param category [Symbol, Lithic::Models::AccountActivityListParams::Category] Filter by transaction category
20
+ #
21
+ # @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
22
+ #
23
+ # @param ending_before [String] A cursor representing an item's token before which a page of results should end.
24
+ #
25
+ # @param financial_account_token [String] Filter by financial account token
26
+ #
27
+ # @param page_size [Integer] Page size (for pagination).
28
+ #
29
+ # @param result [Array<Symbol, Lithic::Models::AccountActivityListParams::Result>] Filter by transaction result
30
+ #
31
+ # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
32
+ #
33
+ # @param status [Array<Symbol, Lithic::Models::AccountActivityListParams::Status>] Filter by transaction status
34
+ #
35
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
36
+ #
37
+ # @return [Lithic::Internal::CursorPage<Lithic::Models::AccountActivityListResponse::FinancialTransaction, Lithic::Models::AccountActivityListResponse::BookTransferTransaction, Lithic::Models::AccountActivityListResponse::CardTransaction, Lithic::Models::AccountActivityListResponse::PaymentTransaction, Lithic::Models::ExternalPayment, Lithic::Models::ManagementOperationTransaction>]
38
+ #
39
+ # @see Lithic::Models::AccountActivityListParams
40
+ def list(params = {})
41
+ parsed, options = Lithic::AccountActivityListParams.dump_request(params)
42
+ @client.request(
43
+ method: :get,
44
+ path: "v1/account_activity",
45
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
46
+ page: Lithic::Internal::CursorPage,
47
+ model: Lithic::Models::AccountActivityListResponse,
48
+ options: options
49
+ )
50
+ end
51
+
52
+ # Retrieve a single transaction
53
+ #
54
+ # @overload retrieve_transaction(transaction_token, request_options: {})
55
+ #
56
+ # @param transaction_token [String] The unique identifier for the transaction
57
+ #
58
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
59
+ #
60
+ # @return [Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction, Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction, Lithic::Models::ExternalPayment, Lithic::Models::ManagementOperationTransaction]
61
+ #
62
+ # @see Lithic::Models::AccountActivityRetrieveTransactionParams
63
+ def retrieve_transaction(transaction_token, params = {})
64
+ @client.request(
65
+ method: :get,
66
+ path: ["v1/account_activity/%1$s", transaction_token],
67
+ model: Lithic::Models::AccountActivityRetrieveTransactionResponse,
68
+ options: params[:request_options]
69
+ )
70
+ end
71
+
72
+ # @api private
73
+ #
74
+ # @param client [Lithic::Client]
75
+ def initialize(client:)
76
+ @client = client
77
+ end
78
+ end
79
+ end
80
+ end
@@ -15,15 +15,9 @@ module Lithic
15
15
  # process. This endpoint can only be used on accounts that are part of the program
16
16
  # that the calling API key manages.
17
17
  #
18
- # @overload create(beneficial_owner_individuals:, business_entity:, control_person:, nature_of_business:, tos_timestamp:, workflow:, individual:, address:, email:, first_name:, kyc_exemption_type:, last_name:, phone_number:, beneficial_owner_entities: nil, external_id: nil, kyb_passed_timestamp: nil, website_url: nil, kyc_passed_timestamp: nil, business_account_token: nil, request_options: {})
18
+ # @overload create(business_entity:, tos_timestamp:, workflow:, individual:, address:, email:, first_name:, kyc_exemption_type:, last_name:, phone_number:, beneficial_owner_individuals: nil, control_person: nil, nature_of_business: nil, beneficial_owner_entities: nil, external_id: nil, kyb_passed_timestamp: nil, website_url: nil, kyc_passed_timestamp: nil, business_account_token: nil, request_options: {})
19
19
  #
20
- # @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>] You must submit a list of all direct and indirect individuals with 25% or more o
21
- #
22
- # @param business_entity [Lithic::Models::AccountHolderCreateParams::BusinessEntity] Information for business for which the account is being opened and KYB is being
23
- #
24
- # @param control_person [Lithic::Models::AccountHolderCreateParams::ControlPerson] An individual with significant responsibility for managing the legal entity (e.g
25
- #
26
- # @param nature_of_business [String] Short description of the company's line of business (i.e., what does the company
20
+ # @param business_entity [Lithic::Models::AccountHolderCreateParams::BusinessEntity] Information for business for which the account is being opened.
27
21
  #
28
22
  # @param tos_timestamp [String] An RFC 3339 timestamp indicating when the account holder accepted the applicable
29
23
  #
@@ -43,11 +37,17 @@ module Lithic
43
37
  #
44
38
  # @param phone_number [String] The KYC Exempt user's phone number, entered in E.164 format.
45
39
  #
40
+ # @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>] You can submit a list of all direct and indirect individuals with 25% or more ow
41
+ #
42
+ # @param control_person [Lithic::Models::AccountHolderCreateParams::ControlPerson] An individual with significant responsibility for managing the legal entity (e.g
43
+ #
44
+ # @param nature_of_business [String] Short description of the company's line of business (i.e., what does the company
45
+ #
46
46
  # @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>] Deprecated.
47
47
  #
48
48
  # @param external_id [String] A user provided id that can be used to link an account holder with an external s
49
49
  #
50
- # @param kyb_passed_timestamp [String] An RFC 3339 timestamp indicating when precomputed KYC was completed on the busin
50
+ # @param kyb_passed_timestamp [String] An RFC 3339 timestamp indicating when precomputed KYB was completed on the busin
51
51
  #
52
52
  # @param website_url [String] Company website URL.
53
53
  #
@@ -30,10 +30,12 @@ module Lithic
30
30
  # accounts that are part of the program managed by this API key. Accounts that are
31
31
  # in the `PAUSED` state will not be able to transact or create new cards.
32
32
  #
33
- # @overload update(account_token, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, verification_address: nil, request_options: {})
33
+ # @overload update(account_token, comment: nil, daily_spend_limit: nil, lifetime_spend_limit: nil, monthly_spend_limit: nil, state: nil, substatus: nil, verification_address: nil, request_options: {})
34
34
  #
35
35
  # @param account_token [String] Globally unique identifier for account.
36
36
  #
37
+ # @param comment [String] Additional context or information related to the account.
38
+ #
37
39
  # @param daily_spend_limit [Integer] Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a $1
38
40
  #
39
41
  # @param lifetime_spend_limit [Integer] Amount (in cents) for the account's lifetime spend limit (e.g. 100000 would be a
@@ -42,6 +44,8 @@ module Lithic
42
44
  #
43
45
  # @param state [Symbol, Lithic::Models::AccountUpdateParams::State] Account states.
44
46
  #
47
+ # @param substatus [Symbol, Lithic::Models::AccountUpdateParams::Substatus] Account state substatus values:
48
+ #
45
49
  # @param verification_address [Lithic::Models::AccountUpdateParams::VerificationAddress] Address used during Address Verification Service (AVS) checks during transaction
46
50
  #
47
51
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]