lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8

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 (530) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -1
  3. data/lib/lithic/client.rb +3 -3
  4. data/lib/lithic/internal/transport/base_client.rb +2 -2
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
  6. data/lib/lithic/internal/type/array_of.rb +12 -2
  7. data/lib/lithic/internal/type/base_model.rb +23 -22
  8. data/lib/lithic/internal/type/boolean.rb +5 -1
  9. data/lib/lithic/internal/type/converter.rb +62 -39
  10. data/lib/lithic/internal/type/enum.rb +13 -9
  11. data/lib/lithic/internal/type/hash_of.rb +6 -2
  12. data/lib/lithic/internal/type/io_like.rb +75 -0
  13. data/lib/lithic/internal/type/request_parameters.rb +11 -2
  14. data/lib/lithic/internal/type/union.rb +7 -3
  15. data/lib/lithic/internal/type/unknown.rb +5 -1
  16. data/lib/lithic/internal/util.rb +81 -26
  17. data/lib/lithic/models/account.rb +37 -37
  18. data/lib/lithic/models/account_holder.rb +58 -55
  19. data/lib/lithic/models/account_holder_create_params.rb +59 -59
  20. data/lib/lithic/models/account_holder_create_response.rb +6 -6
  21. data/lib/lithic/models/account_holder_list_params.rb +10 -10
  22. data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
  23. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
  24. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
  25. data/lib/lithic/models/account_holder_update_params.rb +56 -64
  26. data/lib/lithic/models/account_holder_update_response.rb +75 -75
  27. data/lib/lithic/models/account_list_params.rb +6 -6
  28. data/lib/lithic/models/account_spend_limits.rb +6 -6
  29. data/lib/lithic/models/account_update_params.rb +14 -14
  30. data/lib/lithic/models/address.rb +5 -5
  31. data/lib/lithic/models/address_update.rb +3 -3
  32. data/lib/lithic/models/aggregate_balance.rb +4 -4
  33. data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
  34. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
  35. data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
  36. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
  37. data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
  38. data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
  39. data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
  40. data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
  41. data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
  42. data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
  43. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
  44. data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
  45. data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
  46. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
  47. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
  48. data/lib/lithic/models/balance.rb +4 -4
  49. data/lib/lithic/models/balance_list_params.rb +1 -1
  50. data/lib/lithic/models/book_transfer_create_params.rb +4 -4
  51. data/lib/lithic/models/book_transfer_list_params.rb +7 -7
  52. data/lib/lithic/models/book_transfer_response.rb +14 -14
  53. data/lib/lithic/models/card.rb +110 -110
  54. data/lib/lithic/models/card_convert_physical_params.rb +22 -22
  55. data/lib/lithic/models/card_create_params.rb +93 -93
  56. data/lib/lithic/models/card_list_params.rb +6 -6
  57. data/lib/lithic/models/card_program.rb +1 -1
  58. data/lib/lithic/models/card_program_list_params.rb +2 -2
  59. data/lib/lithic/models/card_provision_params.rb +11 -11
  60. data/lib/lithic/models/card_reissue_params.rb +22 -22
  61. data/lib/lithic/models/card_renew_params.rb +24 -24
  62. data/lib/lithic/models/card_spend_limits.rb +6 -6
  63. data/lib/lithic/models/card_update_params.rb +33 -33
  64. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
  65. data/lib/lithic/models/cards/balance_list_params.rb +2 -2
  66. data/lib/lithic/models/cards/balance_list_response.rb +4 -4
  67. data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
  68. data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
  69. data/lib/lithic/models/dispute.rb +88 -88
  70. data/lib/lithic/models/dispute_evidence.rb +11 -11
  71. data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
  72. data/lib/lithic/models/dispute_list_params.rb +6 -6
  73. data/lib/lithic/models/document.rb +6 -6
  74. data/lib/lithic/models/event.rb +51 -51
  75. data/lib/lithic/models/event_list_attempts_params.rb +6 -6
  76. data/lib/lithic/models/event_list_params.rb +6 -6
  77. data/lib/lithic/models/events/subscription_create_params.rb +1 -1
  78. data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
  79. data/lib/lithic/models/events/subscription_list_params.rb +2 -2
  80. data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
  81. data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
  82. data/lib/lithic/models/events/subscription_update_params.rb +1 -1
  83. data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
  84. data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
  85. data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
  86. data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
  87. data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
  88. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
  89. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
  90. data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
  91. data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
  92. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
  93. data/lib/lithic/models/external_payment_list_params.rb +7 -7
  94. data/lib/lithic/models/financial_account_create_params.rb +1 -1
  95. data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
  96. data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
  97. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
  98. data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
  99. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
  100. data/lib/lithic/models/financial_accounts/statement.rb +6 -6
  101. data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
  102. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
  103. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
  104. data/lib/lithic/models/financial_transaction.rb +35 -34
  105. data/lib/lithic/models/kyb.rb +47 -47
  106. data/lib/lithic/models/kyb_business_entity.rb +9 -9
  107. data/lib/lithic/models/kyc.rb +12 -12
  108. data/lib/lithic/models/kyc_exempt.rb +4 -4
  109. data/lib/lithic/models/management_operation_list_params.rb +7 -7
  110. data/lib/lithic/models/management_operation_transaction.rb +36 -0
  111. data/lib/lithic/models/message_attempt.rb +1 -1
  112. data/lib/lithic/models/payment.rb +66 -54
  113. data/lib/lithic/models/payment_create_params.rb +1 -1
  114. data/lib/lithic/models/payment_list_params.rb +6 -6
  115. data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
  116. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
  117. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
  118. data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
  119. data/lib/lithic/models/required_document.rb +2 -2
  120. data/lib/lithic/models/settlement_detail.rb +5 -5
  121. data/lib/lithic/models/settlement_report.rb +15 -15
  122. data/lib/lithic/models/settlement_summary_details.rb +3 -3
  123. data/lib/lithic/models/shipping_address.rb +9 -9
  124. data/lib/lithic/models/spend_limit_duration.rb +10 -10
  125. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
  126. data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
  127. data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
  128. data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
  129. data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
  130. data/lib/lithic/models/tokenization.rb +5 -5
  131. data/lib/lithic/models/tokenization_list_params.rb +6 -6
  132. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
  133. data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
  134. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
  135. data/lib/lithic/models/transaction.rb +95 -95
  136. data/lib/lithic/models/transaction_list_params.rb +8 -8
  137. data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
  138. data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
  139. data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
  140. data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
  141. data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
  142. data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
  143. data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
  144. data/lib/lithic/models/transfer.rb +25 -24
  145. data/lib/lithic/models/transfer_create_params.rb +4 -4
  146. data/lib/lithic/request_options.rb +7 -7
  147. data/lib/lithic/resources/account_holders.rb +52 -52
  148. data/lib/lithic/resources/accounts.rb +7 -7
  149. data/lib/lithic/resources/aggregate_balances.rb +1 -1
  150. data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
  151. data/lib/lithic/resources/auth_rules/v2.rb +58 -58
  152. data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
  153. data/lib/lithic/resources/book_transfers.rb +2 -2
  154. data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
  155. data/lib/lithic/resources/cards.rb +63 -63
  156. data/lib/lithic/resources/disputes.rb +6 -6
  157. data/lib/lithic/resources/events/subscriptions.rb +8 -8
  158. data/lib/lithic/resources/events.rb +2 -2
  159. data/lib/lithic/resources/external_payments.rb +1 -1
  160. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
  161. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
  162. data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
  163. data/lib/lithic/resources/financial_accounts.rb +1 -1
  164. data/lib/lithic/resources/management_operations.rb +1 -1
  165. data/lib/lithic/resources/payments.rb +2 -2
  166. data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
  167. data/lib/lithic/resources/three_ds/authentication.rb +6 -6
  168. data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
  169. data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
  170. data/lib/lithic/resources/tokenizations.rb +46 -46
  171. data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
  172. data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
  173. data/lib/lithic/resources/transactions.rb +24 -24
  174. data/lib/lithic/resources/transfers.rb +1 -1
  175. data/lib/lithic/version.rb +1 -1
  176. data/lib/lithic.rb +1 -0
  177. data/rbi/lib/lithic/client.rbi +6 -9
  178. data/rbi/lib/lithic/errors.rbi +3 -6
  179. data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
  180. data/rbi/lib/lithic/internal/single_page.rbi +1 -2
  181. data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
  182. data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
  183. data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
  184. data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
  185. data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
  186. data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
  187. data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
  188. data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
  189. data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
  190. data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
  191. data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
  192. data/rbi/lib/lithic/internal/type/union.rbi +17 -23
  193. data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
  194. data/rbi/lib/lithic/internal/util.rbi +67 -70
  195. data/rbi/lib/lithic/internal.rbi +1 -1
  196. data/rbi/lib/lithic/models/account.rbi +46 -56
  197. data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
  198. data/rbi/lib/lithic/models/account_holder.rbi +81 -99
  199. data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
  200. data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
  201. data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
  202. data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
  203. data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
  204. data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
  205. data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
  206. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
  207. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
  208. data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
  209. data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
  210. data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
  211. data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
  212. data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
  213. data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
  214. data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
  215. data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
  216. data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
  217. data/rbi/lib/lithic/models/address.rbi +7 -9
  218. data/rbi/lib/lithic/models/address_update.rbi +5 -7
  219. data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
  220. data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
  221. data/rbi/lib/lithic/models/api_status.rbi +2 -4
  222. data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
  223. data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
  224. data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
  225. data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
  226. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
  227. data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
  228. data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
  229. data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
  230. data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
  231. data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
  232. data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
  233. data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
  234. data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
  235. data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
  236. data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
  237. data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
  238. data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
  239. data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
  240. data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
  241. data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
  242. data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
  243. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
  244. data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
  245. data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
  246. data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
  247. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
  248. data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
  249. data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
  250. data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
  251. data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
  252. data/rbi/lib/lithic/models/balance.rbi +7 -11
  253. data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
  254. data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
  255. data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
  256. data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
  257. data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
  258. data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
  259. data/rbi/lib/lithic/models/card.rbi +117 -127
  260. data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
  261. data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
  262. data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
  263. data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
  264. data/rbi/lib/lithic/models/card_program.rbi +3 -6
  265. data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
  266. data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
  267. data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
  268. data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
  269. data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
  270. data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
  271. data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
  272. data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
  273. data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
  274. data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
  275. data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
  276. data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
  277. data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
  278. data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
  279. data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
  280. data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
  281. data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
  282. data/rbi/lib/lithic/models/carrier.rbi +2 -4
  283. data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
  284. data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
  285. data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
  286. data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
  287. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
  288. data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
  289. data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
  290. data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
  291. data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
  292. data/rbi/lib/lithic/models/dispute.rbi +93 -99
  293. data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
  294. data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
  295. data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
  296. data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
  297. data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
  298. data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
  299. data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
  300. data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
  301. data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
  302. data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
  303. data/rbi/lib/lithic/models/document.rbi +13 -21
  304. data/rbi/lib/lithic/models/event.rbi +58 -61
  305. data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
  306. data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
  307. data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
  308. data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
  309. data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
  310. data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
  311. data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
  312. data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
  313. data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
  314. data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
  315. data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
  316. data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
  317. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
  318. data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
  319. data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
  320. data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
  321. data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
  322. data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
  323. data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
  324. data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
  325. data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
  326. data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
  327. data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
  328. data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
  329. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
  330. data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
  331. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
  332. data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
  333. data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
  334. data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
  335. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
  336. data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
  337. data/rbi/lib/lithic/models/external_payment.rbi +10 -21
  338. data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
  339. data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
  340. data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
  341. data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
  342. data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
  343. data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
  344. data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
  345. data/rbi/lib/lithic/models/financial_account.rbi +9 -20
  346. data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
  347. data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
  348. data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
  349. data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
  350. data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
  351. data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
  352. data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
  353. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
  354. data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
  355. data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
  356. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
  357. data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
  358. data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
  359. data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
  360. data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
  361. data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
  362. data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
  363. data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
  364. data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
  365. data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
  366. data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
  367. data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
  368. data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
  369. data/rbi/lib/lithic/models/kyb.rbi +58 -72
  370. data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
  371. data/rbi/lib/lithic/models/kyc.rbi +17 -22
  372. data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
  373. data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
  374. data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
  375. data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
  376. data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
  377. data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
  378. data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
  379. data/rbi/lib/lithic/models/owner_type.rbi +1 -2
  380. data/rbi/lib/lithic/models/payment.rbi +85 -89
  381. data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
  382. data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
  383. data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
  384. data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
  385. data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
  386. data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
  387. data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
  388. data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
  389. data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
  390. data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
  391. data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
  392. data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
  393. data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
  394. data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
  395. data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
  396. data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
  397. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
  398. data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
  399. data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
  400. data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
  401. data/rbi/lib/lithic/models/required_document.rbi +4 -6
  402. data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
  403. data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
  404. data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
  405. data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
  406. data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
  407. data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
  408. data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
  409. data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
  410. data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
  411. data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
  412. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
  413. data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
  414. data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
  415. data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
  416. data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
  417. data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
  418. data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
  419. data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
  420. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
  421. data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
  422. data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
  423. data/rbi/lib/lithic/models/tokenization.rbi +14 -24
  424. data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
  425. data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
  426. data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
  427. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
  428. data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
  429. data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
  430. data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
  431. data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
  432. data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
  433. data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
  434. data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
  435. data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
  436. data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
  437. data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
  438. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
  439. data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
  440. data/rbi/lib/lithic/models/transaction.rbi +168 -236
  441. data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
  442. data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
  443. data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
  444. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
  445. data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
  446. data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
  447. data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
  448. data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
  449. data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
  450. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
  451. data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
  452. data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
  453. data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
  454. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
  455. data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
  456. data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
  457. data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
  458. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
  459. data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
  460. data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
  461. data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
  462. data/rbi/lib/lithic/models/transfer.rbi +34 -43
  463. data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
  464. data/rbi/lib/lithic/models/verification_method.rbi +1 -2
  465. data/rbi/lib/lithic/request_options.rbi +9 -11
  466. data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
  467. data/rbi/lib/lithic/resources/accounts.rbi +26 -35
  468. data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
  469. data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
  470. data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
  471. data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
  472. data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
  473. data/rbi/lib/lithic/resources/balances.rbi +3 -6
  474. data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
  475. data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
  476. data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
  477. data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
  478. data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
  479. data/rbi/lib/lithic/resources/cards.rbi +215 -236
  480. data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
  481. data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
  482. data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
  483. data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
  484. data/rbi/lib/lithic/resources/disputes.rbi +22 -37
  485. data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
  486. data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
  487. data/rbi/lib/lithic/resources/events.rbi +12 -18
  488. data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
  489. data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
  490. data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
  491. data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
  492. data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
  493. data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
  494. data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
  495. data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
  496. data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
  497. data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
  498. data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
  499. data/rbi/lib/lithic/resources/payments.rbi +14 -29
  500. data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
  501. data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
  502. data/rbi/lib/lithic/resources/reports.rbi +1 -2
  503. data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
  504. data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
  505. data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
  506. data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
  507. data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
  508. data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
  509. data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
  510. data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
  511. data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
  512. data/rbi/lib/lithic/resources/transactions.rbi +79 -100
  513. data/rbi/lib/lithic/resources/transfers.rbi +7 -10
  514. data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
  515. data/sig/lithic/internal/type/array_of.rbs +5 -2
  516. data/sig/lithic/internal/type/base_model.rbs +5 -2
  517. data/sig/lithic/internal/type/boolean.rbs +5 -2
  518. data/sig/lithic/internal/type/converter.rbs +11 -5
  519. data/sig/lithic/internal/type/enum.rbs +5 -2
  520. data/sig/lithic/internal/type/hash_of.rbs +5 -2
  521. data/sig/lithic/internal/type/io_like.rbs +23 -0
  522. data/sig/lithic/internal/type/union.rbs +5 -2
  523. data/sig/lithic/internal/type/unknown.rbs +5 -2
  524. data/sig/lithic/internal/util.rbs +17 -2
  525. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  526. data/sig/lithic/models/financial_transaction.rbs +2 -0
  527. data/sig/lithic/models/management_operation_transaction.rbs +27 -0
  528. data/sig/lithic/models/payment.rbs +8 -2
  529. data/sig/lithic/models/transfer.rbs +2 -0
  530. metadata +5 -2
