lithic 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -10
  4. data/lib/lithic/internal/type/union.rb +21 -7
  5. data/lib/lithic/models/account_holder_create_params.rb +4 -2
  6. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
  7. data/lib/lithic/models/account_holder_update_params.rb +6 -3
  8. data/lib/lithic/models/account_holder_update_response.rb +156 -86
  9. data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
  10. data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
  11. data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
  12. data/lib/lithic/models/address.rb +33 -19
  13. data/lib/lithic/models/address_update.rb +27 -11
  14. data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
  15. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
  16. data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
  17. data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
  18. data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
  19. data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
  20. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
  21. data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
  22. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
  23. data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
  24. data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
  25. data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
  26. data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
  27. data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
  28. data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
  29. data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
  30. data/lib/lithic/models/card_authorization.rb +11 -1
  31. data/lib/lithic/models/card_create_params.rb +11 -1
  32. data/lib/lithic/models/card_update_params.rb +12 -1
  33. data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
  34. data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
  35. data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
  36. data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
  37. data/lib/lithic/models/kyb.rb +4 -2
  38. data/lib/lithic/models/kyb_business_entity.rb +35 -19
  39. data/lib/lithic/models/kyc.rb +2 -1
  40. data/lib/lithic/models/non_pci_card.rb +11 -1
  41. data/lib/lithic/models/parsed_webhook_event.rb +120 -66
  42. data/lib/lithic/models/payment.rb +2 -1
  43. data/lib/lithic/models/transaction.rb +2 -1
  44. data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
  45. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
  46. data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
  47. data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
  48. data/lib/lithic/resources/auth_rules/v2.rb +44 -8
  49. data/lib/lithic/resources/cards.rb +6 -2
  50. data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
  51. data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
  52. data/lib/lithic/resources/transactions.rb +17 -4
  53. data/lib/lithic/resources/webhooks.rb +18 -0
  54. data/lib/lithic/version.rb +1 -1
  55. data/lib/lithic.rb +8 -1
  56. data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
  57. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
  58. data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
  59. data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
  60. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
  61. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
  62. data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
  63. data/rbi/lithic/models/address.rbi +57 -29
  64. data/rbi/lithic/models/address_update.rbi +50 -24
  65. data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
  66. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
  67. data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
  68. data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
  69. data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
  70. data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
  71. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
  72. data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
  73. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
  74. data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
  75. data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
  76. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
  77. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
  78. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
  79. data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
  80. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
  81. data/rbi/lithic/models/card_authorization.rbi +12 -0
  82. data/rbi/lithic/models/card_create_params.rbi +15 -0
  83. data/rbi/lithic/models/card_update_params.rbi +17 -0
  84. data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
  85. data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
  86. data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
  87. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
  88. data/rbi/lithic/models/kyb.rbi +8 -4
  89. data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
  90. data/rbi/lithic/models/kyc.rbi +4 -2
  91. data/rbi/lithic/models/non_pci_card.rbi +12 -0
  92. data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
  93. data/rbi/lithic/models/payment.rbi +4 -2
  94. data/rbi/lithic/models/transaction.rbi +4 -2
  95. data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
  96. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
  97. data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
  98. data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
  99. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
  100. data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
  101. data/rbi/lithic/resources/cards.rbi +11 -0
  102. data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
  103. data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
  104. data/rbi/lithic/resources/transactions.rbi +31 -2
  105. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
  106. data/sig/lithic/models/account_holder_update_response.rbs +52 -52
  107. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
  108. data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
  109. data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
  110. data/sig/lithic/models/address.rbs +13 -13
  111. data/sig/lithic/models/address_update.rbs +8 -12
  112. data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
  113. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
  114. data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
  115. data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
  116. data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
  117. data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
  118. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
  119. data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
  120. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
  121. data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
  122. data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
  123. data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
  124. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
  125. data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
  126. data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
  127. data/sig/lithic/models/card_authorization.rbs +5 -0
  128. data/sig/lithic/models/card_create_params.rbs +7 -0
  129. data/sig/lithic/models/card_update_params.rbs +8 -1
  130. data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
  131. data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
  132. data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
  133. data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
  134. data/sig/lithic/models/kyb_business_entity.rbs +13 -13
  135. data/sig/lithic/models/non_pci_card.rbs +5 -0
  136. data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
  137. data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
  138. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
  139. data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
  140. data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
  141. data/sig/lithic/resources/cards.rbs +2 -0
  142. data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
  143. data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
  144. data/sig/lithic/resources/transactions.rbs +5 -0
  145. metadata +26 -5
  146. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
  147. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
  148. data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
