lithic 0.20.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +9 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +123 -67
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/transaction.rb +4 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/blockchain_recipients.rb +23 -0
- data/lib/lithic/resources/cards.rb +10 -4
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +21 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +35 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
- data/rbi/lithic/models/payment.rbi +6 -2
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/transaction.rbi +14 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
- data/rbi/lithic/resources/cards.rbi +15 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +18 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +65 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -133,7 +133,8 @@ module Lithic
|
|
|
133
133
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
|
134
134
|
# @!attribute address
|
|
135
135
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
136
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
136
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
137
|
+
# and KYC workflows.
|
|
137
138
|
#
|
|
138
139
|
# @return [Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address, nil]
|
|
139
140
|
optional :address,
|
|
@@ -202,51 +203,68 @@ module Lithic
|
|
|
202
203
|
required :city, String
|
|
203
204
|
|
|
204
205
|
# @!attribute country
|
|
205
|
-
# Valid country code
|
|
206
|
-
#
|
|
206
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
207
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
208
|
+
# account holder.
|
|
207
209
|
#
|
|
208
210
|
# @return [String]
|
|
209
211
|
required :country, String
|
|
210
212
|
|
|
211
|
-
# @!attribute
|
|
212
|
-
#
|
|
213
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
213
|
+
# @!attribute address2
|
|
214
|
+
# Unit or apartment number (if applicable).
|
|
214
215
|
#
|
|
215
|
-
# @return [String]
|
|
216
|
-
|
|
216
|
+
# @return [String, nil]
|
|
217
|
+
optional :address2, String
|
|
217
218
|
|
|
218
|
-
# @!attribute
|
|
219
|
-
# Valid
|
|
220
|
-
#
|
|
219
|
+
# @!attribute postal_code
|
|
220
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
221
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
222
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
223
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
224
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
225
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
221
226
|
#
|
|
222
|
-
# @return [String]
|
|
223
|
-
|
|
227
|
+
# @return [String, nil]
|
|
228
|
+
optional :postal_code, String, nil?: true
|
|
224
229
|
|
|
225
|
-
# @!attribute
|
|
226
|
-
#
|
|
230
|
+
# @!attribute state
|
|
231
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
232
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
233
|
+
# California. Optional unless the address is in one of the following countries,
|
|
234
|
+
# where it is required:
|
|
235
|
+
#
|
|
236
|
+
# - `USA`
|
|
237
|
+
# - `CAN`
|
|
238
|
+
# - `AUS`
|
|
239
|
+
# - `CHN`
|
|
240
|
+
# - `KOR`
|
|
241
|
+
# - `MEX`
|
|
242
|
+
# - `MYS`
|
|
243
|
+
# - `NZL`
|
|
227
244
|
#
|
|
228
245
|
# @return [String, nil]
|
|
229
|
-
optional :
|
|
246
|
+
optional :state, String, nil?: true
|
|
230
247
|
|
|
231
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
248
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
232
249
|
# Some parameter documentations has been truncated, see
|
|
233
250
|
# {Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address}
|
|
234
251
|
# for more details.
|
|
235
252
|
#
|
|
236
253
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
237
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
254
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
255
|
+
# and KYC workflows.
|
|
238
256
|
#
|
|
239
257
|
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
240
258
|
#
|
|
241
259
|
# @param city [String] Name of city.
|
|
242
260
|
#
|
|
243
|
-
# @param country [String] Valid country code
|
|
261
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
244
262
|
#
|
|
245
|
-
# @param
|
|
263
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
246
264
|
#
|
|
247
|
-
# @param
|
|
265
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
248
266
|
#
|
|
249
|
-
# @param
|
|
267
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
250
268
|
end
|
|
251
269
|
end
|
|
252
270
|
|
|
@@ -254,7 +272,8 @@ module Lithic
|
|
|
254
272
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
|
255
273
|
# @!attribute address
|
|
256
274
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
257
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
275
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
276
|
+
# and KYC workflows.
|
|
258
277
|
#
|
|
259
278
|
# @return [Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::Address, nil]
|
|
260
279
|
optional :address,
|
|
@@ -332,51 +351,68 @@ module Lithic
|
|
|
332
351
|
required :city, String
|
|
333
352
|
|
|
334
353
|
# @!attribute country
|
|
335
|
-
# Valid country code
|
|
336
|
-
#
|
|
354
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
355
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
356
|
+
# account holder.
|
|
337
357
|
#
|
|
338
358
|
# @return [String]
|
|
339
359
|
required :country, String
|
|
340
360
|
|
|
341
|
-
# @!attribute
|
|
342
|
-
#
|
|
343
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
361
|
+
# @!attribute address2
|
|
362
|
+
# Unit or apartment number (if applicable).
|
|
344
363
|
#
|
|
345
|
-
# @return [String]
|
|
346
|
-
|
|
364
|
+
# @return [String, nil]
|
|
365
|
+
optional :address2, String
|
|
347
366
|
|
|
348
|
-
# @!attribute
|
|
349
|
-
# Valid
|
|
350
|
-
#
|
|
367
|
+
# @!attribute postal_code
|
|
368
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
369
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
370
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
371
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
372
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
373
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
351
374
|
#
|
|
352
|
-
# @return [String]
|
|
353
|
-
|
|
375
|
+
# @return [String, nil]
|
|
376
|
+
optional :postal_code, String, nil?: true
|
|
354
377
|
|
|
355
|
-
# @!attribute
|
|
356
|
-
#
|
|
378
|
+
# @!attribute state
|
|
379
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
380
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
381
|
+
# California. Optional unless the address is in one of the following countries,
|
|
382
|
+
# where it is required:
|
|
383
|
+
#
|
|
384
|
+
# - `USA`
|
|
385
|
+
# - `CAN`
|
|
386
|
+
# - `AUS`
|
|
387
|
+
# - `CHN`
|
|
388
|
+
# - `KOR`
|
|
389
|
+
# - `MEX`
|
|
390
|
+
# - `MYS`
|
|
391
|
+
# - `NZL`
|
|
357
392
|
#
|
|
358
393
|
# @return [String, nil]
|
|
359
|
-
optional :
|
|
394
|
+
optional :state, String, nil?: true
|
|
360
395
|
|
|
361
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
396
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
362
397
|
# Some parameter documentations has been truncated, see
|
|
363
398
|
# {Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::ControlPerson::Address}
|
|
364
399
|
# for more details.
|
|
365
400
|
#
|
|
366
401
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
367
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
402
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
403
|
+
# and KYC workflows.
|
|
368
404
|
#
|
|
369
405
|
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
370
406
|
#
|
|
371
407
|
# @param city [String] Name of city.
|
|
372
408
|
#
|
|
373
|
-
# @param country [String] Valid country code
|
|
409
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
374
410
|
#
|
|
375
|
-
# @param
|
|
411
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
376
412
|
#
|
|
377
|
-
# @param
|
|
413
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
378
414
|
#
|
|
379
|
-
# @param
|
|
415
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
380
416
|
end
|
|
381
417
|
end
|
|
382
418
|
end
|
|
@@ -457,7 +493,8 @@ module Lithic
|
|
|
457
493
|
class Individual < Lithic::Internal::Type::BaseModel
|
|
458
494
|
# @!attribute address
|
|
459
495
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
460
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
496
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
497
|
+
# and KYC workflows.
|
|
461
498
|
#
|
|
462
499
|
# @return [Lithic::Models::AccountHolderUpdatedWebhookEvent::KYCPayload::UpdateRequest::Individual::Address, nil]
|
|
463
500
|
optional :address,
|
|
@@ -529,51 +566,68 @@ module Lithic
|
|
|
529
566
|
required :city, String
|
|
530
567
|
|
|
531
568
|
# @!attribute country
|
|
532
|
-
# Valid country code
|
|
533
|
-
#
|
|
569
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
570
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
571
|
+
# account holder.
|
|
534
572
|
#
|
|
535
573
|
# @return [String]
|
|
536
574
|
required :country, String
|
|
537
575
|
|
|
538
|
-
# @!attribute
|
|
539
|
-
#
|
|
540
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
576
|
+
# @!attribute address2
|
|
577
|
+
# Unit or apartment number (if applicable).
|
|
541
578
|
#
|
|
542
|
-
# @return [String]
|
|
543
|
-
|
|
579
|
+
# @return [String, nil]
|
|
580
|
+
optional :address2, String
|
|
544
581
|
|
|
545
|
-
# @!attribute
|
|
546
|
-
# Valid
|
|
547
|
-
#
|
|
582
|
+
# @!attribute postal_code
|
|
583
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
584
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
585
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
586
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
587
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
588
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
548
589
|
#
|
|
549
|
-
# @return [String]
|
|
550
|
-
|
|
590
|
+
# @return [String, nil]
|
|
591
|
+
optional :postal_code, String, nil?: true
|
|
551
592
|
|
|
552
|
-
# @!attribute
|
|
553
|
-
#
|
|
593
|
+
# @!attribute state
|
|
594
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
595
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
596
|
+
# California. Optional unless the address is in one of the following countries,
|
|
597
|
+
# where it is required:
|
|
598
|
+
#
|
|
599
|
+
# - `USA`
|
|
600
|
+
# - `CAN`
|
|
601
|
+
# - `AUS`
|
|
602
|
+
# - `CHN`
|
|
603
|
+
# - `KOR`
|
|
604
|
+
# - `MEX`
|
|
605
|
+
# - `MYS`
|
|
606
|
+
# - `NZL`
|
|
554
607
|
#
|
|
555
608
|
# @return [String, nil]
|
|
556
|
-
optional :
|
|
609
|
+
optional :state, String, nil?: true
|
|
557
610
|
|
|
558
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
611
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
559
612
|
# Some parameter documentations has been truncated, see
|
|
560
613
|
# {Lithic::Models::AccountHolderUpdatedWebhookEvent::KYCPayload::UpdateRequest::Individual::Address}
|
|
561
614
|
# for more details.
|
|
562
615
|
#
|
|
563
616
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
564
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
617
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
618
|
+
# and KYC workflows.
|
|
565
619
|
#
|
|
566
620
|
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
567
621
|
#
|
|
568
622
|
# @param city [String] Name of city.
|
|
569
623
|
#
|
|
570
|
-
# @param country [String] Valid country code
|
|
624
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
571
625
|
#
|
|
572
|
-
# @param
|
|
626
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
573
627
|
#
|
|
574
|
-
# @param
|
|
628
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
575
629
|
#
|
|
576
|
-
# @param
|
|
630
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
577
631
|
end
|
|
578
632
|
end
|
|
579
633
|
end
|
|
@@ -103,33 +103,49 @@ module Lithic
|
|
|
103
103
|
required :city, String
|
|
104
104
|
|
|
105
105
|
# @!attribute country
|
|
106
|
-
# Valid country code
|
|
107
|
-
#
|
|
106
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
107
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
108
|
+
# account holder.
|
|
108
109
|
#
|
|
109
110
|
# @return [String]
|
|
110
111
|
required :country, String
|
|
111
112
|
|
|
113
|
+
# @!attribute address2
|
|
114
|
+
# Unit or apartment number (if applicable).
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :address2, String
|
|
118
|
+
|
|
112
119
|
# @!attribute postal_code
|
|
113
|
-
# Valid postal code.
|
|
114
|
-
#
|
|
120
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
121
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
122
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
123
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
124
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
125
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
115
126
|
#
|
|
116
|
-
# @return [String]
|
|
117
|
-
|
|
127
|
+
# @return [String, nil]
|
|
128
|
+
optional :postal_code, String, nil?: true
|
|
118
129
|
|
|
119
130
|
# @!attribute state
|
|
120
|
-
# Valid state
|
|
121
|
-
#
|
|
131
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
132
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
133
|
+
# California. Optional unless the address is in one of the following countries,
|
|
134
|
+
# where it is required:
|
|
122
135
|
#
|
|
123
|
-
#
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
#
|
|
127
|
-
#
|
|
136
|
+
# - `USA`
|
|
137
|
+
# - `CAN`
|
|
138
|
+
# - `AUS`
|
|
139
|
+
# - `CHN`
|
|
140
|
+
# - `KOR`
|
|
141
|
+
# - `MEX`
|
|
142
|
+
# - `MYS`
|
|
143
|
+
# - `NZL`
|
|
128
144
|
#
|
|
129
145
|
# @return [String, nil]
|
|
130
|
-
optional :
|
|
146
|
+
optional :state, String, nil?: true
|
|
131
147
|
|
|
132
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
148
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
133
149
|
# Some parameter documentations has been truncated, see
|
|
134
150
|
# {Lithic::Models::AccountHolders::AccountHolderEntity::Address} for more details.
|
|
135
151
|
#
|
|
@@ -139,13 +155,13 @@ module Lithic
|
|
|
139
155
|
#
|
|
140
156
|
# @param city [String] Name of city.
|
|
141
157
|
#
|
|
142
|
-
# @param country [String] Valid country code
|
|
158
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
143
159
|
#
|
|
144
|
-
# @param
|
|
160
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
145
161
|
#
|
|
146
|
-
# @param
|
|
162
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
147
163
|
#
|
|
148
|
-
# @param
|
|
164
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
149
165
|
end
|
|
150
166
|
|
|
151
167
|
# The status of the entity
|
|
@@ -15,7 +15,8 @@ module Lithic
|
|
|
15
15
|
|
|
16
16
|
# @!attribute address
|
|
17
17
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
18
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
18
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
19
|
+
# and KYC workflows.
|
|
19
20
|
#
|
|
20
21
|
# @return [Lithic::Models::AccountHolders::EntityCreateParams::Address]
|
|
21
22
|
required :address, -> { Lithic::AccountHolders::EntityCreateParams::Address }
|
|
@@ -104,50 +105,67 @@ module Lithic
|
|
|
104
105
|
required :city, String
|
|
105
106
|
|
|
106
107
|
# @!attribute country
|
|
107
|
-
# Valid country code
|
|
108
|
-
#
|
|
108
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
109
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
110
|
+
# account holder.
|
|
109
111
|
#
|
|
110
112
|
# @return [String]
|
|
111
113
|
required :country, String
|
|
112
114
|
|
|
115
|
+
# @!attribute address2
|
|
116
|
+
# Unit or apartment number (if applicable).
|
|
117
|
+
#
|
|
118
|
+
# @return [String, nil]
|
|
119
|
+
optional :address2, String
|
|
120
|
+
|
|
113
121
|
# @!attribute postal_code
|
|
114
|
-
# Valid postal code.
|
|
115
|
-
#
|
|
122
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
123
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
124
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
125
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
126
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
127
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
116
128
|
#
|
|
117
|
-
# @return [String]
|
|
118
|
-
|
|
129
|
+
# @return [String, nil]
|
|
130
|
+
optional :postal_code, String, nil?: true
|
|
119
131
|
|
|
120
132
|
# @!attribute state
|
|
121
|
-
# Valid state
|
|
122
|
-
#
|
|
133
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
134
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
135
|
+
# California. Optional unless the address is in one of the following countries,
|
|
136
|
+
# where it is required:
|
|
123
137
|
#
|
|
124
|
-
#
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
#
|
|
128
|
-
#
|
|
138
|
+
# - `USA`
|
|
139
|
+
# - `CAN`
|
|
140
|
+
# - `AUS`
|
|
141
|
+
# - `CHN`
|
|
142
|
+
# - `KOR`
|
|
143
|
+
# - `MEX`
|
|
144
|
+
# - `MYS`
|
|
145
|
+
# - `NZL`
|
|
129
146
|
#
|
|
130
147
|
# @return [String, nil]
|
|
131
|
-
optional :
|
|
148
|
+
optional :state, String, nil?: true
|
|
132
149
|
|
|
133
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
150
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
134
151
|
# Some parameter documentations has been truncated, see
|
|
135
152
|
# {Lithic::Models::AccountHolders::EntityCreateParams::Address} for more details.
|
|
136
153
|
#
|
|
137
154
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
138
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
155
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
156
|
+
# and KYC workflows.
|
|
139
157
|
#
|
|
140
158
|
# @param address1 [String] Valid deliverable address (no PO boxes).
|
|
141
159
|
#
|
|
142
160
|
# @param city [String] Name of city.
|
|
143
161
|
#
|
|
144
|
-
# @param country [String] Valid country code
|
|
162
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
145
163
|
#
|
|
146
|
-
# @param
|
|
164
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
147
165
|
#
|
|
148
|
-
# @param
|
|
166
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
149
167
|
#
|
|
150
|
-
# @param
|
|
168
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
151
169
|
end
|
|
152
170
|
end
|
|
153
171
|
end
|
|
@@ -17,34 +17,48 @@ module Lithic
|
|
|
17
17
|
|
|
18
18
|
# @!attribute country
|
|
19
19
|
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
20
|
-
# format.
|
|
21
|
-
#
|
|
20
|
+
# format. The KYB_DELEGATED and KYC_EXEMPT workflows support all countries except
|
|
21
|
+
# BLR, CUB, IRN, PRK, RUS, SDN, SYR, and UKR. Other workflows support USA only.
|
|
22
22
|
#
|
|
23
23
|
# @return [String]
|
|
24
24
|
required :country, String
|
|
25
25
|
|
|
26
|
+
# @!attribute address2
|
|
27
|
+
# Unit or apartment number (if applicable).
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :address2, String
|
|
31
|
+
|
|
26
32
|
# @!attribute postal_code
|
|
27
|
-
# Valid postal code. USA
|
|
28
|
-
#
|
|
29
|
-
#
|
|
33
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
34
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
35
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
36
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
37
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
38
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
30
39
|
#
|
|
31
|
-
# @return [String]
|
|
32
|
-
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :postal_code, String, nil?: true
|
|
33
42
|
|
|
34
43
|
# @!attribute state
|
|
35
|
-
# Valid state
|
|
36
|
-
#
|
|
44
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
45
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
46
|
+
# California. Optional unless the address is in one of the following countries,
|
|
47
|
+
# where it is required:
|
|
37
48
|
#
|
|
38
|
-
#
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
#
|
|
42
|
-
#
|
|
49
|
+
# - `USA`
|
|
50
|
+
# - `CAN`
|
|
51
|
+
# - `AUS`
|
|
52
|
+
# - `CHN`
|
|
53
|
+
# - `KOR`
|
|
54
|
+
# - `MEX`
|
|
55
|
+
# - `MYS`
|
|
56
|
+
# - `NZL`
|
|
43
57
|
#
|
|
44
58
|
# @return [String, nil]
|
|
45
|
-
optional :
|
|
59
|
+
optional :state, String, nil?: true
|
|
46
60
|
|
|
47
|
-
# @!method initialize(address1:, city:, country:, postal_code
|
|
61
|
+
# @!method initialize(address1:, city:, country:, address2: nil, postal_code: nil, state: nil)
|
|
48
62
|
# Some parameter documentations has been truncated, see {Lithic::Models::Address}
|
|
49
63
|
# for more details.
|
|
50
64
|
#
|
|
@@ -54,11 +68,11 @@ module Lithic
|
|
|
54
68
|
#
|
|
55
69
|
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
56
70
|
#
|
|
57
|
-
# @param
|
|
71
|
+
# @param address2 [String] Unit or apartment number (if applicable).
|
|
58
72
|
#
|
|
59
|
-
# @param
|
|
73
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
60
74
|
#
|
|
61
|
-
# @param
|
|
75
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
62
76
|
end
|
|
63
77
|
end
|
|
64
78
|
end
|
|
@@ -22,25 +22,41 @@ module Lithic
|
|
|
22
22
|
optional :city, String
|
|
23
23
|
|
|
24
24
|
# @!attribute country
|
|
25
|
-
# Valid country code
|
|
26
|
-
#
|
|
25
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
26
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
27
|
+
# account holder.
|
|
27
28
|
#
|
|
28
29
|
# @return [String, nil]
|
|
29
30
|
optional :country, String
|
|
30
31
|
|
|
31
32
|
# @!attribute postal_code
|
|
32
|
-
# Valid postal code.
|
|
33
|
-
#
|
|
33
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
34
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
35
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
36
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
37
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
38
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
34
39
|
#
|
|
35
40
|
# @return [String, nil]
|
|
36
|
-
optional :postal_code, String
|
|
41
|
+
optional :postal_code, String, nil?: true
|
|
37
42
|
|
|
38
43
|
# @!attribute state
|
|
39
|
-
# Valid state
|
|
40
|
-
#
|
|
44
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
45
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
46
|
+
# California. Optional unless the address is in one of the following countries,
|
|
47
|
+
# where it is required:
|
|
48
|
+
#
|
|
49
|
+
# - `USA`
|
|
50
|
+
# - `CAN`
|
|
51
|
+
# - `AUS`
|
|
52
|
+
# - `CHN`
|
|
53
|
+
# - `KOR`
|
|
54
|
+
# - `MEX`
|
|
55
|
+
# - `MYS`
|
|
56
|
+
# - `NZL`
|
|
41
57
|
#
|
|
42
58
|
# @return [String, nil]
|
|
43
|
-
optional :state, String
|
|
59
|
+
optional :state, String, nil?: true
|
|
44
60
|
|
|
45
61
|
# @!method initialize(address1: nil, address2: nil, city: nil, country: nil, postal_code: nil, state: nil)
|
|
46
62
|
# Some parameter documentations has been truncated, see
|
|
@@ -52,11 +68,11 @@ module Lithic
|
|
|
52
68
|
#
|
|
53
69
|
# @param city [String] Name of city.
|
|
54
70
|
#
|
|
55
|
-
# @param country [String] Valid country code
|
|
71
|
+
# @param country [String] Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character form
|
|
56
72
|
#
|
|
57
|
-
# @param postal_code [String] Valid postal code.
|
|
73
|
+
# @param postal_code [String, nil] Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
58
74
|
#
|
|
59
|
-
# @param state [String] Valid state
|
|
75
|
+
# @param state [String, nil] Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
60
76
|
end
|
|
61
77
|
end
|
|
62
78
|
end
|