diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 0a10ecafb..c82dcaeaa 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -3ac0dc357d86c95bbba40ca9818f5eacf4d0a405 \ No newline at end of file +1263d72c2687be8ce737cfb363690b8da0a0d552 \ No newline at end of file diff --git a/stripe/events/_v2_core_account_including_configuration_card_creator_capability_status_updated_event.py b/stripe/events/_v2_core_account_including_configuration_card_creator_capability_status_updated_event.py index efe1b28a8..f9b888cb7 100644 --- a/stripe/events/_v2_core_account_including_configuration_card_creator_capability_status_updated_event.py +++ b/stripe/events/_v2_core_account_including_configuration_card_creator_capability_status_updated_event.py @@ -110,6 +110,7 @@ class V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent "commercial.stripe.prepaid_card", "consumer.celtic.revolving_credit_card", "consumer.cross_river_bank.prepaid_card", + "consumer.lead.debit_card", "consumer.lead.prepaid_card", ] """ diff --git a/stripe/params/v2/core/__init__.py b/stripe/params/v2/core/__init__.py index 7a1100355..157b6d3ea 100644 --- a/stripe/params/v2/core/__init__.py +++ b/stripe/params/v2/core/__init__.py @@ -34,6 +34,7 @@ AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank as AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank, AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard as AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard, AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLead as AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLead, + AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard as AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard, AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard as AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard, AccountCreateParamsConfigurationCustomer as AccountCreateParamsConfigurationCustomer, AccountCreateParamsConfigurationCustomerAutomaticIndirectTax as AccountCreateParamsConfigurationCustomerAutomaticIndirectTax, @@ -205,6 +206,10 @@ AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerCrossRiverBankPrepaidCardPlatform, AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder, AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLead as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLead, + AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard, + AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms, + AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures, + AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform, AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard, AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms, AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures as AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures, @@ -393,6 +398,7 @@ AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank as AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBank, AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard as AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverBankPrepaidCard, AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLead as AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLead, + AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard as AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard, AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard as AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard, AccountUpdateParamsConfigurationCustomer as AccountUpdateParamsConfigurationCustomer, AccountUpdateParamsConfigurationCustomerAutomaticIndirectTax as AccountUpdateParamsConfigurationCustomerAutomaticIndirectTax, @@ -564,6 +570,10 @@ AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerGlobalAccountHolder, AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLead as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLead, AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadApplePay, + AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard, + AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms, + AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures, + AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform, AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard, AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardBankTerms, AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures as AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCardFinancingDisclosures, @@ -806,6 +816,10 @@ "stripe.params.v2.core._account_create_params", False, ), + "AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard": ( + "stripe.params.v2.core._account_create_params", + False, + ), "AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard": ( "stripe.params.v2.core._account_create_params", False, @@ -1490,6 +1504,22 @@ "stripe.params.v2.core._account_create_params", False, ), + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard": ( + "stripe.params.v2.core._account_create_params", + False, + ), + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms": ( + "stripe.params.v2.core._account_create_params", + False, + ), + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures": ( + "stripe.params.v2.core._account_create_params", + False, + ), + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform": ( + "stripe.params.v2.core._account_create_params", + False, + ), "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard": ( "stripe.params.v2.core._account_create_params", False, @@ -2183,6 +2213,10 @@ "stripe.params.v2.core._account_update_params", False, ), + "AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard": ( + "stripe.params.v2.core._account_update_params", + False, + ), "AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard": ( "stripe.params.v2.core._account_update_params", False, @@ -2867,6 +2901,22 @@ "stripe.params.v2.core._account_update_params", False, ), + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard": ( + "stripe.params.v2.core._account_update_params", + False, + ), + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms": ( + "stripe.params.v2.core._account_update_params", + False, + ), + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures": ( + "stripe.params.v2.core._account_update_params", + False, + ), + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform": ( + "stripe.params.v2.core._account_update_params", + False, + ), "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard": ( "stripe.params.v2.core._account_update_params", False, diff --git a/stripe/params/v2/core/_account_create_params.py b/stripe/params/v2/core/_account_create_params.py index 249dff3f1..55434e858 100644 --- a/stripe/params/v2/core/_account_create_params.py +++ b/stripe/params/v2/core/_account_create_params.py @@ -372,6 +372,12 @@ class AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverB class AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLead( TypedDict, ): + debit_card: NotRequired[ + "AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard" + ] + """ + Can create consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: NotRequired[ "AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard" ] @@ -380,6 +386,15 @@ class AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLead( """ +class AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard( + TypedDict, +): + requested: bool + """ + To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + """ + + class AccountCreateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard( TypedDict, ): @@ -3337,6 +3352,12 @@ class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerGl class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLead( TypedDict, ): + debit_card: NotRequired[ + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard" + ] + """ + Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: NotRequired[ "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard" ] @@ -3345,6 +3366,80 @@ class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLe """ +class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard( + TypedDict, +): + bank_terms: NotRequired[ + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms" + ] + """ + Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + financing_disclosures: NotRequired[ + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures" + ] + """ + Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + platform: NotRequired[ + "AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform" + ] + """ + Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + + +class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms( + TypedDict, +): + date: str + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: str + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + +class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures( + TypedDict, +): + date: str + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: str + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + +class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform( + TypedDict, +): + date: str + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: str + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + class AccountCreateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard( TypedDict, ): diff --git a/stripe/params/v2/core/_account_update_params.py b/stripe/params/v2/core/_account_update_params.py index d03089dbb..73d22814a 100644 --- a/stripe/params/v2/core/_account_update_params.py +++ b/stripe/params/v2/core/_account_update_params.py @@ -378,6 +378,12 @@ class AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerCrossRiverB class AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLead( TypedDict, ): + debit_card: NotRequired[ + "AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard" + ] + """ + Can create consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: NotRequired[ "AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard" ] @@ -386,6 +392,15 @@ class AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLead( """ +class AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadDebitCard( + TypedDict, +): + requested: NotRequired[bool] + """ + To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active. + """ + + class AccountUpdateParamsConfigurationCardCreatorCapabilitiesConsumerLeadPrepaidCard( TypedDict, ): @@ -3354,6 +3369,12 @@ class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLe """ Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN sponsor. """ + debit_card: NotRequired[ + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard" + ] + """ + Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: NotRequired[ "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard" ] @@ -3379,6 +3400,80 @@ class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLe """ +class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCard( + TypedDict, +): + bank_terms: NotRequired[ + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms" + ] + """ + Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + financing_disclosures: NotRequired[ + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures" + ] + """ + Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + platform: NotRequired[ + "AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform" + ] + """ + Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + + +class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardBankTerms( + TypedDict, +): + date: NotRequired[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: NotRequired[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + +class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardFinancingDisclosures( + TypedDict, +): + date: NotRequired[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: NotRequired[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + +class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadDebitCardPlatform( + TypedDict, +): + date: NotRequired[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: NotRequired[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + user_agent: NotRequired[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + class AccountUpdateParamsIdentityAttestationsTermsOfServiceCardCreatorConsumerLeadPrepaidCard( TypedDict, ): diff --git a/stripe/v2/core/_account.py b/stripe/v2/core/_account.py index ddc3315a8..8d36de7c9 100644 --- a/stripe/v2/core/_account.py +++ b/stripe/v2/core/_account.py @@ -566,6 +566,46 @@ class StatusDetail(StripeObject): _inner_class_types = {"prepaid_card": PrepaidCard} class Lead(StripeObject): + class DebitCard(StripeObject): + class StatusDetail(StripeObject): + code: Literal[ + "determining_status", + "requirements_past_due", + "requirements_pending_verification", + "restricted_other", + "unsupported_business", + "unsupported_country", + "unsupported_entity_type", + ] + """ + Machine-readable code explaining the reason for the Capability to be in its current status. + """ + resolution: Literal[ + "contact_stripe", + "no_resolution", + "provide_info", + ] + """ + Machine-readable code explaining how to make the Capability active. + """ + + status: Literal[ + "active", + "pending", + "restricted", + "unsupported", + ] + """ + The status of the Capability. + """ + status_details: List[StatusDetail] + """ + Additional details about the capability's status. This value is empty when `status` is `active`. + """ + _inner_class_types = { + "status_details": StatusDetail, + } + class PrepaidCard(StripeObject): class StatusDetail(StripeObject): code: Literal[ @@ -606,11 +646,18 @@ class StatusDetail(StripeObject): "status_details": StatusDetail, } + debit_card: Optional[DebitCard] + """ + Can create consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: Optional[PrepaidCard] """ Can create consumer issuing prepaid cards with Lead as BIN sponsor. """ - _inner_class_types = {"prepaid_card": PrepaidCard} + _inner_class_types = { + "debit_card": DebitCard, + "prepaid_card": PrepaidCard, + } celtic: Optional[Celtic] """ @@ -4467,6 +4514,7 @@ class Deadline(StripeObject): "consumer.celtic.revolving_credit_card", "consumer.cross_river_bank.prepaid_card", "consumer.holds_currencies.usd", + "consumer.lead.debit_card", "consumer.lead.prepaid_card", "crypto_wallets", "eps_payments", @@ -5548,6 +5596,81 @@ class ApplePay(StripeObject): The user agent of the browser from which the Account's representative accepted the terms of service. """ + class DebitCard(StripeObject): + class BankTerms(StripeObject): + date: Optional[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: Optional[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + url: Optional[str] + """ + The URL to the service agreement the Account's representative accepted. + """ + user_agent: Optional[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + class FinancingDisclosures(StripeObject): + date: Optional[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: Optional[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + url: Optional[str] + """ + The URL to the service agreement the Account's representative accepted. + """ + user_agent: Optional[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + class Platform(StripeObject): + date: Optional[str] + """ + The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. + """ + ip: Optional[str] + """ + The IP address from which the Account's representative accepted the terms of service. + """ + url: Optional[str] + """ + The URL to the service agreement the Account's representative accepted. + """ + user_agent: Optional[str] + """ + The user agent of the browser from which the Account's representative accepted the terms of service. + """ + + bank_terms: Optional[BankTerms] + """ + Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + financing_disclosures: Optional[ + FinancingDisclosures + ] + """ + Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + platform: Optional[Platform] + """ + Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor. + """ + _inner_class_types = { + "bank_terms": BankTerms, + "financing_disclosures": FinancingDisclosures, + "platform": Platform, + } + class PrepaidCard(StripeObject): class BankTerms(StripeObject): date: Optional[str] @@ -5627,12 +5750,17 @@ class Platform(StripeObject): """ Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor. """ + debit_card: Optional[DebitCard] + """ + Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor. + """ prepaid_card: Optional[PrepaidCard] """ Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor. """ _inner_class_types = { "apple_pay": ApplePay, + "debit_card": DebitCard, "prepaid_card": PrepaidCard, } @@ -7112,6 +7240,7 @@ class Deadline(StripeObject): "consumer.celtic.revolving_credit_card", "consumer.cross_river_bank.prepaid_card", "consumer.holds_currencies.usd", + "consumer.lead.debit_card", "consumer.lead.prepaid_card", "crypto_wallets", "eps_payments",