@@ -273,7 +273,8 @@ module Lithic
273
273
  class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
274
274
  # @!attribute address
275
275
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
276
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
276
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
277
+ # and KYC workflows.
277
278
  #
278
279
  # @return [Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address, nil]
279
280
  optional :address,
@@ -342,51 +343,68 @@ module Lithic
342
343
  required :city, String
343
344
 
344
345
  # @!attribute country
345
- # Valid country code. Only USA is currently supported, entered in uppercase ISO
346
- # 3166-1 alpha-3 three-character format.
346
+ # Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
347
+ # format. Supported countries depend on the onboarding workflow used for the
348
+ # account holder.
347
349
  #
348
350
  # @return [String]
349
351
  required :country, String
350
352
 
351
- # @!attribute postal_code
352
- # Valid postal code. Only USA ZIP codes are currently supported, entered as a
353
- # five-digit ZIP or nine-digit ZIP+4.
353
+ # @!attribute address2
354
+ # Unit or apartment number (if applicable).
354
355
  #
355
- # @return [String]
356
- required :postal_code, String
356
+ # @return [String, nil]
357
+ optional :address2, String
357
358
 
358
- # @!attribute state
359
- # Valid state code. Only USA state codes are currently supported, entered in
360
- # uppercase ISO 3166-2 two-character format.
359
+ # @!attribute postal_code
360
+ # Valid postal code. For USA addresses, enter either a five-digit postal code or a
361
+ # nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
362
+ # countries except the following, which do not use postal codes: ABW, AGO, ARE,
363
+ # ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
364
+ # ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
365
+ # SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
361
366
  #
362
- # @return [String]
363
- required :state, String
367
+ # @return [String, nil]
368
+ optional :postal_code, String, nil?: true
364
369
 
365
- # @!attribute address2
366
- # Unit or apartment number (if applicable).
370
+ # @!attribute state
371
+ # Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
372
+ # code for the country without the country prefix. For example, `CA` for
373
+ # California. Optional unless the address is in one of the following countries,
374
+ # where it is required:
375
+ #
376
+ # - `USA`
377
+ # - `CAN`
378
+ # - `AUS`
379
+ # - `CHN`
380
+ # - `KOR`
381
+ # - `MEX`
382
+ # - `MYS`
383
+ # - `NZL`
367
384
  #
368
385
  # @return [String, nil]
369
- optional :address2, String
386
+ optional :state, String, nil?: true
370
387
 
371
- # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
388
+ # @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
372
389
  # Some parameter documentations has been truncated, see
373
390
  # {Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address}
374
391
  # for more details.
375
392
  #
376
393
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
377
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
394
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
395
+ # and KYC workflows.
378
396
  #
379
397
  # @param address1 [String] Valid deliverable address (no PO boxes).
380
398
  #
381
399
  # @param city [String] Name of city.
382
400
  #
383
- # @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
401
+ # @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
384
402
  #
385
- # @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
403
+ # @param address2 [String] Unit or apartment number (if applicable).
386
404
  #
387
- # @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
405
+ # @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
388
406
  #
389
- # @param address2 [String] Unit or apartment number (if applicable).
407
+ # @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
390
408
  end
391
409
  end
392
410
 
@@ -394,7 +412,8 @@ module Lithic
394
412
  class ControlPerson < Lithic::Internal::Type::BaseModel
