stripe 20.1.0-beta.1 → 20.1.1
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.
- package/CHANGELOG.md +49 -1499
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +2 -88
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -81
- package/esm/stripe.core.js +1 -1
- package/package.json +3 -3
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -47
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -620
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +1 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +3 -3
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -18
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -179
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -297
- package/types/Checkout/SessionsResource.d.ts +59 -417
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -109
- package/types/Coupons.d.ts +3 -38
- package/types/CouponsResource.d.ts +2 -25
- package/types/CreditNoteLineItems.d.ts +3 -17
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -42
- package/types/CustomerSessionsResource.d.ts +0 -41
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -23
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -43
- package/types/DisputesResource.d.ts +1 -12
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +1 -97
- package/types/ExchangeRates.d.ts +2 -2
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +4 -37
- package/types/FinancialConnections/AccountsResource.d.ts +6 -38
- package/types/FinancialConnections/Sessions.d.ts +3 -51
- package/types/FinancialConnections/SessionsResource.d.ts +4 -41
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +8 -13
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +10 -46
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -204
- package/types/InvoicesResource.d.ts +132 -1651
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -22
- package/types/Issuing/Cards.d.ts +10 -10
- package/types/Issuing/CardsResource.d.ts +13 -13
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +12 -17
- package/types/Issuing/TransactionsResource.d.ts +1 -6
- package/types/LineItems.d.ts +4 -48
- package/types/LoginLinks.d.ts +1 -1
- package/types/Mandates.d.ts +1 -69
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +119 -135
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +48 -705
- package/types/PaymentIntentsResource.d.ts +6867 -19451
- package/types/PaymentLinks.d.ts +7 -12
- package/types/PaymentLinksResource.d.ts +28 -38
- package/types/PaymentMethodConfigurations.d.ts +4 -184
- package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -116
- package/types/PaymentMethodsResource.d.ts +7 -116
- package/types/PaymentRecords.d.ts +126 -135
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -23
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -28
- package/types/PricesResource.d.ts +10 -32
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +14 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/Quotes.d.ts +14 -602
- package/types/QuotesResource.d.ts +298 -2628
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -17
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +22 -60
- package/types/SetupIntents.d.ts +22 -157
- package/types/SetupIntentsResource.d.ts +50 -673
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -34
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -33
- package/types/SubscriptionItemsResource.d.ts +22 -131
- package/types/SubscriptionSchedules.d.ts +9 -209
- package/types/SubscriptionSchedulesResource.d.ts +39 -1257
- package/types/Subscriptions.d.ts +41 -251
- package/types/SubscriptionsResource.d.ts +94 -734
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -30
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -10
- package/types/TransfersResource.d.ts +6 -11
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -30
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
- package/types/Treasury/ReceivedCredits.d.ts +9 -35
- package/types/Treasury/ReceivedDebits.d.ts +6 -37
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Core/AccountLinks.d.ts +13 -21
- package/types/V2/Core/AccountLinksResource.d.ts +8 -16
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +129 -24
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +256 -1349
- package/types/V2/Core/AccountsResource.d.ts +282 -567
- package/types/V2/Core/EventTypes.d.ts +10 -1542
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -134
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -5505
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -690
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -5,11 +5,6 @@ declare module 'stripe' {
|
|
|
5
5
|
namespace V2 {
|
|
6
6
|
namespace Core {
|
|
7
7
|
interface AccountTokenCreateParams {
|
|
8
|
-
/**
|
|
9
|
-
* Information about the company, individual, and business represented by the Account.
|
|
10
|
-
*/
|
|
11
|
-
identity: AccountTokenCreateParams.Identity;
|
|
12
|
-
|
|
13
8
|
/**
|
|
14
9
|
* The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
|
|
15
10
|
*/
|
|
@@ -19,6 +14,11 @@ declare module 'stripe' {
|
|
|
19
14
|
* A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
|
|
20
15
|
*/
|
|
21
16
|
display_name?: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Information about the company, individual, and business represented by the Account.
|
|
20
|
+
*/
|
|
21
|
+
identity?: AccountTokenCreateParams.Identity;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
namespace AccountTokenCreateParams {
|
|
@@ -127,11 +127,6 @@ declare module 'stripe' {
|
|
|
127
127
|
* Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe.
|
|
128
128
|
*/
|
|
129
129
|
account?: TermsOfService.Account;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Details on the Account's acceptance of Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe.
|
|
133
|
-
*/
|
|
134
|
-
storer?: TermsOfService.Storer;
|
|
135
130
|
}
|
|
136
131
|
|
|
137
132
|
namespace TermsOfService {
|
|
@@ -141,13 +136,6 @@ declare module 'stripe' {
|
|
|
141
136
|
*/
|
|
142
137
|
shown_and_accepted?: boolean;
|
|
143
138
|
}
|
|
144
|
-
|
|
145
|
-
interface Storer {
|
|
146
|
-
/**
|
|
147
|
-
* The boolean value indicating if the terms of service have been accepted.
|
|
148
|
-
*/
|
|
149
|
-
shown_and_accepted?: boolean;
|
|
150
|
-
}
|
|
151
139
|
}
|
|
152
140
|
}
|
|
153
141
|
|
|
@@ -168,7 +156,7 @@ declare module 'stripe' {
|
|
|
168
156
|
documents?: BusinessDetails.Documents;
|
|
169
157
|
|
|
170
158
|
/**
|
|
171
|
-
*
|
|
159
|
+
* Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
172
160
|
*/
|
|
173
161
|
estimated_worker_count?: number;
|
|
174
162
|
|
|
@@ -213,7 +201,7 @@ declare module 'stripe' {
|
|
|
213
201
|
/**
|
|
214
202
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
215
203
|
*/
|
|
216
|
-
amount?: Amount;
|
|
204
|
+
amount?: AnnualRevenue.Amount;
|
|
217
205
|
|
|
218
206
|
/**
|
|
219
207
|
* The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -221,6 +209,20 @@ declare module 'stripe' {
|
|
|
221
209
|
fiscal_year_end?: string;
|
|
222
210
|
}
|
|
223
211
|
|
|
212
|
+
namespace AnnualRevenue {
|
|
213
|
+
interface Amount {
|
|
214
|
+
/**
|
|
215
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
216
|
+
*/
|
|
217
|
+
value?: number;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
221
|
+
*/
|
|
222
|
+
currency?: string;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
224
226
|
interface Documents {
|
|
225
227
|
/**
|
|
226
228
|
* One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
|
@@ -433,70 +435,111 @@ declare module 'stripe' {
|
|
|
433
435
|
| 'ao_nif'
|
|
434
436
|
| 'ar_cuit'
|
|
435
437
|
| 'at_fn'
|
|
438
|
+
| 'at_stn'
|
|
439
|
+
| 'at_vat'
|
|
436
440
|
| 'au_abn'
|
|
437
441
|
| 'au_acn'
|
|
438
442
|
| 'au_in'
|
|
439
443
|
| 'az_tin'
|
|
440
444
|
| 'bd_etin'
|
|
441
445
|
| 'be_cbe'
|
|
446
|
+
| 'be_vat'
|
|
442
447
|
| 'bg_uic'
|
|
448
|
+
| 'bg_vat'
|
|
443
449
|
| 'br_cnpj'
|
|
444
450
|
| 'ca_cn'
|
|
445
451
|
| 'ca_crarr'
|
|
452
|
+
| 'ca_gst_hst'
|
|
446
453
|
| 'ca_neq'
|
|
447
454
|
| 'ca_rid'
|
|
448
455
|
| 'ch_chid'
|
|
449
456
|
| 'ch_uid'
|
|
450
457
|
| 'cr_cpj'
|
|
451
458
|
| 'cr_nite'
|
|
459
|
+
| 'cy_he'
|
|
452
460
|
| 'cy_tic'
|
|
461
|
+
| 'cy_vat'
|
|
453
462
|
| 'cz_ico'
|
|
463
|
+
| 'cz_vat'
|
|
454
464
|
| 'de_hrn'
|
|
465
|
+
| 'de_stn'
|
|
455
466
|
| 'de_vat'
|
|
456
467
|
| 'dk_cvr'
|
|
468
|
+
| 'dk_vat'
|
|
457
469
|
| 'do_rcn'
|
|
458
470
|
| 'ee_rk'
|
|
471
|
+
| 'ee_vat'
|
|
459
472
|
| 'es_cif'
|
|
473
|
+
| 'es_vat'
|
|
474
|
+
| 'fi_vat'
|
|
460
475
|
| 'fi_yt'
|
|
476
|
+
| 'fr_rna'
|
|
461
477
|
| 'fr_siren'
|
|
462
478
|
| 'fr_vat'
|
|
463
479
|
| 'gb_crn'
|
|
464
480
|
| 'gi_crn'
|
|
481
|
+
| 'gr_afm'
|
|
465
482
|
| 'gr_gemi'
|
|
483
|
+
| 'gr_vat'
|
|
466
484
|
| 'gt_nit'
|
|
467
485
|
| 'hk_br'
|
|
468
486
|
| 'hk_cr'
|
|
469
|
-
| '
|
|
487
|
+
| 'hr_mbs'
|
|
488
|
+
| 'hr_oib'
|
|
489
|
+
| 'hr_vat'
|
|
470
490
|
| 'hu_cjs'
|
|
491
|
+
| 'hu_tin'
|
|
492
|
+
| 'hu_vat'
|
|
471
493
|
| 'ie_crn'
|
|
494
|
+
| 'ie_trn'
|
|
495
|
+
| 'ie_vat'
|
|
472
496
|
| 'it_rea'
|
|
473
497
|
| 'it_vat'
|
|
474
498
|
| 'jp_cn'
|
|
475
499
|
| 'kz_bin'
|
|
476
500
|
| 'li_uid'
|
|
477
501
|
| 'lt_ccrn'
|
|
502
|
+
| 'lt_vat'
|
|
503
|
+
| 'lu_nif'
|
|
478
504
|
| 'lu_rcs'
|
|
505
|
+
| 'lu_vat'
|
|
479
506
|
| 'lv_urn'
|
|
507
|
+
| 'lv_vat'
|
|
480
508
|
| 'mt_crn'
|
|
509
|
+
| 'mt_tin'
|
|
510
|
+
| 'mt_vat'
|
|
481
511
|
| 'mx_rfc'
|
|
482
512
|
| 'my_brn'
|
|
483
513
|
| 'my_coid'
|
|
514
|
+
| 'my_itn'
|
|
484
515
|
| 'my_sst'
|
|
485
516
|
| 'mz_nuit'
|
|
486
517
|
| 'nl_kvk'
|
|
518
|
+
| 'nl_rsin'
|
|
519
|
+
| 'nl_vat'
|
|
487
520
|
| 'no_orgnr'
|
|
488
521
|
| 'nz_bn'
|
|
522
|
+
| 'nz_ird'
|
|
489
523
|
| 'pe_ruc'
|
|
490
524
|
| 'pk_ntn'
|
|
525
|
+
| 'pl_nip'
|
|
491
526
|
| 'pl_regon'
|
|
527
|
+
| 'pl_vat'
|
|
492
528
|
| 'pt_vat'
|
|
493
529
|
| 'ro_cui'
|
|
530
|
+
| 'ro_orc'
|
|
531
|
+
| 'ro_vat'
|
|
494
532
|
| 'sa_crn'
|
|
495
533
|
| 'sa_tin'
|
|
496
534
|
| 'se_orgnr'
|
|
535
|
+
| 'se_vat'
|
|
497
536
|
| 'sg_uen'
|
|
498
537
|
| 'si_msp'
|
|
538
|
+
| 'si_tin'
|
|
539
|
+
| 'si_vat'
|
|
540
|
+
| 'sk_dic'
|
|
499
541
|
| 'sk_ico'
|
|
542
|
+
| 'sk_vat'
|
|
500
543
|
| 'th_crn'
|
|
501
544
|
| 'th_prn'
|
|
502
545
|
| 'th_tin'
|
|
@@ -507,7 +550,21 @@ declare module 'stripe' {
|
|
|
507
550
|
/**
|
|
508
551
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
509
552
|
*/
|
|
510
|
-
amount?: Amount;
|
|
553
|
+
amount?: MonthlyEstimatedRevenue.Amount;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
namespace MonthlyEstimatedRevenue {
|
|
557
|
+
interface Amount {
|
|
558
|
+
/**
|
|
559
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
560
|
+
*/
|
|
561
|
+
value?: number;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
565
|
+
*/
|
|
566
|
+
currency?: string;
|
|
567
|
+
}
|
|
511
568
|
}
|
|
512
569
|
|
|
513
570
|
interface ScriptAddresses {
|
|
@@ -711,7 +768,7 @@ declare module 'stripe' {
|
|
|
711
768
|
state?: string;
|
|
712
769
|
|
|
713
770
|
/**
|
|
714
|
-
* Town or
|
|
771
|
+
* Town or district.
|
|
715
772
|
*/
|
|
716
773
|
town?: string;
|
|
717
774
|
}
|
|
@@ -892,36 +949,81 @@ declare module 'stripe' {
|
|
|
892
949
|
type Type =
|
|
893
950
|
| 'ae_eid'
|
|
894
951
|
| 'ao_nif'
|
|
952
|
+
| 'ar_cuil'
|
|
895
953
|
| 'ar_dni'
|
|
954
|
+
| 'at_stn'
|
|
896
955
|
| 'az_tin'
|
|
897
956
|
| 'bd_brc'
|
|
898
957
|
| 'bd_etin'
|
|
899
958
|
| 'bd_nid'
|
|
959
|
+
| 'be_nrn'
|
|
960
|
+
| 'bg_ucn'
|
|
961
|
+
| 'bn_nric'
|
|
900
962
|
| 'br_cpf'
|
|
963
|
+
| 'ca_sin'
|
|
964
|
+
| 'ch_oasi'
|
|
965
|
+
| 'cl_rut'
|
|
966
|
+
| 'cn_pp'
|
|
967
|
+
| 'co_nuip'
|
|
968
|
+
| 'cr_ci'
|
|
901
969
|
| 'cr_cpf'
|
|
902
970
|
| 'cr_dimex'
|
|
903
971
|
| 'cr_nite'
|
|
972
|
+
| 'cy_tic'
|
|
973
|
+
| 'cz_rc'
|
|
904
974
|
| 'de_stn'
|
|
975
|
+
| 'dk_cpr'
|
|
976
|
+
| 'do_cie'
|
|
905
977
|
| 'do_rcn'
|
|
978
|
+
| 'ec_ci'
|
|
979
|
+
| 'ee_ik'
|
|
980
|
+
| 'es_nif'
|
|
981
|
+
| 'fi_hetu'
|
|
982
|
+
| 'fr_nir'
|
|
983
|
+
| 'gb_nino'
|
|
984
|
+
| 'gr_afm'
|
|
906
985
|
| 'gt_nit'
|
|
907
986
|
| 'hk_id'
|
|
987
|
+
| 'hr_oib'
|
|
988
|
+
| 'hu_ad'
|
|
989
|
+
| 'id_nik'
|
|
990
|
+
| 'ie_ppsn'
|
|
991
|
+
| 'is_kt'
|
|
992
|
+
| 'it_cf'
|
|
993
|
+
| 'jp_inc'
|
|
994
|
+
| 'ke_pin'
|
|
908
995
|
| 'kz_iin'
|
|
996
|
+
| 'li_peid'
|
|
997
|
+
| 'lt_ak'
|
|
998
|
+
| 'lu_nif'
|
|
999
|
+
| 'lv_pk'
|
|
909
1000
|
| 'mx_rfc'
|
|
910
1001
|
| 'my_nric'
|
|
911
1002
|
| 'mz_nuit'
|
|
1003
|
+
| 'ng_nin'
|
|
912
1004
|
| 'nl_bsn'
|
|
1005
|
+
| 'no_nin'
|
|
1006
|
+
| 'nz_ird'
|
|
913
1007
|
| 'pe_dni'
|
|
914
1008
|
| 'pk_cnic'
|
|
915
1009
|
| 'pk_snic'
|
|
1010
|
+
| 'pl_pesel'
|
|
1011
|
+
| 'pt_nif'
|
|
1012
|
+
| 'ro_cnp'
|
|
916
1013
|
| 'sa_tin'
|
|
1014
|
+
| 'se_pin'
|
|
917
1015
|
| 'sg_fin'
|
|
918
1016
|
| 'sg_nric'
|
|
1017
|
+
| 'sk_dic'
|
|
919
1018
|
| 'th_lc'
|
|
920
1019
|
| 'th_pin'
|
|
1020
|
+
| 'tr_tin'
|
|
921
1021
|
| 'us_itin'
|
|
922
1022
|
| 'us_itin_last_4'
|
|
923
1023
|
| 'us_ssn'
|
|
924
|
-
| 'us_ssn_last_4'
|
|
1024
|
+
| 'us_ssn_last_4'
|
|
1025
|
+
| 'uy_dni'
|
|
1026
|
+
| 'za_id';
|
|
925
1027
|
}
|
|
926
1028
|
|
|
927
1029
|
type LegalGender = 'female' | 'male';
|
|
@@ -1019,7 +1121,10 @@ declare module 'stripe' {
|
|
|
1019
1121
|
* Creates an Account Token.
|
|
1020
1122
|
*/
|
|
1021
1123
|
create(
|
|
1022
|
-
params
|
|
1124
|
+
params?: AccountTokenCreateParams,
|
|
1125
|
+
options?: RequestOptions
|
|
1126
|
+
): Promise<Stripe.Response<Stripe.V2.Core.AccountToken>>;
|
|
1127
|
+
create(
|
|
1023
1128
|
options?: RequestOptions
|
|
1024
1129
|
): Promise<Stripe.Response<Stripe.V2.Core.AccountToken>>;
|
|
1025
1130
|
|
|
@@ -137,7 +137,7 @@ declare module 'stripe' {
|
|
|
137
137
|
state?: string;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* Town or
|
|
140
|
+
* Town or district.
|
|
141
141
|
*/
|
|
142
142
|
town?: string;
|
|
143
143
|
}
|
|
@@ -334,36 +334,81 @@ declare module 'stripe' {
|
|
|
334
334
|
type Type =
|
|
335
335
|
| 'ae_eid'
|
|
336
336
|
| 'ao_nif'
|
|
337
|
+
| 'ar_cuil'
|
|
337
338
|
| 'ar_dni'
|
|
339
|
+
| 'at_stn'
|
|
338
340
|
| 'az_tin'
|
|
339
341
|
| 'bd_brc'
|
|
340
342
|
| 'bd_etin'
|
|
341
343
|
| 'bd_nid'
|
|
344
|
+
| 'be_nrn'
|
|
345
|
+
| 'bg_ucn'
|
|
346
|
+
| 'bn_nric'
|
|
342
347
|
| 'br_cpf'
|
|
348
|
+
| 'ca_sin'
|
|
349
|
+
| 'ch_oasi'
|
|
350
|
+
| 'cl_rut'
|
|
351
|
+
| 'cn_pp'
|
|
352
|
+
| 'co_nuip'
|
|
353
|
+
| 'cr_ci'
|
|
343
354
|
| 'cr_cpf'
|
|
344
355
|
| 'cr_dimex'
|
|
345
356
|
| 'cr_nite'
|
|
357
|
+
| 'cy_tic'
|
|
358
|
+
| 'cz_rc'
|
|
346
359
|
| 'de_stn'
|
|
360
|
+
| 'dk_cpr'
|
|
361
|
+
| 'do_cie'
|
|
347
362
|
| 'do_rcn'
|
|
363
|
+
| 'ec_ci'
|
|
364
|
+
| 'ee_ik'
|
|
365
|
+
| 'es_nif'
|
|
366
|
+
| 'fi_hetu'
|
|
367
|
+
| 'fr_nir'
|
|
368
|
+
| 'gb_nino'
|
|
369
|
+
| 'gr_afm'
|
|
348
370
|
| 'gt_nit'
|
|
349
371
|
| 'hk_id'
|
|
372
|
+
| 'hr_oib'
|
|
373
|
+
| 'hu_ad'
|
|
374
|
+
| 'id_nik'
|
|
375
|
+
| 'ie_ppsn'
|
|
376
|
+
| 'is_kt'
|
|
377
|
+
| 'it_cf'
|
|
378
|
+
| 'jp_inc'
|
|
379
|
+
| 'ke_pin'
|
|
350
380
|
| 'kz_iin'
|
|
381
|
+
| 'li_peid'
|
|
382
|
+
| 'lt_ak'
|
|
383
|
+
| 'lu_nif'
|
|
384
|
+
| 'lv_pk'
|
|
351
385
|
| 'mx_rfc'
|
|
352
386
|
| 'my_nric'
|
|
353
387
|
| 'mz_nuit'
|
|
388
|
+
| 'ng_nin'
|
|
354
389
|
| 'nl_bsn'
|
|
390
|
+
| 'no_nin'
|
|
391
|
+
| 'nz_ird'
|
|
355
392
|
| 'pe_dni'
|
|
356
393
|
| 'pk_cnic'
|
|
357
394
|
| 'pk_snic'
|
|
395
|
+
| 'pl_pesel'
|
|
396
|
+
| 'pt_nif'
|
|
397
|
+
| 'ro_cnp'
|
|
358
398
|
| 'sa_tin'
|
|
399
|
+
| 'se_pin'
|
|
359
400
|
| 'sg_fin'
|
|
360
401
|
| 'sg_nric'
|
|
402
|
+
| 'sk_dic'
|
|
361
403
|
| 'th_lc'
|
|
362
404
|
| 'th_pin'
|
|
405
|
+
| 'tr_tin'
|
|
363
406
|
| 'us_itin'
|
|
364
407
|
| 'us_itin_last_4'
|
|
365
408
|
| 'us_ssn'
|
|
366
|
-
| 'us_ssn_last_4'
|
|
409
|
+
| 'us_ssn_last_4'
|
|
410
|
+
| 'uy_dni'
|
|
411
|
+
| 'za_id';
|
|
367
412
|
}
|
|
368
413
|
|
|
369
414
|
type LegalGender = 'female' | 'male';
|
|
@@ -372,7 +417,7 @@ declare module 'stripe' {
|
|
|
372
417
|
|
|
373
418
|
interface Relationship {
|
|
374
419
|
/**
|
|
375
|
-
* Whether the individual is an authorizer of the Account's
|
|
420
|
+
* Whether the individual is an authorizer of the Account's identity.
|
|
376
421
|
*/
|
|
377
422
|
authorizer?: boolean;
|
|
378
423
|
|
|
@@ -140,7 +140,7 @@ declare module 'stripe' {
|
|
|
140
140
|
state?: string;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
* Town or
|
|
143
|
+
* Town or district.
|
|
144
144
|
*/
|
|
145
145
|
town?: string;
|
|
146
146
|
}
|
|
@@ -229,7 +229,7 @@ declare module 'stripe' {
|
|
|
229
229
|
state?: string;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* Town or
|
|
232
|
+
* Town or district.
|
|
233
233
|
*/
|
|
234
234
|
town?: string;
|
|
235
235
|
}
|
|
@@ -384,36 +384,81 @@ declare module 'stripe' {
|
|
|
384
384
|
type Type =
|
|
385
385
|
| 'ae_eid'
|
|
386
386
|
| 'ao_nif'
|
|
387
|
+
| 'ar_cuil'
|
|
387
388
|
| 'ar_dni'
|
|
389
|
+
| 'at_stn'
|
|
388
390
|
| 'az_tin'
|
|
389
391
|
| 'bd_brc'
|
|
390
392
|
| 'bd_etin'
|
|
391
393
|
| 'bd_nid'
|
|
394
|
+
| 'be_nrn'
|
|
395
|
+
| 'bg_ucn'
|
|
396
|
+
| 'bn_nric'
|
|
392
397
|
| 'br_cpf'
|
|
398
|
+
| 'ca_sin'
|
|
399
|
+
| 'ch_oasi'
|
|
400
|
+
| 'cl_rut'
|
|
401
|
+
| 'cn_pp'
|
|
402
|
+
| 'co_nuip'
|
|
403
|
+
| 'cr_ci'
|
|
393
404
|
| 'cr_cpf'
|
|
394
405
|
| 'cr_dimex'
|
|
395
406
|
| 'cr_nite'
|
|
407
|
+
| 'cy_tic'
|
|
408
|
+
| 'cz_rc'
|
|
396
409
|
| 'de_stn'
|
|
410
|
+
| 'dk_cpr'
|
|
411
|
+
| 'do_cie'
|
|
397
412
|
| 'do_rcn'
|
|
413
|
+
| 'ec_ci'
|
|
414
|
+
| 'ee_ik'
|
|
415
|
+
| 'es_nif'
|
|
416
|
+
| 'fi_hetu'
|
|
417
|
+
| 'fr_nir'
|
|
418
|
+
| 'gb_nino'
|
|
419
|
+
| 'gr_afm'
|
|
398
420
|
| 'gt_nit'
|
|
399
421
|
| 'hk_id'
|
|
422
|
+
| 'hr_oib'
|
|
423
|
+
| 'hu_ad'
|
|
424
|
+
| 'id_nik'
|
|
425
|
+
| 'ie_ppsn'
|
|
426
|
+
| 'is_kt'
|
|
427
|
+
| 'it_cf'
|
|
428
|
+
| 'jp_inc'
|
|
429
|
+
| 'ke_pin'
|
|
400
430
|
| 'kz_iin'
|
|
431
|
+
| 'li_peid'
|
|
432
|
+
| 'lt_ak'
|
|
433
|
+
| 'lu_nif'
|
|
434
|
+
| 'lv_pk'
|
|
401
435
|
| 'mx_rfc'
|
|
402
436
|
| 'my_nric'
|
|
403
437
|
| 'mz_nuit'
|
|
438
|
+
| 'ng_nin'
|
|
404
439
|
| 'nl_bsn'
|
|
440
|
+
| 'no_nin'
|
|
441
|
+
| 'nz_ird'
|
|
405
442
|
| 'pe_dni'
|
|
406
443
|
| 'pk_cnic'
|
|
407
444
|
| 'pk_snic'
|
|
445
|
+
| 'pl_pesel'
|
|
446
|
+
| 'pt_nif'
|
|
447
|
+
| 'ro_cnp'
|
|
408
448
|
| 'sa_tin'
|
|
449
|
+
| 'se_pin'
|
|
409
450
|
| 'sg_fin'
|
|
410
451
|
| 'sg_nric'
|
|
452
|
+
| 'sk_dic'
|
|
411
453
|
| 'th_lc'
|
|
412
454
|
| 'th_pin'
|
|
455
|
+
| 'tr_tin'
|
|
413
456
|
| 'us_itin'
|
|
414
457
|
| 'us_itin_last_4'
|
|
415
458
|
| 'us_ssn'
|
|
416
|
-
| 'us_ssn_last_4'
|
|
459
|
+
| 'us_ssn_last_4'
|
|
460
|
+
| 'uy_dni'
|
|
461
|
+
| 'za_id';
|
|
417
462
|
}
|
|
418
463
|
|
|
419
464
|
type LegalGender = 'female' | 'male';
|
|
@@ -422,7 +467,7 @@ declare module 'stripe' {
|
|
|
422
467
|
|
|
423
468
|
interface Relationship {
|
|
424
469
|
/**
|
|
425
|
-
* Whether the individual is an authorizer of the Account's
|
|
470
|
+
* Whether the individual is an authorizer of the Account's identity.
|
|
426
471
|
*/
|
|
427
472
|
authorizer?: boolean;
|
|
428
473
|
|
|
@@ -507,7 +552,7 @@ declare module 'stripe' {
|
|
|
507
552
|
state?: string;
|
|
508
553
|
|
|
509
554
|
/**
|
|
510
|
-
* Town or
|
|
555
|
+
* Town or district.
|
|
511
556
|
*/
|
|
512
557
|
town?: string;
|
|
513
558
|
}
|
|
@@ -544,7 +589,7 @@ declare module 'stripe' {
|
|
|
544
589
|
state?: string;
|
|
545
590
|
|
|
546
591
|
/**
|
|
547
|
-
* Town or
|
|
592
|
+
* Town or district.
|
|
548
593
|
*/
|
|
549
594
|
town?: string;
|
|
550
595
|
}
|
|
@@ -734,7 +779,7 @@ declare module 'stripe' {
|
|
|
734
779
|
state?: string;
|
|
735
780
|
|
|
736
781
|
/**
|
|
737
|
-
* Town or
|
|
782
|
+
* Town or district.
|
|
738
783
|
*/
|
|
739
784
|
town?: string;
|
|
740
785
|
}
|
|
@@ -941,36 +986,81 @@ declare module 'stripe' {
|
|
|
941
986
|
type Type =
|
|
942
987
|
| 'ae_eid'
|
|
943
988
|
| 'ao_nif'
|
|
989
|
+
| 'ar_cuil'
|
|
944
990
|
| 'ar_dni'
|
|
991
|
+
| 'at_stn'
|
|
945
992
|
| 'az_tin'
|
|
946
993
|
| 'bd_brc'
|
|
947
994
|
| 'bd_etin'
|
|
948
995
|
| 'bd_nid'
|
|
996
|
+
| 'be_nrn'
|
|
997
|
+
| 'bg_ucn'
|
|
998
|
+
| 'bn_nric'
|
|
949
999
|
| 'br_cpf'
|
|
1000
|
+
| 'ca_sin'
|
|
1001
|
+
| 'ch_oasi'
|
|
1002
|
+
| 'cl_rut'
|
|
1003
|
+
| 'cn_pp'
|
|
1004
|
+
| 'co_nuip'
|
|
1005
|
+
| 'cr_ci'
|
|
950
1006
|
| 'cr_cpf'
|
|
951
1007
|
| 'cr_dimex'
|
|
952
1008
|
| 'cr_nite'
|
|
1009
|
+
| 'cy_tic'
|
|
1010
|
+
| 'cz_rc'
|
|
953
1011
|
| 'de_stn'
|
|
1012
|
+
| 'dk_cpr'
|
|
1013
|
+
| 'do_cie'
|
|
954
1014
|
| 'do_rcn'
|
|
1015
|
+
| 'ec_ci'
|
|
1016
|
+
| 'ee_ik'
|
|
1017
|
+
| 'es_nif'
|
|
1018
|
+
| 'fi_hetu'
|
|
1019
|
+
| 'fr_nir'
|
|
1020
|
+
| 'gb_nino'
|
|
1021
|
+
| 'gr_afm'
|
|
955
1022
|
| 'gt_nit'
|
|
956
1023
|
| 'hk_id'
|
|
1024
|
+
| 'hr_oib'
|
|
1025
|
+
| 'hu_ad'
|
|
1026
|
+
| 'id_nik'
|
|
1027
|
+
| 'ie_ppsn'
|
|
1028
|
+
| 'is_kt'
|
|
1029
|
+
| 'it_cf'
|
|
1030
|
+
| 'jp_inc'
|
|
1031
|
+
| 'ke_pin'
|
|
957
1032
|
| 'kz_iin'
|
|
1033
|
+
| 'li_peid'
|
|
1034
|
+
| 'lt_ak'
|
|
1035
|
+
| 'lu_nif'
|
|
1036
|
+
| 'lv_pk'
|
|
958
1037
|
| 'mx_rfc'
|
|
959
1038
|
| 'my_nric'
|
|
960
1039
|
| 'mz_nuit'
|
|
1040
|
+
| 'ng_nin'
|
|
961
1041
|
| 'nl_bsn'
|
|
1042
|
+
| 'no_nin'
|
|
1043
|
+
| 'nz_ird'
|
|
962
1044
|
| 'pe_dni'
|
|
963
1045
|
| 'pk_cnic'
|
|
964
1046
|
| 'pk_snic'
|
|
1047
|
+
| 'pl_pesel'
|
|
1048
|
+
| 'pt_nif'
|
|
1049
|
+
| 'ro_cnp'
|
|
965
1050
|
| 'sa_tin'
|
|
1051
|
+
| 'se_pin'
|
|
966
1052
|
| 'sg_fin'
|
|
967
1053
|
| 'sg_nric'
|
|
1054
|
+
| 'sk_dic'
|
|
968
1055
|
| 'th_lc'
|
|
969
1056
|
| 'th_pin'
|
|
1057
|
+
| 'tr_tin'
|
|
970
1058
|
| 'us_itin'
|
|
971
1059
|
| 'us_itin_last_4'
|
|
972
1060
|
| 'us_ssn'
|
|
973
|
-
| 'us_ssn_last_4'
|
|
1061
|
+
| 'us_ssn_last_4'
|
|
1062
|
+
| 'uy_dni'
|
|
1063
|
+
| 'za_id';
|
|
974
1064
|
}
|
|
975
1065
|
|
|
976
1066
|
type LegalGender = 'female' | 'male';
|
|
@@ -979,7 +1069,7 @@ declare module 'stripe' {
|
|
|
979
1069
|
|
|
980
1070
|
interface Relationship {
|
|
981
1071
|
/**
|
|
982
|
-
* Whether the individual is an authorizer of the Account's
|
|
1072
|
+
* Whether the individual is an authorizer of the Account's identity.
|
|
983
1073
|
*/
|
|
984
1074
|
authorizer?: boolean;
|
|
985
1075
|
|
|
@@ -1093,7 +1183,7 @@ declare module 'stripe' {
|
|
|
1093
1183
|
namespace Accounts {
|
|
1094
1184
|
class PersonsResource {
|
|
1095
1185
|
/**
|
|
1096
|
-
* Create a Person
|
|
1186
|
+
* Create a Person. Adds an individual to an Account's identity. You can set relationship attributes and identity information at creation.
|
|
1097
1187
|
*/
|
|
1098
1188
|
create(
|
|
1099
1189
|
id: string,
|
|
@@ -1131,7 +1221,7 @@ declare module 'stripe' {
|
|
|
1131
1221
|
): Promise<Stripe.Response<Stripe.V2.Core.AccountPerson>>;
|
|
1132
1222
|
|
|
1133
1223
|
/**
|
|
1134
|
-
* Returns a list of Persons associated with an Account.
|
|
1224
|
+
* Returns a paginated list of Persons associated with an Account.
|
|
1135
1225
|
*/
|
|
1136
1226
|
list(
|
|
1137
1227
|
id: string,
|