@@ -13,7 +13,7 @@ module Lithic
13
13
  attr_reader :financial_transactions
14
14
 
15
15
  # Create a new virtual or physical card. Parameters `shipping_address` and
16
- # `product_id` only apply to physical cards.
16
+ # `product_id` only apply to physical cards.
17
17
  #
18
18
  # @overload create(type:, account_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_for: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, request_options: {})
19
19
  #
@@ -70,10 +70,10 @@ module Lithic
70
70
  end
71
71
 
72
72
  # Update the specified properties of the card. Unsupplied properties will remain
73
- # unchanged.
73
+ # unchanged.
74
74
  #
75
- # _Note: setting a card to a `CLOSED` state is a final action that cannot be
76
- # undone._
75
+ # _Note: setting a card to a `CLOSED` state is a final action that cannot be
76
+ # undone._
77
77
  #
78
78
  # @overload update(card_token, digital_card_art_token: nil, memo: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, request_options: {})
79
79
  #
@@ -122,7 +122,7 @@ module Lithic
122
122
  @client.request(
123
123
  method: :get,
124
124
  path: "v1/cards",
125
- query: parsed.transform_keys(begin_: :begin, end_: :end),
125
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
126
126
  page: Lithic::Internal::CursorPage,
127
127
  model: Lithic::Models::Card,
128
128
  options: options
@@ -130,15 +130,15 @@ module Lithic
130
130
  end
131
131
 
132
132
  # Convert a virtual card into a physical card and manufacture it. Customer must
133
- # supply relevant fields for physical card creation including `product_id`,
134
- # `carrier`, `shipping_method`, and `shipping_address`. The card token will be
135
- # unchanged. The card's type will be altered to `PHYSICAL`. The card will be set
136
- # to state `PENDING_FULFILLMENT` and fulfilled at next fulfillment cycle. Virtual
137
- # cards created on card programs which do not support physical cards cannot be
138
- # converted. The card program cannot be changed as part of the conversion. Cards
139
- # must be in an `OPEN` state to be converted. Only applies to cards of type
140
- # `VIRTUAL` (or existing cards with deprecated types of `DIGITAL_WALLET` and
141
- # `UNLOCKED`).
133
+ # supply relevant fields for physical card creation including `product_id`,
134
+ # `carrier`, `shipping_method`, and `shipping_address`. The card token will be
135
+ # unchanged. The card's type will be altered to `PHYSICAL`. The card will be set
136
+ # to state `PENDING_FULFILLMENT` and fulfilled at next fulfillment cycle. Virtual
137
+ # cards created on card programs which do not support physical cards cannot be
138
+ # converted. The card program cannot be changed as part of the conversion. Cards
139
+ # must be in an `OPEN` state to be converted. Only applies to cards of type
140
+ # `VIRTUAL` (or existing cards with deprecated types of `DIGITAL_WALLET` and
141
+ # `UNLOCKED`).
142
142
  #
143
143
  # @overload convert_physical(card_token, shipping_address:, carrier: nil, product_id: nil, shipping_method: nil, request_options: {})
144
144
  #
@@ -164,32 +164,32 @@ module Lithic
164
164
  end
165
165
 
166
166
  # Handling full card PANs and CVV codes requires that you comply with the Payment
167
- # Card Industry Data Security Standards (PCI DSS). Some clients choose to reduce
168
- # their compliance obligations by leveraging our embedded card UI solution
169
- # documented below.
170
- #
171
- # In this setup, PANs and CVV codes are presented to the end-user via a card UI
172
- # that we provide, optionally styled in the customer's branding using a specified
173
- # css stylesheet. A user's browser makes the request directly to api.lithic.com,
174
- # so card PANs and CVVs never touch the API customer's servers while full card
175
- # data is displayed to their end-users. The response contains an HTML document
176
- # (see Embedded Card UI or Changelog for upcoming changes in January). This means
177
- # that the url for the request can be inserted straight into the `src` attribute
178
- # of an iframe.
179
- #
180
- # ```html
181
- # <iframe
182
- # id="card-iframe"
183
- # src="https://sandbox.lithic.com/v1/embed/card?embed_request=eyJjc3MiO...;hmac=r8tx1..."
184
- # allow="clipboard-write"
185
- # class="content"
186
- # ></iframe>
187
- # ```
188
- #
189
- # You should compute the request payload on the server side. You can render it (or
190
- # the whole iframe) on the server or make an ajax call from your front end code,
191
- # but **do not ever embed your API key into front end code, as doing so introduces
192
- # a serious security vulnerability**.
167
+ # Card Industry Data Security Standards (PCI DSS). Some clients choose to reduce
168
+ # their compliance obligations by leveraging our embedded card UI solution
169
+ # documented below.
170
+ #
171
+ # In this setup, PANs and CVV codes are presented to the end-user via a card UI
172
+ # that we provide, optionally styled in the customer's branding using a specified
173
+ # css stylesheet. A user's browser makes the request directly to api.lithic.com,
174
+ # so card PANs and CVVs never touch the API customer's servers while full card
175
+ # data is displayed to their end-users. The response contains an HTML document
176
+ # (see Embedded Card UI or Changelog for upcoming changes in January). This means
177
+ # that the url for the request can be inserted straight into the `src` attribute
178
+ # of an iframe.
179
+ #
180
+ # ```html
181
+ # <iframe
182
+ # id="card-iframe"
183
+ # src="https://sandbox.lithic.com/v1/embed/card?embed_request=eyJjc3MiO...;hmac=r8tx1..."
184
+ # allow="clipboard-write"
185
+ # class="content"
186
+ # ></iframe>
187
+ # ```
188
+ #
189
+ # You should compute the request payload on the server side. You can render it (or
190
+ # the whole iframe) on the server or make an ajax call from your front end code,
191
+ # but **do not ever embed your API key into front end code, as doing so introduces
192
+ # a serious security vulnerability**.
193
193
  #
194
194
  # @overload embed(embed_request:, hmac:, request_options: {})
195
195
  #
@@ -213,11 +213,11 @@ module Lithic
213
213
  end
214
214
 
215
215
  # Allow your cardholders to directly add payment cards to the device's digital
216
- # wallet (e.g. Apple Pay) with one touch from your app.
216
+ # wallet (e.g. Apple Pay) with one touch from your app.
217
217
  #
218
- # This requires some additional setup and configuration. Please
219
- # [Contact Us](https://lithic.com/contact) or your Customer Success representative
220
- # for more information.
218
+ # This requires some additional setup and configuration. Please
219
+ # [Contact Us](https://lithic.com/contact) or your Customer Success representative
220
+ # for more information.
221
221
  #
222
222
  # @overload provision(card_token, certificate: nil, client_device_id: nil, client_wallet_account_id: nil, digital_wallet: nil, nonce: nil, nonce_signature: nil, request_options: {})
223
223
  #
@@ -245,10 +245,10 @@ module Lithic
245
245
  end
246
246
 
247
247
  # Initiate print and shipment of a duplicate physical card (e.g. card is
248
- # physically damaged). The PAN, expiry, and CVC2 will remain the same and the
249
- # original card can continue to be used until the new card is activated. Only
250
- # applies to cards of type `PHYSICAL`. A card can be replaced or renewed a total
251
- # of 8 times.
248
+ # physically damaged). The PAN, expiry, and CVC2 will remain the same and the
249
+ # original card can continue to be used until the new card is activated. Only
250
+ # applies to cards of type `PHYSICAL`. A card can be replaced or renewed a total
251
+ # of 8 times.
252
252
  #
253
253
  # @overload reissue(card_token, carrier: nil, product_id: nil, shipping_address: nil, shipping_method: nil, request_options: {})
254
254
  #
@@ -274,14 +274,14 @@ module Lithic
274
274
  end
275
275
 
276
276
  # Applies to card types `PHYSICAL` and `VIRTUAL`. For `PHYSICAL`, creates a new
277
- # card with the same card token and PAN, but updated expiry and CVC2 code. The
278
- # original card will keep working for card-present transactions until the new card
279
- # is activated. For card-not-present transactions, the original card details
280
- # (expiry, CVC2) will also keep working until the new card is activated. A
281
- # `PHYSICAL` card can be replaced or renewed a total of 8 times. For `VIRTUAL`,
282
- # the card will retain the same card token and PAN and receive an updated expiry
283
- # and CVC2 code. `product_id`, `shipping_method`, `shipping_address`, `carrier`
284
- # are only relevant for renewing `PHYSICAL` cards.
277
+ # card with the same card token and PAN, but updated expiry and CVC2 code. The
278
+ # original card will keep working for card-present transactions until the new card
279
+ # is activated. For card-not-present transactions, the original card details
280
+ # (expiry, CVC2) will also keep working until the new card is activated. A
281
+ # `PHYSICAL` card can be replaced or renewed a total of 8 times. For `VIRTUAL`,
282
+ # the card will retain the same card token and PAN and receive an updated expiry
283
+ # and CVC2 code. `product_id`, `shipping_method`, `shipping_address`, `carrier`
284
+ # are only relevant for renewing `PHYSICAL` cards.
285
285
  #
286
286
  # @overload renew(card_token, shipping_address:, carrier: nil, exp_month: nil, exp_year: nil, product_id: nil, shipping_method: nil, request_options: {})
287
287
  #
@@ -309,9 +309,9 @@ module Lithic
309
309
  end
310
310
 
311
311
  # Get a Card's available spend limit, which is based on the spend limit configured
312
- # on the Card and the amount already spent over the spend limit's duration. For
313
- # example, if the Card has a monthly spend limit of $1000 configured, and has
314
- # spent $600 in the last month, the available spend limit returned would be $400.
312
+ # on the Card and the amount already spent over the spend limit's duration. For
313
+ # example, if the Card has a monthly spend limit of $1000 configured, and has
314
+ # spent $600 in the last month, the available spend limit returned would be $400.
315
315
  #
316
316
  # @overload retrieve_spend_limits(card_token, request_options: {})
317
317
  #
@@ -331,10 +331,10 @@ module Lithic
331
331
  end
332
332
 
333
333
  # Get card configuration such as spend limit and state. Customers must be PCI
334
- # compliant to use this endpoint. Please contact
335
- # [support@lithic.com](mailto:support@lithic.com) for questions. _Note: this is a
336
- # `POST` endpoint because it is more secure to send sensitive data in a request
337
- # body than in a URL._
334
+ # compliant to use this endpoint. Please contact
335
+ # [support@lithic.com](mailto:support@lithic.com) for questions. _Note: this is a
336
+ # `POST` endpoint because it is more secure to send sensitive data in a request
337
+ # body than in a URL._
338
338
  #
339
339
  # @overload search_by_pan(pan:, request_options: {})
340
340
  #
@@ -93,7 +93,7 @@ module Lithic
93
93
  @client.request(
94
94
  method: :get,
95
95
  path: "v1/disputes",
96
- query: parsed.transform_keys(begin_: :begin, end_: :end),
96
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
97
97
  page: Lithic::Internal::CursorPage,
98
98
  model: Lithic::Models::Dispute,
99
99
  options: options
@@ -120,7 +120,7 @@ module Lithic
120
120
  end
121
121
 
122
122
  # Soft delete evidence for a dispute. Evidence will not be reviewed or submitted
123
- # by Lithic after it is withdrawn.
123
+ # by Lithic after it is withdrawn.
124
124
  #
125
125
  # @overload delete_evidence(evidence_token, dispute_token:, request_options: {})
126
126
  #
@@ -146,10 +146,10 @@ module Lithic
146
146
  end
147
147
 
148
148
  # Use this endpoint to upload evidences for the dispute. It will return a URL to
149
- # upload your documents to. The URL will expire in 30 minutes.
149
+ # upload your documents to. The URL will expire in 30 minutes.
150
150
  #
151
- # Uploaded documents must either be a `jpg`, `png` or `pdf` file, and each must be
152
- # less than 5 GiB.
151
+ # Uploaded documents must either be a `jpg`, `png` or `pdf` file, and each must be
152
+ # less than 5 GiB.
153
153
  #
154
154
  # @overload initiate_evidence_upload(dispute_token, filename: nil, request_options: {})
155
155
  #
@@ -191,7 +191,7 @@ module Lithic
191
191
  @client.request(
192
192
  method: :get,
193
193
  path: ["v1/disputes/%1$s/evidences", dispute_token],
194
- query: parsed.transform_keys(begin_: :begin, end_: :end),
194
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
195
195
  page: Lithic::Internal::CursorPage,
196
196
  model: Lithic::Models::DisputeEvidence,
197
197
  options: options
@@ -136,7 +136,7 @@ module Lithic
136
136
  @client.request(
137
137
  method: :get,
138
138
  path: ["v1/event_subscriptions/%1$s/attempts", event_subscription_token],
139
- query: parsed.transform_keys(begin_: :begin, end_: :end),
139
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
140
140
  page: Lithic::Internal::CursorPage,
141
141
  model: Lithic::Models::MessageAttempt,
142
142
  options: options
@@ -160,17 +160,17 @@ module Lithic
160
160
  @client.request(
161
161
  method: :post,
162
162
  path: ["v1/event_subscriptions/%1$s/recover", event_subscription_token],
163
- query: parsed.transform_keys(begin_: :begin, end_: :end),
163
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
164
164
  model: NilClass,
165
165
  options: options
166
166
  )
167
167
  end
168
168
 
169
169
  # Replays messages to the endpoint. Only messages that were created after `begin`
170
- # will be sent. Messages that were previously sent to the endpoint are not resent.
171
- # Message will be retried if endpoint responds with a non-2xx status code. See
172
- # [Retry Schedule](https://docs.lithic.com/docs/events-api#retry-schedule) for
173
- # details.
170
+ # will be sent. Messages that were previously sent to the endpoint are not resent.
171
+ # Message will be retried if endpoint responds with a non-2xx status code. See
172
+ # [Retry Schedule](https://docs.lithic.com/docs/events-api#retry-schedule) for
173
+ # details.
174
174
  #
175
175
  # @overload replay_missing(event_subscription_token, begin_: nil, end_: nil, request_options: {})
176
176
  #
@@ -187,7 +187,7 @@ module Lithic
187
187
  @client.request(
188
188
  method: :post,
189
189
  path: ["v1/event_subscriptions/%1$s/replay_missing", event_subscription_token],
190
- query: parsed.transform_keys(begin_: :begin, end_: :end),
190
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
191
191
  model: NilClass,
192
192
  options: options
193
193
  )
@@ -213,7 +213,7 @@ module Lithic
213
213
  end
214
214
 
215
215
  # Rotate the secret for an event subscription. The previous secret will be valid
216
- # for the next 24 hours.
216
+ # for the next 24 hours.
217
217
  #
218
218
  # @overload rotate_secret(event_subscription_token, request_options: {})
219
219
  #
@@ -49,7 +49,7 @@ module Lithic
49
49
  @client.request(
50
50
  method: :get,
51
51
  path: "v1/events",
52
- query: parsed.transform_keys(begin_: :begin, end_: :end),
52
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
53
53
  page: Lithic::Internal::CursorPage,
54
54
  model: Lithic::Models::Event,
55
55
  options: options
@@ -77,7 +77,7 @@ module Lithic
77
77
  @client.request(
78
78
  method: :get,
79
79
  path: ["v1/events/%1$s/attempts", event_token],
80
- query: parsed.transform_keys(begin_: :begin, end_: :end),
80
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
81
81
  page: Lithic::Internal::CursorPage,
82
82
  model: Lithic::Models::MessageAttempt,
83
83
  options: options
@@ -75,7 +75,7 @@ module Lithic
75
75
  @client.request(
76
76
  method: :get,
77
77
  path: "v1/external_payments",
78
- query: parsed.transform_keys(begin_: :begin, end_: :end),
78
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
79
79
  page: Lithic::Internal::CursorPage,
80
80
  model: Lithic::Models::ExternalPayment,
81
81
  options: options
@@ -56,7 +56,7 @@ module Lithic
56
56
  @client.request(
57
57
  method: :get,
58
58
  path: ["v1/financial_accounts/%1$s/financial_transactions", financial_account_token],
59
- query: parsed.transform_keys(begin_: :begin, end_: :end),
59
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
60
60
  page: Lithic::Internal::SinglePage,
61
61
  model: Lithic::Models::FinancialTransaction,
62
62
  options: options
@@ -49,7 +49,7 @@ module Lithic
49
49
  @client.request(
50
50
  method: :get,
51
51
  path: ["v1/financial_accounts/%1$s/loan_tapes", financial_account_token],
52
- query: parsed.transform_keys(begin_: :begin, end_: :end),
52
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
53
53
  page: Lithic::Internal::CursorPage,
54
54
  model: Lithic::Models::FinancialAccounts::LoanTape,
55
55
  options: options
@@ -53,7 +53,7 @@ module Lithic
53
53
  @client.request(
54
54
  method: :get,
55
55
  path: ["v1/financial_accounts/%1$s/statements", financial_account_token],
56
- query: parsed.transform_keys(begin_: :begin, end_: :end),
56
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
57
57
  page: Lithic::Internal::CursorPage,
58
58
  model: Lithic::Models::FinancialAccounts::Statement,
59
59
  options: options
@@ -87,7 +87,7 @@ module Lithic
87
87
  end
88
88
 
89
89
  # Retrieve information on your financial accounts including routing and account
90
- # number.
90
+ # number.
91
91
  #
92
92
  # @overload list(account_token: nil, business_account_token: nil, type: nil, request_options: {})
93
93
  #
@@ -75,7 +75,7 @@ module Lithic
75
75
  @client.request(
76
76
  method: :get,
77
77
  path: "v1/management_operations",
78
- query: parsed.transform_keys(begin_: :begin, end_: :end),
78
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
79
79
  page: Lithic::Internal::CursorPage,
80
80
  model: Lithic::Models::ManagementOperationTransaction,
81
81
  options: options
@@ -26,7 +26,7 @@ module Lithic
26
26
  @client.request(
27
27
  method: :post,
28
28
  path: "v1/payments",
29
- body: parsed.transform_keys(method_: :method),
29
+ body: parsed,
30
30
  model: Lithic::Models::PaymentCreateResponse,
31
31
  options: options
32
32
  )
@@ -76,7 +76,7 @@ module Lithic
76
76
  @client.request(
77
77
  method: :get,
78
78
  path: "v1/payments",
79
- query: parsed.transform_keys(begin_: :begin, end_: :end),
79
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
80
80
  page: Lithic::Internal::CursorPage,
81
81
  model: Lithic::Models::Payment,
82
82
  options: options
@@ -49,7 +49,7 @@ module Lithic
49
49
  @client.request(
50
50
  method: :get,
51
51
  path: "v1/reports/settlement/network_totals",
52
- query: parsed.transform_keys(begin_: :begin, end_: :end),
52
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
53
53
  page: Lithic::Internal::CursorPage,
54
54
  model: Lithic::Models::Reports::Settlement::NetworkTotalListResponse,
55
55
  options: options
@@ -24,9 +24,9 @@ module Lithic
24
24
  end
25
25
 
26
26
  # Simulates a 3DS authentication request from the payment network as if it came
27
- # from an ACS. If you're configured for 3DS Customer Decisioning, simulating
28
- # authentications requires your customer decisioning endpoint to be set up
29
- # properly (respond with a valid JSON).
27
+ # from an ACS. If you're configured for 3DS Customer Decisioning, simulating
28
+ # authentications requires your customer decisioning endpoint to be set up
29
+ # properly (respond with a valid JSON).
30
30
  #
31
31
  # @overload simulate(merchant:, pan:, transaction:, card_expiry_check: nil, request_options: {})
32
32
  #
@@ -51,9 +51,9 @@ module Lithic
51
51
  end
52
52
 
53
53
  # Endpoint for simulating entering OTP into 3DS Challenge UI. A call to
54
- # /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP
55
- # challenge must precede. Only a single attempt is supported; upon entering OTP,
56
- # the challenge is either approved or declined.
54
+ # /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP
55
+ # challenge must precede. Only a single attempt is supported; upon entering OTP,
56
+ # the challenge is either approved or declined.
57
57
  #
58
58
  # @overload simulate_otp_entry(token:, otp:, request_options: {})
59
59
  #
@@ -27,11 +27,11 @@ module Lithic
27
27
  end
28
28
 
29
29
  # Retrieve the 3DS Decisioning HMAC secret key. If one does not exist for your
30
- # program yet, calling this endpoint will create one for you. The headers (which
31
- # you can use to verify 3DS Decisioning requests) will begin appearing shortly
32
- # after calling this endpoint for the first time. See
33
- # [this page](https://docs.lithic.com/docs/3ds-decisioning#3ds-decisioning-hmac-secrets)
34
- # for more detail about verifying 3DS Decisioning requests.
30
+ # program yet, calling this endpoint will create one for you. The headers (which
31
+ # you can use to verify 3DS Decisioning requests) will begin appearing shortly
32
+ # after calling this endpoint for the first time. See
33
+ # [this page](https://docs.lithic.com/docs/3ds-decisioning#3ds-decisioning-hmac-secrets)
34
+ # for more detail about verifying 3DS Decisioning requests.
35
35
  #
36
36
  # @overload retrieve_secret(request_options: {})
37
37
  #
@@ -50,9 +50,9 @@ module Lithic
50
50
  end
51
51
 
52
52
  # Generate a new 3DS Decisioning HMAC secret key. The old secret key will be
53
- # deactivated 24 hours after a successful request to this endpoint. Make a
54
- # [`GET /three_ds_decisioning/secret`](https://docs.lithic.com/reference/getthreedsdecisioningsecret)
55
- # request to retrieve the new secret key.
53
+ # deactivated 24 hours after a successful request to this endpoint. Make a
54
+ # [`GET /three_ds_decisioning/secret`](https://docs.lithic.com/reference/getthreedsdecisioningsecret)
55
+ # request to retrieve the new secret key.
56
56
  #
57
57
  # @overload rotate_secret(request_options: {})
58
58
  #
@@ -4,11 +4,11 @@ module Lithic
4
4
  module Resources
5
5
  class TokenizationDecisioning
6
6
  # Retrieve the Tokenization Decisioning secret key. If one does not exist your
7
- # program yet, calling this endpoint will create one for you. The headers of the
8
- # Tokenization Decisioning request will contain a hmac signature which you can use
9
- # to verify requests originate from Lithic. See
10
- # [this page](https://docs.lithic.com/docs/events-api#verifying-webhooks) for more
11
- # detail about verifying Tokenization Decisioning requests.
7
+ # program yet, calling this endpoint will create one for you. The headers of the
8
+ # Tokenization Decisioning request will contain a hmac signature which you can use
9
+ # to verify requests originate from Lithic. See
10
+ # [this page](https://docs.lithic.com/docs/events-api#verifying-webhooks) for more
11
+ # detail about verifying Tokenization Decisioning requests.
12
12
  #
13
13
  # @overload retrieve_secret(request_options: {})
14
14
  #
@@ -27,8 +27,8 @@ module Lithic
27
27
  end
28
28
 
29
29
  # Generate a new Tokenization Decisioning secret key. The old Tokenization
30
- # Decisioning secret key will be deactivated 24 hours after a successful request
31
- # to this endpoint.
30
+ # Decisioning secret key will be deactivated 24 hours after a successful request
31
+ # to this endpoint.
32
32
  #
33
33
  # @overload rotate_secret(request_options: {})
34
34
  #
@@ -44,7 +44,7 @@ module Lithic
44
44
  @client.request(
45
45
  method: :get,
46
46
  path: "v1/tokenizations",
47
- query: parsed.transform_keys(begin_: :begin, end_: :end),
47
+ query: parsed.transform_keys(begin_: "begin", end_: "end"),
48
48
  page: Lithic::Internal::CursorPage,
49
49
  model: Lithic::Models::Tokenization,
50
50
  options: options
@@ -52,13 +52,13 @@ module Lithic
52
52
  end
53
53
 
54
54
  # This endpoint is used to ask the card network to activate a tokenization. A
55
- # successful response indicates that the request was successfully delivered to the
56
- # card network. When the card network activates the tokenization, the state will
57
- # be updated and a tokenization.updated event will be sent. The endpoint may only
58
- # be used on digital wallet tokenizations with status `INACTIVE`,
59
- # `PENDING_ACTIVATION`, or `PENDING_2FA`. This will put the tokenization in an
60
- # active state, and transactions will be allowed. Reach out at
61
- # [lithic.com/contact](https://lithic.com/contact) for more information.
55
+ # successful response indicates that the request was successfully delivered to the
56
+ # card network. When the card network activates the tokenization, the state will
57
+ # be updated and a tokenization.updated event will be sent. The endpoint may only
58
+ # be used on digital wallet tokenizations with status `INACTIVE`,
59
+ # `PENDING_ACTIVATION`, or `PENDING_2FA`. This will put the tokenization in an
60
+ # active state, and transactions will be allowed. Reach out at
61
+ # [lithic.com/contact](https://lithic.com/contact) for more information.
62
62
  #
63
63
  # @overload activate(tokenization_token, request_options: {})
64
64
  #
@@ -78,14 +78,14 @@ module Lithic
78
78
  end
79
79
 
80
80
  # This endpoint is used to ask the card network to deactivate a tokenization. A
81
- # successful response indicates that the request was successfully delivered to the
82
- # card network. When the card network deactivates the tokenization, the state will
83
- # be updated and a tokenization.updated event will be sent. Authorizations
84
- # attempted with a deactivated tokenization will be blocked and will not be
85
- # forwarded to Lithic from the network. Deactivating the token is a permanent
86
- # operation. If the target is a digital wallet tokenization, it will be removed
87
- # from its device. Reach out at [lithic.com/contact](https://lithic.com/contact)
88
- # for more information.
81
+ # successful response indicates that the request was successfully delivered to the
82
+ # card network. When the card network deactivates the tokenization, the state will
83
+ # be updated and a tokenization.updated event will be sent. Authorizations
84
+ # attempted with a deactivated tokenization will be blocked and will not be
85
+ # forwarded to Lithic from the network. Deactivating the token is a permanent
86
+ # operation. If the target is a digital wallet tokenization, it will be removed
87
+ # from its device. Reach out at [lithic.com/contact](https://lithic.com/contact)
88
+ # for more information.
89
89
  #
90
90
  # @overload deactivate(tokenization_token, request_options: {})
91
91
  #
@@ -105,13 +105,13 @@ module Lithic
105
105
  end
106
106
 
107
107
  # This endpoint is used to ask the card network to pause a tokenization. A
108
- # successful response indicates that the request was successfully delivered to the
109
- # card network. When the card network pauses the tokenization, the state will be
110
- # updated and a tokenization.updated event will be sent. The endpoint may only be
111
- # used on tokenizations with status `ACTIVE`. A paused token will prevent
112
- # merchants from sending authorizations, and is a temporary status that can be
113
- # changed. Reach out at [lithic.com/contact](https://lithic.com/contact) for more
114
- # information.
108
+ # successful response indicates that the request was successfully delivered to the
109
+ # card network. When the card network pauses the tokenization, the state will be
110
+ # updated and a tokenization.updated event will be sent. The endpoint may only be
111
+ # used on tokenizations with status `ACTIVE`. A paused token will prevent
112
+ # merchants from sending authorizations, and is a temporary status that can be
113
+ # changed. Reach out at [lithic.com/contact](https://lithic.com/contact) for more
114
+ # information.
115
115
  #
116
116
  # @overload pause(tokenization_token, request_options: {})
117
117
  #
@@ -131,15 +131,15 @@ module Lithic
131
131
  end
132
132
 
133
133
  # This endpoint is used to ask the card network to send another activation code to
134
- # a cardholder that has already tried tokenizing a card. A successful response
135
- # indicates that the request was successfully delivered to the card network. The
136
- # endpoint may only be used on Mastercard digital wallet tokenizations with status
137
- # `INACTIVE`, `PENDING_ACTIVATION`, or `PENDING_2FA`. The network will send a new
138
- # activation code to the one of the contact methods provided in the initial
139
- # tokenization flow. If a user fails to enter the code correctly 3 times, the
140
- # contact method will not be eligible for resending the activation code, and the
141
- # cardholder must restart the provision process. Reach out at
142
- # [lithic.com/contact](https://lithic.com/contact) for more information.
134
+ # a cardholder that has already tried tokenizing a card. A successful response
135
+ # indicates that the request was successfully delivered to the card network. The
136
+ # endpoint may only be used on Mastercard digital wallet tokenizations with status
137
+ # `INACTIVE`, `PENDING_ACTIVATION`, or `PENDING_2FA`. The network will send a new
138
+ # activation code to the one of the contact methods provided in the initial
139
+ # tokenization flow. If a user fails to enter the code correctly 3 times, the
140
+ # contact method will not be eligible for resending the activation code, and the
141
+ # cardholder must restart the provision process. Reach out at
142
+ # [lithic.com/contact](https://lithic.com/contact) for more information.
143
143
  #
144
144
  # @overload resend_activation_code(tokenization_token, activation_method_type: nil, request_options: {})
145
145
  #
@@ -162,7 +162,7 @@ module Lithic
162
162
  end
163
163
 
164
164
  # This endpoint is used to simulate a card's tokenization in the Digital Wallet
165
- # and merchant tokenization ecosystem.
165
+ # and merchant tokenization ecosystem.
166
166
  #
167
167
  # @overload simulate(cvv:, expiration_date:, pan:, tokenization_source:, account_score: nil, device_score: nil, entity: nil, wallet_recommended_decision: nil, request_options: {})
168
168
  #
@@ -191,12 +191,12 @@ module Lithic
191
191
  end
192
192
 
193
193
  # This endpoint is used to ask the card network to unpause a tokenization. A
194
- # successful response indicates that the request was successfully delivered to the
195
- # card network. When the card network unpauses the tokenization, the state will be
196
- # updated and a tokenization.updated event will be sent. The endpoint may only be
197
- # used on tokenizations with status `PAUSED`. This will put the tokenization in an
198
- # active state, and transactions may resume. Reach out at
199
- # [lithic.com/contact](https://lithic.com/contact) for more information.
194
+ # successful response indicates that the request was successfully delivered to the
195
+ # card network. When the card network unpauses the tokenization, the state will be
196
+ # updated and a tokenization.updated event will be sent. The endpoint may only be
197
+ # used on tokenizations with status `PAUSED`. This will put the tokenization in an
198
+ # active state, and transactions may resume. Reach out at
199
+ # [lithic.com/contact](https://lithic.com/contact) for more information.
200
200
  #
201
201
  # @overload unpause(tokenization_token, request_options: {})
202
202
  #
@@ -216,13 +216,13 @@ module Lithic
216
216
  end
217
217
 
218
218
  # This endpoint is used update the digital card art for a digital wallet
219
- # tokenization. A successful response indicates that the card network has updated
220
- # the tokenization's art, and the tokenization's `digital_cart_art_token` field
221
- # was updated. The endpoint may not be used on tokenizations with status
222
- # `DEACTIVATED`. Note that this updates the art for one specific tokenization, not
223
- # all tokenizations for a card. New tokenizations for a card will be created with
224
- # the art referenced in the card object's `digital_card_art_token` field. Reach
225
- # out at [lithic.com/contact](https://lithic.com/contact) for more information.
219
+ # tokenization. A successful response indicates that the card network has updated
220
+ # the tokenization's art, and the tokenization's `digital_cart_art_token` field
221
+ # was updated. The endpoint may not be used on tokenizations with status
222
+ # `DEACTIVATED`. Note that this updates the art for one specific tokenization, not
223
+ # all tokenizations for a card. New tokenizations for a card will be created with
224
+ # the art referenced in the card object's `digital_card_art_token` field. Reach
225
+ # out at [lithic.com/contact](https://lithic.com/contact) for more information.
226
226
  #
227
227
  # @overload update_digital_card_art(tokenization_token, digital_card_art_token: nil, request_options: {})
228
228
  #