395
413
  # @!attribute address
396
414
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
397
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
415
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
416
+ # and KYC workflows.
398
417
  #
399
418
  # @return [Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::Address, nil]
400
419
  optional :address, -> { Lithic::ParsedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::Address }
@@ -471,51 +490,68 @@ module Lithic
471
490
  required :city, String
472
491
 
473
492
  # @!attribute country
474
- # Valid country code. Only USA is currently supported, entered in uppercase ISO
475
- # 3166-1 alpha-3 three-character format.
493
+ # Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
494
+ # format. Supported countries depend on the onboarding workflow used for the
495
+ # account holder.
476
496
  #
477
497
  # @return [String]
478
498
  required :country, String
479
499
 
480
- # @!attribute postal_code
481
- # Valid postal code. Only USA ZIP codes are currently supported, entered as a
482
- # five-digit ZIP or nine-digit ZIP+4.
500
+ # @!attribute address2
501
+ # Unit or apartment number (if applicable).
483
502
  #
484
- # @return [String]
485
- required :postal_code, String
503
+ # @return [String, nil]
504
+ optional :address2, String
486
505
 
487
- # @!attribute state
488
- # Valid state code. Only USA state codes are currently supported, entered in
489
- # uppercase ISO 3166-2 two-character format.
506
+ # @!attribute postal_code
507
+ # Valid postal code. For USA addresses, enter either a five-digit postal code or a
508
+ # nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
509
+ # countries except the following, which do not use postal codes: ABW, AGO, ARE,
510
+ # ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
511
+ # ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
512
+ # SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
490
513
  #
491
- # @return [String]
492
- required :state, String
514
+ # @return [String, nil]
515
+ optional :postal_code, String, nil?: true
493
516
 
494
- # @!attribute address2
495
- # Unit or apartment number (if applicable).
517
+ # @!attribute state
518
+ # Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
519
+ # code for the country without the country prefix. For example, `CA` for
520
+ # California. Optional unless the address is in one of the following countries,
521
+ # where it is required:
522
+ #
523
+ # - `USA`
524
+ # - `CAN`
525
+ # - `AUS`
526
+ # - `CHN`
527
+ # - `KOR`
528
+ # - `MEX`
529
+ # - `MYS`
530
+ # - `NZL`
496
531
  #
497
532
  # @return [String, nil]
498
- optional :address2, String
533
+ optional :state, String, nil?: true
499
534
 
500
- # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
535
+ # @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
501
536
  # Some parameter documentations has been truncated, see
502
537
  # {Lithic::Models::ParsedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::Address}
503
538
  # for more details.
504
539
  #
505
540
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
506
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
541
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
542
+ # and KYC workflows.
507
543
  #
508
544
  # @param address1 [String] Valid deliverable address (no PO boxes).
509
545
  #
510
546
  # @param city [String] Name of city.
511
547
  #
512
- # @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
548
+ # @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
513
549
  #
514
- # @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
550
+ # @param address2 [String] Unit or apartment number (if applicable).
515
551
  #
516
- # @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
552
+ # @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
517
553
  #
518
- # @param address2 [String] Unit or apartment number (if applicable).
554
+ # @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
519
555
  end
520
556
  end
521
557
  end
@@ -595,7 +631,8 @@ module Lithic
595
631
  class Individual < Lithic::Internal::Type::BaseModel
596
632
  # @!attribute address
597
633
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
598
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
634
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
635
+ # and KYC workflows.
599
636
  #
600
637
  # @return [Lithic::Models::ParsedWebhookEvent::KYCPayload::UpdateRequest::Individual::Address, nil]
601
638
  optional :address, -> { Lithic::ParsedWebhookEvent::KYCPayload::UpdateRequest::Individual::Address }
@@ -666,51 +703,68 @@ module Lithic
666
703
  required :city, String
667
704
 
668
705
  # @!attribute country
669
- # Valid country code. Only USA is currently supported, entered in uppercase ISO
670
- # 3166-1 alpha-3 three-character format.
706
+ # Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
707
+ # format. Supported countries depend on the onboarding workflow used for the
708
+ # account holder.
671
709
  #
672
710
  # @return [String]
673
711
  required :country, String
674
712
 
675
- # @!attribute postal_code
676
- # Valid postal code. Only USA ZIP codes are currently supported, entered as a
677
- # five-digit ZIP or nine-digit ZIP+4.
713
+ # @!attribute address2
714
+ # Unit or apartment number (if applicable).
678
715
  #
679
- # @return [String]
680
- required :postal_code, String
716
+ # @return [String, nil]
717
+ optional :address2, String
681
718
 
682
- # @!attribute state
683
- # Valid state code. Only USA state codes are currently supported, entered in
684
- # uppercase ISO 3166-2 two-character format.
719
+ # @!attribute postal_code
720
+ # Valid postal code. For USA addresses, enter either a five-digit postal code or a
721
+ # nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
722
+ # countries except the following, which do not use postal codes: ABW, AGO, ARE,
723
+ # ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
724
+ # ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
725
+ # SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
685
726
  #
686
- # @return [String]
687
- required :state, String
727
+ # @return [String, nil]
728
+ optional :postal_code, String, nil?: true
688
729
 
689
- # @!attribute address2
690
- # Unit or apartment number (if applicable).
730
+ # @!attribute state
731
+ # Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
732
+ # code for the country without the country prefix. For example, `CA` for
733
+ # California. Optional unless the address is in one of the following countries,
734
+ # where it is required:
735
+ #
736
+ # - `USA`
737
+ # - `CAN`
738
+ # - `AUS`
739
+ # - `CHN`
740
+ # - `KOR`
741
+ # - `MEX`
742
+ # - `MYS`
743
+ # - `NZL`
691
744
  #
692
745
  # @return [String, nil]
693
- optional :address2, String
746
+ optional :state, String, nil?: true
694
747
 
695
- # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
748
+ # @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
696
749
  # Some parameter documentations has been truncated, see
697
750
  # {Lithic::Models::ParsedWebhookEvent::KYCPayload::UpdateRequest::Individual::Address}
698
751
  # for more details.
699
752
  #
700
753
  # Individual's current address - PO boxes, UPS drops, and FedEx drops are not
701
- # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
754
+ # acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
755
+ # and KYC workflows.
702
756
  #
703
757
  # @param address1 [String] Valid deliverable address (no PO boxes).
704
758
  #
705
759
  # @param city [String] Name of city.
706
760
  #
707
- # @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
761
+ # @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
708
762
  #
709
- # @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
763
+ # @param address2 [String] Unit or apartment number (if applicable).
710
764
  #
711
- # @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
765
+ # @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
712
766
  #
713
- # @param address2 [String] Unit or apartment number (if applicable).
767
+ # @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
714
768
  end
715
769
  end
716
770
  end
@@ -132,7 +132,8 @@ module Lithic
132
132
 
133
133
  # @!attribute tags
134
134
  # Key-value pairs for tagging resources. Tags allow you to associate arbitrary
135
- # metadata with a resource for your own purposes.
135
+ # metadata with a resource for your own purposes. A resource can have at most 50
136
+ # tags, with keys up to 40 characters and values up to 500 characters
136
137
  #
137
138
  # @return [Hash{Symbol=>String}, nil]
138
139
  optional :tags, Lithic::Internal::Type::HashOf[String]
@@ -173,7 +173,8 @@ module Lithic
173
173
 
174
174
  # @!attribute tags
175
175
  # Key-value pairs for tagging resources. Tags allow you to associate arbitrary
176
- # metadata with a resource for your own purposes.
176
+ # metadata with a resource for your own purposes. A resource can have at most 50
177
+ # tags, with keys up to 40 characters and values up to 500 characters
177
178
  #
178
179
  # @return [Hash{Symbol=>String}]
179
180
  required :tags, Lithic::Internal::Type::HashOf[String]
@@ -29,6 +29,14 @@ module Lithic
29
29
  # @return [String]
30
30
  required :pan, String
31
31
 
32
+ # @!attribute billing_currency
33
+ # 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
34
+ # Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
35
+ # a 422. Defaults to USD
36
+ #
37
+ # @return [String, nil]
38
+ optional :billing_currency, String
39
+
32
40
  # @!attribute mcc
33
41
  # Merchant category code for the transaction to be simulated. A four-digit number
34
42
  # listed in ISO 18245. Supported merchant category codes can be found
@@ -69,8 +77,10 @@ module Lithic
69
77
  optional :merchant_amount, Integer
70
78
 
71
79
  # @!attribute merchant_currency
72
- # 3-character alphabetic ISO 4217 currency code. Note: Simulator only accepts USD,
73
- # GBP, EUR and defaults to GBP if another ISO 4217 code is provided
80
+ # 3-character alphabetic ISO 4217 currency code for the merchant amount. Only used
81
+ # when merchant_amount is set, and defaults to GBP in that case. Without
82
+ # merchant_amount, the merchant amount uses the billing currency. Permitted values
83
+ # are USD, GBP, EUR and CAD, and any other ISO 4217 code returns a 422
74
84
  #
75
85
  # @return [String, nil]
76
86
  optional :merchant_currency, String
@@ -89,6 +99,16 @@ module Lithic
89
99
  # @return [String, nil]
90
100
  optional :pin, String
91
101
 
102
+ # @!attribute settlement_currency
103
+ # 3-character alphabetic ISO 4217 currency code for the settlement amount.
104
+ # Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
105
+ # a 422. Defaults to the value of billing_currency. Only single message
106
+ # (financial) authorizations carry a settlement amount, and the value is ignored
107
+ # for dual message authorizations
108
+ #
109
+ # @return [String, nil]
110
+ optional :settlement_currency, String
111
+
92
112
  # @!attribute status
93
113
  # Type of event to simulate.
94
114
  #
@@ -110,7 +130,7 @@ module Lithic
110
130
  # @return [Symbol, Lithic::Models::TransactionSimulateAuthorizationParams::Status, nil]
111
131
  optional :status, enum: -> { Lithic::TransactionSimulateAuthorizationParams::Status }
112
132
 
113
- # @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, merchant_amount: nil, merchant_currency: nil, partial_approval_capable: nil, pin: nil, status: nil, request_options: {})
133
+ # @!method initialize(amount:, descriptor:, pan:, billing_currency: nil, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, merchant_amount: nil, merchant_currency: nil, partial_approval_capable: nil, pin: nil, settlement_currency: nil, status: nil, request_options: {})
114
134
  # Some parameter documentations has been truncated, see
115
135
  # {Lithic::Models::TransactionSimulateAuthorizationParams} for more details.
116
136
  #
@@ -120,6 +140,8 @@ module Lithic
120
140
  #
121
141
  # @param pan [String] Sixteen digit card number.
122
142
  #
143
+ # @param billing_currency [String] 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
144
+ #
123
145
  # @param mcc [String] Merchant category code for the transaction to be simulated. A four-digit number
124
146
  #
125
147
  # @param merchant_acceptor_city [String] Merchant acceptor city
@@ -132,12 +154,14 @@ module Lithic
132
154
  #
133
155
  # @param merchant_amount [Integer] Amount of the transaction to be simulated in currency specified in merchant_curr
134
156
  #
135
- # @param merchant_currency [String] 3-character alphabetic ISO 4217 currency code. Note: Simulator only accepts USD,
157
+ # @param merchant_currency [String] 3-character alphabetic ISO 4217 currency code for the merchant amount. Only used
136
158
  #
137
159
  # @param partial_approval_capable [Boolean] Set to true if the terminal is capable of partial approval otherwise false.
138
160
  #
139
161
  # @param pin [String] Simulate entering a PIN. If omitted, PIN check will not be performed.
140
162
  #
163
+ # @param settlement_currency [String] 3-character alphabetic ISO 4217 currency code for the settlement amount. Permitt
164
+ #
141
165
  # @param status [Symbol, Lithic::Models::TransactionSimulateAuthorizationParams::Status] Type of event to simulate.
142
166
  #
143
167
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
@@ -27,6 +27,14 @@ module Lithic
27
27
  # @return [String]
28
28
  required :pan, String
29
29
 
30
+ # @!attribute billing_currency
31
+ # 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
32
+ # Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
33
+ # a 422. Defaults to USD
34
+ #
35
+ # @return [String, nil]
36
+ optional :billing_currency, String
37
+
30
38
  # @!attribute mcc
31
39
  # Merchant category code for the transaction to be simulated. A four-digit number
32
40
  # listed in ISO 18245. Supported merchant category codes can be found
@@ -59,7 +67,7 @@ module Lithic
59
67
  # @return [String, nil]
60
68
  optional :merchant_acceptor_state, String
61
69
 
62
- # @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, request_options: {})
70
+ # @!method initialize(amount:, descriptor:, pan:, billing_currency: nil, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, request_options: {})
63
71
  # Some parameter documentations has been truncated, see
64
72
  # {Lithic::Models::TransactionSimulateCreditAuthorizationAdviceParams} for more
65
73
  # details.
@@ -70,6 +78,8 @@ module Lithic
70
78
  #
71
79
  # @param pan [String] Sixteen digit card number.
72
80
  #
81
+ # @param billing_currency [String] 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
82
+ #
73
83
  # @param mcc [String] Merchant category code for the transaction to be simulated. A four-digit number
74
84
  #
75
85
  # @param merchant_acceptor_city [String] Merchant acceptor city
@@ -25,13 +25,36 @@ module Lithic
25
25
  # @return [String]
26
26
  required :pan, String
27
27
 
28
- # @!method initialize(amount:, descriptor:, pan:, request_options: {})
28
+ # @!attribute billing_currency
29
+ # 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
30
+ # Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
31
+ # a 422. Defaults to USD
32
+ #
33
+ # @return [String, nil]
34
+ optional :billing_currency, String
35
+
36
+ # @!attribute settlement_currency
37
+ # 3-character alphabetic ISO 4217 currency code for the settlement amount.
38
+ # Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
39
+ # a 422. Defaults to the value of billing_currency
40
+ #
41
+ # @return [String, nil]
42
+ optional :settlement_currency, String
43
+
44
+ # @!method initialize(amount:, descriptor:, pan:, billing_currency: nil, settlement_currency: nil, request_options: {})
45
+ # Some parameter documentations has been truncated, see
46
+ # {Lithic::Models::TransactionSimulateReturnParams} for more details.
47
+ #
29
48
  # @param amount [Integer] Amount (in cents) to authorize.
30
49
  #
31
50
  # @param descriptor [String] Merchant descriptor.
32
51
  #
33
52
  # @param pan [String] Sixteen digit card number.
34
53
  #
54
+ # @param billing_currency [String] 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
55
+ #
56
+ # @param settlement_currency [String] 3-character alphabetic ISO 4217 currency code for the settlement amount. Permitt
57
+ #
35
58
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
36
59
  end
37
60
  end
@@ -22,14 +22,14 @@ module Lithic
22
22
  # `/v2/auth_rules/{auth_rule_token}/backtests/{auth_rule_backtest_token}`
23
23
  # endpoint.
24
24
  #
25
- # Lithic currently supports backtesting for `CONDITIONAL_BLOCK` /
26
- # `CONDITIONAL_ACTION` rules. Backtesting for `VELOCITY_LIMIT` rules is generally
27
- # not supported. In specific cases (i.e. where Lithic has pre-calculated the
28
- # requested velocity metrics for historical transactions), a backtest may be
29
- # feasible. However, such cases are uncommon and customers should not anticipate
30
- # support for velocity backtests under most configurations. If a historical
31
- # transaction does not feature the required inputs to evaluate the rule, then it
32
- # will not be included in the final backtest report.
25
+ # Lithic currently supports backtesting for `CONDITIONAL_ACTION` rules.
26
+ # Backtesting for `VELOCITY_LIMIT` rules is generally not supported. In specific
27
+ # cases (i.e. where Lithic has pre-calculated the requested velocity metrics for
28
+ # historical transactions), a backtest may be feasible. However, such cases are
29
+ # uncommon and customers should not anticipate support for velocity backtests
30
+ # under most configurations. If a historical transaction does not feature the
31
+ # required inputs to evaluate the rule, then it will not be included in the final
32
+ # backtest report.
33
33
  #
34
34
  # @overload create(auth_rule_token, end_: nil, start: nil, request_options: {})
35
35
  #
@@ -11,7 +11,8 @@ module Lithic
11
11
  #
12
12
  # @overload create(body:, request_options: {})
13
13
  #
14
- # @param body [Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule]
14
+ # @param body [Lithic::Models::AuthRules::V2CreateParams::Body::Rule, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule] Deprecated: Use `entities` instead. Cannot be combined with `entities`.
15
+ #
15
16
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
16
17
  #
17
18
  # @return [Lithic::Models::AuthRules::AuthRule]
@@ -47,16 +48,21 @@ module Lithic
47
48
  )
48
49
  end
49
50
 
51
+ # Some parameter documentations has been truncated, see
52
+ # {Lithic::Models::AuthRules::V2UpdateParams} for more details.
53
+ #
50
54
  # Updates a V2 Auth rule's properties
51
55
  #
52
- # If `account_tokens`, `card_tokens`, `program_level`, `excluded_card_tokens`,
53
- # `excluded_account_tokens`, or `excluded_business_account_tokens` is provided,
54
- # this will replace existing associations with the provided list of entities.
56
+ # If `entities` is provided, this will replace the rule's existing entities with
57
+ # the provided `include` and `exclude` lists. To change entities incrementally,
58
+ # use `PATCH /v2/auth_rules/{auth_rule_token}/entities` instead.
55
59
  #
56
60
  # @overload update(auth_rule_token, body:, request_options: {})
57
61
  #
58
62
  # @param auth_rule_token [String]
59
- # @param body [Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
63
+ #
64
+ # @param body [Lithic::Models::AuthRules::V2UpdateParams::Body::Rule, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule] Replaces the rule's existing entities with the provided `include` and `exclude`
65
+ #
60
66
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
61
67
  #
62
68
  # @return [Lithic::Models::AuthRules::AuthRule]
@@ -94,7 +100,7 @@ module Lithic
94
100
  #
95
101
  # @param page_size [Integer] Page size (for pagination).
96
102
  #
97
- # @param scope [Symbol, Lithic::Models::AuthRules::V2ListParams::Scope] Only return Auth Rules that are bound to the provided scope.
103
+ # @param scope [Symbol, Lithic::Models::AuthRules::V2ListParams::Scope] Only return Auth Rules that are bound to the provided scope. When no token is pr
98
104
  #
99
105
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
100
106
  #
@@ -144,7 +150,7 @@ module Lithic
144
150
  #
145
151
  # @param auth_rule_token [String]
146
152
  #
147
- # @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil] Parameters for the Auth Rule
153
+ # @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil] Parameters for the Auth Rule
148
154
  #
149
155
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
150
156
  #
@@ -256,7 +262,7 @@ module Lithic
256
262
  # - VelocityLimit Rules calculates the current Velocity Feature data. This
257
263
  # requires a `card_token` or `account_token` matching what the rule is Scoped
258
264
  # to.
259
- # - ConditionalBlock Rules calculates the CARD*TRANSACTION_COUNT*\* attributes on
265
+ # - ConditionalAction Rules calculates the CARD*TRANSACTION_COUNT*\* attributes on
260
266
  # the rule. This requires a `card_token`
261
267
  #
262
268
  # @overload retrieve_features(auth_rule_token, account_token: nil, card_token: nil, request_options: {})
@@ -320,6 +326,36 @@ module Lithic
320
326
  )
321
327
  end
322
328
 
329
+ # Adds entities to and removes entities from a V2 Auth rule's `include` and
330
+ # `exclude` lists
331
+ #
332
+ # To replace all of the rule's entities at once, provide `entities` to
333
+ # `PATCH /v2/auth_rules/{auth_rule_token}` instead.
334
+ #
335
+ # @overload update_entities(auth_rule_token, add: nil, remove: nil, request_options: {})
336
+ #
337
+ # @param auth_rule_token [String]
338
+ #
339
+ # @param add [Lithic::Models::AuthRules::AuthRuleEntities] Entities to add to the rule's `include` and `exclude` lists
340
+ #
341
+ # @param remove [Lithic::Models::AuthRules::AuthRuleEntities] Entities to remove from the rule's `include` and `exclude` lists
342
+ #
343
+ # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
344
+ #
345
+ # @return [Lithic::Models::AuthRules::AuthRule]
346
+ #
347
+ # @see Lithic::Models::AuthRules::V2UpdateEntitiesParams
348
+ def update_entities(auth_rule_token, params = {})
349
+ parsed, options = Lithic::AuthRules::V2UpdateEntitiesParams.dump_request(params)
350
+ @client.request(
351
+ method: :patch,
352
+ path: ["v2/auth_rules/%1$s/entities", auth_rule_token],
353
+ body: parsed,
354
+ model: Lithic::AuthRules::AuthRule,
355
+ options: options
356
+ )
357
+ end
358
+
323
359
  # @api private
324
360
  #
325
361
  # @param client [Lithic::Client]
@@ -15,7 +15,7 @@ module Lithic
15
15
  # Create a new virtual or physical card. Parameters `shipping_address` and
16
16
  # `product_id` only apply to physical cards.
17
17
  #
18
- # @overload create(type:, account_token: nil, bulk_order_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_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, idempotency_key: nil, request_options: {})
18
+ # @overload create(type:, account_token: nil, bulk_order_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_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, tags: nil, idempotency_key: nil, request_options: {})
19
19
  #
20
20
  # @param type [Symbol, Lithic::Models::CardCreateParams::Type] Body param: Card types:
21
21
  #
@@ -57,6 +57,8 @@ module Lithic
57
57
  #
58
58
  # @param state [Symbol, Lithic::Models::CardCreateParams::State] Body param: Card state values:
59
59
  #
60
+ # @param tags [Hash{Symbol=>String}] Body param: Key-value pairs to tag the card with. A replacement card does not in
61
+ #
60
62
  # @param idempotency_key [String] Header param: Idempotency key for the request
61
63
  #
62
64
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -105,7 +107,7 @@ module Lithic
105
107
  # _Note: setting a card to a `CLOSED` state is a final action that cannot be
106
108
  # undone._
107
109
  #
108
- # @overload update(card_token, comment: nil, digital_card_art_token: nil, memo: nil, network_program_token: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, substatus: nil, request_options: {})
110
+ # @overload update(card_token, comment: nil, digital_card_art_token: nil, memo: nil, network_program_token: nil, pin: nil, pin_status: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, substatus: nil, tags: nil, request_options: {})
109
111
  #
110
112
  # @param card_token [String]
111
113
  #
@@ -129,6 +131,8 @@ module Lithic
129
131
  #
130
132
  # @param substatus [Symbol, Lithic::Models::CardUpdateParams::Substatus] Card state substatus values:
131
133
  #
134
+ # @param tags [Hash{Symbol=>String, nil}] Key-value pairs to merge into the card's tags. Supplied keys are added or overwr
135
+ #
132
136
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
133
137
  #
134
138
  # @return [Lithic::Models::Card]