stripe 22.2.0-beta.3 → 22.2.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.
- package/CHANGELOG.md +84 -1730
- package/OPENAPI_VERSION +1 -1
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -0
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
- package/cjs/platform/NodePlatformFunctions.js +17 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +13 -0
- package/cjs/platform/PlatformFunctions.js +21 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +0 -15
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -14
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +0 -15
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/Events.d.ts +2 -547
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +0 -70
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +3 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -28
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +0 -48
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +2 -31
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/index.d.ts +33 -33
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +5 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +2 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +29 -69
- package/cjs/stripe.core.js +44 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -2
- package/cjs/utils.js +1 -16
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -0
- package/esm/RequestSender.js +11 -3
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +6 -0
- package/esm/platform/NodePlatformFunctions.js +17 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +13 -0
- package/esm/platform/PlatformFunctions.js +21 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +0 -15
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -14
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +0 -15
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/Events.d.ts +2 -547
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +0 -70
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +3 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -28
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +0 -48
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +2 -31
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/index.d.ts +33 -33
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +5 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +2 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +29 -69
- package/esm/stripe.core.js +15 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -2
- package/esm/utils.js +0 -13
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StripeResource } from '../../../StripeResource.js';
|
|
2
2
|
import { V2Amount } from './../V2Amounts.js';
|
|
3
3
|
import { MetadataParam, AddressParam, Decimal, JapanAddressParam, Metadata } from '../../../shared.js';
|
|
4
|
-
import { RequestOptions,
|
|
4
|
+
import { RequestOptions, V2ListPromise, Response } from '../../../lib.js';
|
|
5
5
|
import { PersonResource } from './Accounts/Persons.js';
|
|
6
6
|
import { PersonTokenResource } from './Accounts/PersonTokens.js';
|
|
7
7
|
import { Stripe } from '../../../stripe.core.js';
|
|
@@ -14,9 +14,9 @@ export declare class AccountResource extends StripeResource {
|
|
|
14
14
|
* Returns a list of Accounts.
|
|
15
15
|
* @throws Stripe.RateLimitError
|
|
16
16
|
*/
|
|
17
|
-
list(params?: V2.Core.AccountListParams, options?: RequestOptions):
|
|
17
|
+
list(params?: V2.Core.AccountListParams, options?: RequestOptions): V2ListPromise<Account>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Create an Account that represents a company, individual, or other entity that your business interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient.
|
|
20
20
|
* @throws Stripe.RateLimitError
|
|
21
21
|
*/
|
|
22
22
|
create(params?: V2.Core.AccountCreateParams, options?: RequestOptions): Promise<Response<Account>>;
|
|
@@ -58,7 +58,7 @@ export interface Account {
|
|
|
58
58
|
*/
|
|
59
59
|
configuration?: V2.Core.Account.Configuration;
|
|
60
60
|
/**
|
|
61
|
-
* The
|
|
61
|
+
* The primary contact email address for the Account.
|
|
62
62
|
*/
|
|
63
63
|
contact_email?: string;
|
|
64
64
|
/**
|
|
@@ -105,10 +105,10 @@ export interface Account {
|
|
|
105
105
|
export declare namespace V2 {
|
|
106
106
|
namespace Core {
|
|
107
107
|
namespace Account {
|
|
108
|
-
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient'
|
|
108
|
+
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
|
|
109
109
|
interface Configuration {
|
|
110
110
|
/**
|
|
111
|
-
* The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
111
|
+
* The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
|
|
112
112
|
*/
|
|
113
113
|
customer?: Configuration.Customer;
|
|
114
114
|
/**
|
|
@@ -119,10 +119,6 @@ export declare namespace V2 {
|
|
|
119
119
|
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
120
120
|
*/
|
|
121
121
|
recipient?: Configuration.Recipient;
|
|
122
|
-
/**
|
|
123
|
-
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
124
|
-
*/
|
|
125
|
-
storer?: Configuration.Storer;
|
|
126
122
|
}
|
|
127
123
|
type Dashboard = 'express' | 'full' | 'none';
|
|
128
124
|
interface Defaults {
|
|
@@ -142,10 +138,6 @@ export declare namespace V2 {
|
|
|
142
138
|
* Default responsibilities held by either Stripe or the platform.
|
|
143
139
|
*/
|
|
144
140
|
responsibilities: Defaults.Responsibilities;
|
|
145
|
-
/**
|
|
146
|
-
* The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
147
|
-
*/
|
|
148
|
-
timezone?: string;
|
|
149
141
|
}
|
|
150
142
|
interface FutureRequirements {
|
|
151
143
|
/**
|
|
@@ -175,7 +167,7 @@ export declare namespace V2 {
|
|
|
175
167
|
*/
|
|
176
168
|
country?: string;
|
|
177
169
|
/**
|
|
178
|
-
* The entity type.
|
|
170
|
+
* The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
|
|
179
171
|
*/
|
|
180
172
|
entity_type?: Identity.EntityType;
|
|
181
173
|
/**
|
|
@@ -257,10 +249,6 @@ export declare namespace V2 {
|
|
|
257
249
|
* Settings for SEPA Direct Debit payments.
|
|
258
250
|
*/
|
|
259
251
|
sepa_debit_payments?: Merchant.SepaDebitPayments;
|
|
260
|
-
/**
|
|
261
|
-
* Settings for Smart Disputes automatic response feature.
|
|
262
|
-
*/
|
|
263
|
-
smart_disputes?: Merchant.SmartDisputes;
|
|
264
252
|
/**
|
|
265
253
|
* Statement descriptor.
|
|
266
254
|
*/
|
|
@@ -279,20 +267,6 @@ export declare namespace V2 {
|
|
|
279
267
|
* Capabilities that have been requested on the Recipient Configuration.
|
|
280
268
|
*/
|
|
281
269
|
capabilities?: Recipient.Capabilities;
|
|
282
|
-
/**
|
|
283
|
-
* The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.
|
|
284
|
-
*/
|
|
285
|
-
default_outbound_destination?: Recipient.DefaultOutboundDestination;
|
|
286
|
-
}
|
|
287
|
-
interface Storer {
|
|
288
|
-
/**
|
|
289
|
-
* Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
|
|
290
|
-
*/
|
|
291
|
-
applied: boolean;
|
|
292
|
-
/**
|
|
293
|
-
* Capabilities that have been requested on the Storer Configuration.
|
|
294
|
-
*/
|
|
295
|
-
capabilities?: Storer.Capabilities;
|
|
296
270
|
}
|
|
297
271
|
namespace Customer {
|
|
298
272
|
interface AutomaticIndirectTax {
|
|
@@ -315,7 +289,7 @@ export declare namespace V2 {
|
|
|
315
289
|
}
|
|
316
290
|
interface Billing {
|
|
317
291
|
/**
|
|
318
|
-
* ID of a PaymentMethod attached to
|
|
292
|
+
* The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
|
|
319
293
|
*/
|
|
320
294
|
default_payment_method?: string;
|
|
321
295
|
/**
|
|
@@ -703,12 +677,6 @@ export declare namespace V2 {
|
|
|
703
677
|
*/
|
|
704
678
|
creditor_id?: string;
|
|
705
679
|
}
|
|
706
|
-
interface SmartDisputes {
|
|
707
|
-
/**
|
|
708
|
-
* Settings for Smart Disputes auto_respond.
|
|
709
|
-
*/
|
|
710
|
-
auto_respond?: SmartDisputes.AutoRespond;
|
|
711
|
-
}
|
|
712
680
|
interface StatementDescriptor {
|
|
713
681
|
/**
|
|
714
682
|
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
@@ -1963,626 +1931,140 @@ export declare namespace V2 {
|
|
|
1963
1931
|
}
|
|
1964
1932
|
}
|
|
1965
1933
|
namespace CardPayments {
|
|
1966
|
-
interface DeclineOn {
|
|
1967
|
-
/**
|
|
1968
|
-
* Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
|
1969
|
-
*/
|
|
1970
|
-
avs_failure?: boolean;
|
|
1971
|
-
/**
|
|
1972
|
-
* Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
|
1973
|
-
*/
|
|
1974
|
-
cvc_failure?: boolean;
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
namespace KonbiniPayments {
|
|
1978
|
-
interface Support {
|
|
1979
|
-
/**
|
|
1980
|
-
* Support email address for Konbini payments.
|
|
1981
|
-
*/
|
|
1982
|
-
email?: string;
|
|
1983
|
-
/**
|
|
1984
|
-
* Support hours for Konbini payments.
|
|
1985
|
-
*/
|
|
1986
|
-
hours?: Support.Hours;
|
|
1987
|
-
/**
|
|
1988
|
-
* Support phone number for Konbini payments.
|
|
1989
|
-
*/
|
|
1990
|
-
phone?: string;
|
|
1991
|
-
}
|
|
1992
|
-
namespace Support {
|
|
1993
|
-
interface Hours {
|
|
1994
|
-
/**
|
|
1995
|
-
* Support hours end time (JST time of day) for in `HH:MM` format.
|
|
1996
|
-
*/
|
|
1997
|
-
end_time?: string;
|
|
1998
|
-
/**
|
|
1999
|
-
* Support hours start time (JST time of day) for in `HH:MM` format.
|
|
2000
|
-
*/
|
|
2001
|
-
start_time?: string;
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
namespace ScriptStatementDescriptor {
|
|
2006
|
-
interface Kana {
|
|
2007
|
-
/**
|
|
2008
|
-
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
2009
|
-
*/
|
|
2010
|
-
descriptor?: string;
|
|
2011
|
-
/**
|
|
2012
|
-
* Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
2013
|
-
*/
|
|
2014
|
-
prefix?: string;
|
|
2015
|
-
}
|
|
2016
|
-
interface Kanji {
|
|
2017
|
-
/**
|
|
2018
|
-
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
2019
|
-
*/
|
|
2020
|
-
descriptor?: string;
|
|
2021
|
-
/**
|
|
2022
|
-
* Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
2023
|
-
*/
|
|
2024
|
-
prefix?: string;
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
namespace SmartDisputes {
|
|
2028
|
-
interface AutoRespond {
|
|
2029
|
-
/**
|
|
2030
|
-
* The preference for automatic dispute responses.
|
|
2031
|
-
*/
|
|
2032
|
-
preference?: AutoRespond.Preference;
|
|
2033
|
-
/**
|
|
2034
|
-
* The effective value for automatic dispute responses.
|
|
2035
|
-
*/
|
|
2036
|
-
value?: AutoRespond.Value;
|
|
2037
|
-
}
|
|
2038
|
-
namespace AutoRespond {
|
|
2039
|
-
type Preference = 'inherit' | 'off' | 'on';
|
|
2040
|
-
type Value = 'off' | 'on';
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
namespace Support {
|
|
2044
|
-
interface Address {
|
|
2045
|
-
/**
|
|
2046
|
-
* City, district, suburb, town, or village.
|
|
2047
|
-
*/
|
|
2048
|
-
city?: string;
|
|
2049
|
-
/**
|
|
2050
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2051
|
-
*/
|
|
2052
|
-
country?: string;
|
|
2053
|
-
/**
|
|
2054
|
-
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2055
|
-
*/
|
|
2056
|
-
line1?: string;
|
|
2057
|
-
/**
|
|
2058
|
-
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2059
|
-
*/
|
|
2060
|
-
line2?: string;
|
|
2061
|
-
/**
|
|
2062
|
-
* ZIP or postal code.
|
|
2063
|
-
*/
|
|
2064
|
-
postal_code?: string;
|
|
2065
|
-
/**
|
|
2066
|
-
* State, county, province, or region.
|
|
2067
|
-
*/
|
|
2068
|
-
state?: string;
|
|
2069
|
-
/**
|
|
2070
|
-
* Town or district.
|
|
2071
|
-
*/
|
|
2072
|
-
town?: string;
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
namespace Recipient {
|
|
2077
|
-
interface Capabilities {
|
|
2078
|
-
/**
|
|
2079
|
-
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
2080
|
-
*/
|
|
2081
|
-
bank_accounts?: Capabilities.BankAccounts;
|
|
2082
|
-
/**
|
|
2083
|
-
* Enables this Account to receive OutboundPayments to a linked debit card.
|
|
2084
|
-
*/
|
|
2085
|
-
cards?: Capabilities.Cards;
|
|
2086
|
-
/**
|
|
2087
|
-
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2088
|
-
*/
|
|
2089
|
-
stripe_balance?: Capabilities.StripeBalance;
|
|
2090
|
-
}
|
|
2091
|
-
interface DefaultOutboundDestination {
|
|
2092
|
-
/**
|
|
2093
|
-
* The payout method ID of the default outbound destination.
|
|
2094
|
-
*/
|
|
2095
|
-
id: string;
|
|
2096
|
-
/**
|
|
2097
|
-
* Closed Enum. The payout method type of the default outbound destination.
|
|
2098
|
-
*/
|
|
2099
|
-
type: DefaultOutboundDestination.Type;
|
|
2100
|
-
}
|
|
2101
|
-
namespace Capabilities {
|
|
2102
|
-
interface BankAccounts {
|
|
2103
|
-
/**
|
|
2104
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
2105
|
-
*/
|
|
2106
|
-
local?: BankAccounts.Local;
|
|
2107
|
-
/**
|
|
2108
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
2109
|
-
*/
|
|
2110
|
-
wire?: BankAccounts.Wire;
|
|
2111
|
-
}
|
|
2112
|
-
interface Cards {
|
|
2113
|
-
/**
|
|
2114
|
-
* The status of the Capability.
|
|
2115
|
-
*/
|
|
2116
|
-
status: Cards.Status;
|
|
2117
|
-
/**
|
|
2118
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2119
|
-
*/
|
|
2120
|
-
status_details: Array<Cards.StatusDetail>;
|
|
2121
|
-
}
|
|
2122
|
-
interface StripeBalance {
|
|
2123
|
-
/**
|
|
2124
|
-
* Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
|
|
2125
|
-
*/
|
|
2126
|
-
payouts?: StripeBalance.Payouts;
|
|
2127
|
-
/**
|
|
2128
|
-
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
2129
|
-
*/
|
|
2130
|
-
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
2131
|
-
}
|
|
2132
|
-
namespace BankAccounts {
|
|
2133
|
-
interface Local {
|
|
2134
|
-
/**
|
|
2135
|
-
* The status of the Capability.
|
|
2136
|
-
*/
|
|
2137
|
-
status: Local.Status;
|
|
2138
|
-
/**
|
|
2139
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2140
|
-
*/
|
|
2141
|
-
status_details: Array<Local.StatusDetail>;
|
|
2142
|
-
}
|
|
2143
|
-
interface Wire {
|
|
2144
|
-
/**
|
|
2145
|
-
* The status of the Capability.
|
|
2146
|
-
*/
|
|
2147
|
-
status: Wire.Status;
|
|
2148
|
-
/**
|
|
2149
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2150
|
-
*/
|
|
2151
|
-
status_details: Array<Wire.StatusDetail>;
|
|
2152
|
-
}
|
|
2153
|
-
namespace Local {
|
|
2154
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2155
|
-
interface StatusDetail {
|
|
2156
|
-
/**
|
|
2157
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2158
|
-
*/
|
|
2159
|
-
code: StatusDetail.Code;
|
|
2160
|
-
/**
|
|
2161
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2162
|
-
*/
|
|
2163
|
-
resolution: StatusDetail.Resolution;
|
|
2164
|
-
}
|
|
2165
|
-
namespace StatusDetail {
|
|
2166
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2167
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
namespace Wire {
|
|
2171
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2172
|
-
interface StatusDetail {
|
|
2173
|
-
/**
|
|
2174
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2175
|
-
*/
|
|
2176
|
-
code: StatusDetail.Code;
|
|
2177
|
-
/**
|
|
2178
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2179
|
-
*/
|
|
2180
|
-
resolution: StatusDetail.Resolution;
|
|
2181
|
-
}
|
|
2182
|
-
namespace StatusDetail {
|
|
2183
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2184
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
namespace Cards {
|
|
2189
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2190
|
-
interface StatusDetail {
|
|
2191
|
-
/**
|
|
2192
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2193
|
-
*/
|
|
2194
|
-
code: StatusDetail.Code;
|
|
2195
|
-
/**
|
|
2196
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2197
|
-
*/
|
|
2198
|
-
resolution: StatusDetail.Resolution;
|
|
2199
|
-
}
|
|
2200
|
-
namespace StatusDetail {
|
|
2201
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2202
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2203
|
-
}
|
|
2204
|
-
}
|
|
2205
|
-
namespace StripeBalance {
|
|
2206
|
-
interface Payouts {
|
|
2207
|
-
/**
|
|
2208
|
-
* The status of the Capability.
|
|
2209
|
-
*/
|
|
2210
|
-
status: Payouts.Status;
|
|
2211
|
-
/**
|
|
2212
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2213
|
-
*/
|
|
2214
|
-
status_details: Array<Payouts.StatusDetail>;
|
|
2215
|
-
}
|
|
2216
|
-
interface StripeTransfers {
|
|
2217
|
-
/**
|
|
2218
|
-
* The status of the Capability.
|
|
2219
|
-
*/
|
|
2220
|
-
status: StripeTransfers.Status;
|
|
2221
|
-
/**
|
|
2222
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2223
|
-
*/
|
|
2224
|
-
status_details: Array<StripeTransfers.StatusDetail>;
|
|
2225
|
-
}
|
|
2226
|
-
namespace Payouts {
|
|
2227
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2228
|
-
interface StatusDetail {
|
|
2229
|
-
/**
|
|
2230
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2231
|
-
*/
|
|
2232
|
-
code: StatusDetail.Code;
|
|
2233
|
-
/**
|
|
2234
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2235
|
-
*/
|
|
2236
|
-
resolution: StatusDetail.Resolution;
|
|
2237
|
-
}
|
|
2238
|
-
namespace StatusDetail {
|
|
2239
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2240
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2241
|
-
}
|
|
2242
|
-
}
|
|
2243
|
-
namespace StripeTransfers {
|
|
2244
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2245
|
-
interface StatusDetail {
|
|
2246
|
-
/**
|
|
2247
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2248
|
-
*/
|
|
2249
|
-
code: StatusDetail.Code;
|
|
2250
|
-
/**
|
|
2251
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2252
|
-
*/
|
|
2253
|
-
resolution: StatusDetail.Resolution;
|
|
2254
|
-
}
|
|
2255
|
-
namespace StatusDetail {
|
|
2256
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2257
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
namespace DefaultOutboundDestination {
|
|
2263
|
-
type Type = 'ae_bank_account' | 'ag_bank_account' | 'al_bank_account' | 'am_bank_account' | 'ar_bank_account' | 'at_bank_account' | 'au_bank_account' | 'ba_bank_account' | 'be_bank_account' | 'bg_bank_account' | 'bh_bank_account' | 'bj_bank_account' | 'bn_bank_account' | 'bs_bank_account' | 'bt_bank_account' | 'bw_bank_account' | 'card' | 'ca_bank_account' | 'ch_bank_account' | 'ci_bank_account' | 'cn_bank_account' | 'co_bank_account' | 'crypto_wallet' | 'cr_bank_account' | 'cy_bank_account' | 'cz_bank_account' | 'de_bank_account' | 'dk_bank_account' | 'do_bank_account' | 'dz_bank_account' | 'ec_bank_account' | 'ee_bank_account' | 'eg_bank_account' | 'es_bank_account' | 'et_bank_account' | 'fi_bank_account' | 'fr_bank_account' | 'gb_bank_account' | 'gm_bank_account' | 'gr_bank_account' | 'gt_bank_account' | 'gy_bank_account' | 'hk_bank_account' | 'hr_bank_account' | 'hu_bank_account' | 'id_bank_account' | 'ie_bank_account' | 'il_bank_account' | 'in_bank_account' | 'is_bank_account' | 'it_bank_account' | 'jm_bank_account' | 'jo_bank_account' | 'jp_bank_account' | 'ke_bank_account' | 'kh_bank_account' | 'kw_bank_account' | 'lc_bank_account' | 'li_bank_account' | 'lk_bank_account' | 'lt_bank_account' | 'lu_bank_account' | 'lv_bank_account' | 'ma_bank_account' | 'mc_bank_account' | 'md_bank_account' | 'mg_bank_account' | 'mk_bank_account' | 'mn_bank_account' | 'mo_bank_account' | 'mt_bank_account' | 'mu_bank_account' | 'mx_bank_account' | 'my_bank_account' | 'mz_bank_account' | 'na_bank_account' | 'nl_bank_account' | 'no_bank_account' | 'nz_bank_account' | 'om_bank_account' | 'pa_bank_account' | 'pe_bank_account' | 'ph_bank_account' | 'pk_bank_account' | 'pl_bank_account' | 'pt_bank_account' | 'qa_bank_account' | 'ro_bank_account' | 'rs_bank_account' | 'rw_bank_account' | 'se_bank_account' | 'sg_bank_account' | 'si_bank_account' | 'sk_bank_account' | 'sn_bank_account' | 'sv_bank_account' | 'th_bank_account' | 'tn_bank_account' | 'tr_bank_account' | 'tt_bank_account' | 'tw_bank_account' | 'tz_bank_account' | 'us_bank_account' | 'uz_bank_account' | 'vn_bank_account' | 'za_bank_account';
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
namespace Storer {
|
|
2267
|
-
interface Capabilities {
|
|
2268
|
-
/**
|
|
2269
|
-
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
2270
|
-
*/
|
|
2271
|
-
financial_addresses?: Capabilities.FinancialAddresses;
|
|
2272
|
-
/**
|
|
2273
|
-
* Can hold storage-type funds on Stripe.
|
|
2274
|
-
*/
|
|
2275
|
-
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
2276
|
-
/**
|
|
2277
|
-
* Hash containing capabilities related to InboundTransfers.
|
|
2278
|
-
*/
|
|
2279
|
-
inbound_transfers?: Capabilities.InboundTransfers;
|
|
2280
|
-
/**
|
|
2281
|
-
* Hash containing capabilities related to [OutboundPayments](https://docs.stripe.com/api/treasury/outbound_payments?api-version=preview).
|
|
2282
|
-
*/
|
|
2283
|
-
outbound_payments?: Capabilities.OutboundPayments;
|
|
2284
|
-
/**
|
|
2285
|
-
* Hash containing capabilities related to [OutboundTransfers](https://docs.stripe.com/api/treasury/outbound_transfers?api-version=preview).
|
|
2286
|
-
*/
|
|
2287
|
-
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
2288
|
-
}
|
|
2289
|
-
namespace Capabilities {
|
|
2290
|
-
interface FinancialAddresses {
|
|
2291
|
-
/**
|
|
2292
|
-
* Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
2293
|
-
*/
|
|
2294
|
-
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
2295
|
-
}
|
|
2296
|
-
interface HoldsCurrencies {
|
|
2297
|
-
/**
|
|
2298
|
-
* Can hold storage-type funds on Stripe in EUR.
|
|
2299
|
-
*/
|
|
2300
|
-
eur?: HoldsCurrencies.Eur;
|
|
2301
|
-
/**
|
|
2302
|
-
* Can hold storage-type funds on Stripe in GBP.
|
|
2303
|
-
*/
|
|
2304
|
-
gbp?: HoldsCurrencies.Gbp;
|
|
2305
|
-
/**
|
|
2306
|
-
* Can hold storage-type funds on Stripe in USD.
|
|
2307
|
-
*/
|
|
2308
|
-
usd?: HoldsCurrencies.Usd;
|
|
2309
|
-
}
|
|
2310
|
-
interface InboundTransfers {
|
|
2311
|
-
/**
|
|
2312
|
-
* Can pull funds into a FinancialAccount from an external bank account owned by the user.
|
|
2313
|
-
*/
|
|
2314
|
-
bank_accounts?: InboundTransfers.BankAccounts;
|
|
2315
|
-
}
|
|
2316
|
-
interface OutboundPayments {
|
|
2317
|
-
/**
|
|
2318
|
-
* Can send funds from a FinancialAccount to a bank account owned by a different entity.
|
|
2319
|
-
*/
|
|
2320
|
-
bank_accounts?: OutboundPayments.BankAccounts;
|
|
2321
|
-
/**
|
|
2322
|
-
* Can send funds from a FinancialAccount to a debit card owned by a different entity.
|
|
2323
|
-
*/
|
|
2324
|
-
cards?: OutboundPayments.Cards;
|
|
2325
|
-
/**
|
|
2326
|
-
* Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
|
|
2327
|
-
*/
|
|
2328
|
-
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
2329
|
-
}
|
|
2330
|
-
interface OutboundTransfers {
|
|
2331
|
-
/**
|
|
2332
|
-
* Can send funds from a FinancialAccount to a bank account belonging to the same user.
|
|
2333
|
-
*/
|
|
2334
|
-
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
2335
|
-
/**
|
|
2336
|
-
* Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
|
|
2337
|
-
*/
|
|
2338
|
-
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
2339
|
-
}
|
|
2340
|
-
namespace FinancialAddresses {
|
|
2341
|
-
interface BankAccounts {
|
|
2342
|
-
/**
|
|
2343
|
-
* The status of the Capability.
|
|
2344
|
-
*/
|
|
2345
|
-
status: BankAccounts.Status;
|
|
2346
|
-
/**
|
|
2347
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2348
|
-
*/
|
|
2349
|
-
status_details: Array<BankAccounts.StatusDetail>;
|
|
2350
|
-
}
|
|
2351
|
-
namespace BankAccounts {
|
|
2352
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2353
|
-
interface StatusDetail {
|
|
2354
|
-
/**
|
|
2355
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2356
|
-
*/
|
|
2357
|
-
code: StatusDetail.Code;
|
|
2358
|
-
/**
|
|
2359
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2360
|
-
*/
|
|
2361
|
-
resolution: StatusDetail.Resolution;
|
|
2362
|
-
}
|
|
2363
|
-
namespace StatusDetail {
|
|
2364
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2365
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
namespace HoldsCurrencies {
|
|
2370
|
-
interface Eur {
|
|
2371
|
-
/**
|
|
2372
|
-
* The status of the Capability.
|
|
2373
|
-
*/
|
|
2374
|
-
status: Eur.Status;
|
|
2375
|
-
/**
|
|
2376
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2377
|
-
*/
|
|
2378
|
-
status_details: Array<Eur.StatusDetail>;
|
|
2379
|
-
}
|
|
2380
|
-
interface Gbp {
|
|
2381
|
-
/**
|
|
2382
|
-
* The status of the Capability.
|
|
2383
|
-
*/
|
|
2384
|
-
status: Gbp.Status;
|
|
2385
|
-
/**
|
|
2386
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2387
|
-
*/
|
|
2388
|
-
status_details: Array<Gbp.StatusDetail>;
|
|
2389
|
-
}
|
|
2390
|
-
interface Usd {
|
|
2391
|
-
/**
|
|
2392
|
-
* The status of the Capability.
|
|
2393
|
-
*/
|
|
2394
|
-
status: Usd.Status;
|
|
2395
|
-
/**
|
|
2396
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2397
|
-
*/
|
|
2398
|
-
status_details: Array<Usd.StatusDetail>;
|
|
2399
|
-
}
|
|
2400
|
-
namespace Eur {
|
|
2401
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2402
|
-
interface StatusDetail {
|
|
2403
|
-
/**
|
|
2404
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2405
|
-
*/
|
|
2406
|
-
code: StatusDetail.Code;
|
|
2407
|
-
/**
|
|
2408
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2409
|
-
*/
|
|
2410
|
-
resolution: StatusDetail.Resolution;
|
|
2411
|
-
}
|
|
2412
|
-
namespace StatusDetail {
|
|
2413
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2414
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
namespace Gbp {
|
|
2418
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2419
|
-
interface StatusDetail {
|
|
2420
|
-
/**
|
|
2421
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2422
|
-
*/
|
|
2423
|
-
code: StatusDetail.Code;
|
|
2424
|
-
/**
|
|
2425
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2426
|
-
*/
|
|
2427
|
-
resolution: StatusDetail.Resolution;
|
|
2428
|
-
}
|
|
2429
|
-
namespace StatusDetail {
|
|
2430
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2431
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2432
|
-
}
|
|
2433
|
-
}
|
|
2434
|
-
namespace Usd {
|
|
2435
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2436
|
-
interface StatusDetail {
|
|
2437
|
-
/**
|
|
2438
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2439
|
-
*/
|
|
2440
|
-
code: StatusDetail.Code;
|
|
2441
|
-
/**
|
|
2442
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2443
|
-
*/
|
|
2444
|
-
resolution: StatusDetail.Resolution;
|
|
2445
|
-
}
|
|
2446
|
-
namespace StatusDetail {
|
|
2447
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2448
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
}
|
|
2452
|
-
namespace InboundTransfers {
|
|
2453
|
-
interface BankAccounts {
|
|
2454
|
-
/**
|
|
2455
|
-
* The status of the Capability.
|
|
2456
|
-
*/
|
|
2457
|
-
status: BankAccounts.Status;
|
|
2458
|
-
/**
|
|
2459
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2460
|
-
*/
|
|
2461
|
-
status_details: Array<BankAccounts.StatusDetail>;
|
|
2462
|
-
}
|
|
2463
|
-
namespace BankAccounts {
|
|
2464
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2465
|
-
interface StatusDetail {
|
|
2466
|
-
/**
|
|
2467
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2468
|
-
*/
|
|
2469
|
-
code: StatusDetail.Code;
|
|
2470
|
-
/**
|
|
2471
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2472
|
-
*/
|
|
2473
|
-
resolution: StatusDetail.Resolution;
|
|
2474
|
-
}
|
|
2475
|
-
namespace StatusDetail {
|
|
2476
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2477
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
namespace OutboundPayments {
|
|
2482
|
-
interface BankAccounts {
|
|
2483
|
-
/**
|
|
2484
|
-
* The status of the Capability.
|
|
2485
|
-
*/
|
|
2486
|
-
status: BankAccounts.Status;
|
|
2487
|
-
/**
|
|
2488
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2489
|
-
*/
|
|
2490
|
-
status_details: Array<BankAccounts.StatusDetail>;
|
|
2491
|
-
}
|
|
2492
|
-
interface Cards {
|
|
2493
|
-
/**
|
|
2494
|
-
* The status of the Capability.
|
|
2495
|
-
*/
|
|
2496
|
-
status: Cards.Status;
|
|
2497
|
-
/**
|
|
2498
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2499
|
-
*/
|
|
2500
|
-
status_details: Array<Cards.StatusDetail>;
|
|
2501
|
-
}
|
|
2502
|
-
interface FinancialAccounts {
|
|
2503
|
-
/**
|
|
2504
|
-
* The status of the Capability.
|
|
2505
|
-
*/
|
|
2506
|
-
status: FinancialAccounts.Status;
|
|
2507
|
-
/**
|
|
2508
|
-
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2509
|
-
*/
|
|
2510
|
-
status_details: Array<FinancialAccounts.StatusDetail>;
|
|
2511
|
-
}
|
|
2512
|
-
namespace BankAccounts {
|
|
2513
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2514
|
-
interface StatusDetail {
|
|
2515
|
-
/**
|
|
2516
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2517
|
-
*/
|
|
2518
|
-
code: StatusDetail.Code;
|
|
2519
|
-
/**
|
|
2520
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2521
|
-
*/
|
|
2522
|
-
resolution: StatusDetail.Resolution;
|
|
2523
|
-
}
|
|
2524
|
-
namespace StatusDetail {
|
|
2525
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2526
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2527
|
-
}
|
|
2528
|
-
}
|
|
2529
|
-
namespace Cards {
|
|
2530
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2531
|
-
interface StatusDetail {
|
|
2532
|
-
/**
|
|
2533
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2534
|
-
*/
|
|
2535
|
-
code: StatusDetail.Code;
|
|
2536
|
-
/**
|
|
2537
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2538
|
-
*/
|
|
2539
|
-
resolution: StatusDetail.Resolution;
|
|
2540
|
-
}
|
|
2541
|
-
namespace StatusDetail {
|
|
2542
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2543
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2546
|
-
namespace FinancialAccounts {
|
|
2547
|
-
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2548
|
-
interface StatusDetail {
|
|
2549
|
-
/**
|
|
2550
|
-
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2551
|
-
*/
|
|
2552
|
-
code: StatusDetail.Code;
|
|
2553
|
-
/**
|
|
2554
|
-
* Machine-readable code explaining how to make the Capability active.
|
|
2555
|
-
*/
|
|
2556
|
-
resolution: StatusDetail.Resolution;
|
|
2557
|
-
}
|
|
2558
|
-
namespace StatusDetail {
|
|
2559
|
-
type Code = 'determining_status' | 'requirements_past_due' | 'requirements_pending_verification' | 'restricted_other' | 'unsupported_business' | 'unsupported_country' | 'unsupported_entity_type';
|
|
2560
|
-
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2561
|
-
}
|
|
1934
|
+
interface DeclineOn {
|
|
1935
|
+
/**
|
|
1936
|
+
* Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
|
|
1937
|
+
*/
|
|
1938
|
+
avs_failure?: boolean;
|
|
1939
|
+
/**
|
|
1940
|
+
* Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
|
|
1941
|
+
*/
|
|
1942
|
+
cvc_failure?: boolean;
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
namespace KonbiniPayments {
|
|
1946
|
+
interface Support {
|
|
1947
|
+
/**
|
|
1948
|
+
* Support email address for Konbini payments.
|
|
1949
|
+
*/
|
|
1950
|
+
email?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Support hours for Konbini payments.
|
|
1953
|
+
*/
|
|
1954
|
+
hours?: Support.Hours;
|
|
1955
|
+
/**
|
|
1956
|
+
* Support phone number for Konbini payments.
|
|
1957
|
+
*/
|
|
1958
|
+
phone?: string;
|
|
1959
|
+
}
|
|
1960
|
+
namespace Support {
|
|
1961
|
+
interface Hours {
|
|
1962
|
+
/**
|
|
1963
|
+
* Support hours end time (JST time of day) for in `HH:MM` format.
|
|
1964
|
+
*/
|
|
1965
|
+
end_time?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* Support hours start time (JST time of day) for in `HH:MM` format.
|
|
1968
|
+
*/
|
|
1969
|
+
start_time?: string;
|
|
2562
1970
|
}
|
|
2563
1971
|
}
|
|
2564
|
-
|
|
2565
|
-
|
|
1972
|
+
}
|
|
1973
|
+
namespace ScriptStatementDescriptor {
|
|
1974
|
+
interface Kana {
|
|
1975
|
+
/**
|
|
1976
|
+
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
1977
|
+
*/
|
|
1978
|
+
descriptor?: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
1981
|
+
*/
|
|
1982
|
+
prefix?: string;
|
|
1983
|
+
}
|
|
1984
|
+
interface Kanji {
|
|
1985
|
+
/**
|
|
1986
|
+
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
1987
|
+
*/
|
|
1988
|
+
descriptor?: string;
|
|
1989
|
+
/**
|
|
1990
|
+
* Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don't specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
1991
|
+
*/
|
|
1992
|
+
prefix?: string;
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
namespace Support {
|
|
1996
|
+
interface Address {
|
|
1997
|
+
/**
|
|
1998
|
+
* City, district, suburb, town, or village.
|
|
1999
|
+
*/
|
|
2000
|
+
city?: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2003
|
+
*/
|
|
2004
|
+
country?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2007
|
+
*/
|
|
2008
|
+
line1?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2011
|
+
*/
|
|
2012
|
+
line2?: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* ZIP or postal code.
|
|
2015
|
+
*/
|
|
2016
|
+
postal_code?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* State, county, province, or region.
|
|
2019
|
+
*/
|
|
2020
|
+
state?: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* Town or district.
|
|
2023
|
+
*/
|
|
2024
|
+
town?: string;
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
namespace Recipient {
|
|
2029
|
+
interface Capabilities {
|
|
2030
|
+
/**
|
|
2031
|
+
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2032
|
+
*/
|
|
2033
|
+
stripe_balance?: Capabilities.StripeBalance;
|
|
2034
|
+
}
|
|
2035
|
+
namespace Capabilities {
|
|
2036
|
+
interface StripeBalance {
|
|
2037
|
+
/**
|
|
2038
|
+
* Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
|
|
2039
|
+
*/
|
|
2040
|
+
payouts?: StripeBalance.Payouts;
|
|
2041
|
+
/**
|
|
2042
|
+
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
2043
|
+
*/
|
|
2044
|
+
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
2045
|
+
}
|
|
2046
|
+
namespace StripeBalance {
|
|
2047
|
+
interface Payouts {
|
|
2566
2048
|
/**
|
|
2567
2049
|
* The status of the Capability.
|
|
2568
2050
|
*/
|
|
2569
|
-
status:
|
|
2051
|
+
status: Payouts.Status;
|
|
2570
2052
|
/**
|
|
2571
2053
|
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2572
2054
|
*/
|
|
2573
|
-
status_details: Array<
|
|
2055
|
+
status_details: Array<Payouts.StatusDetail>;
|
|
2574
2056
|
}
|
|
2575
|
-
interface
|
|
2057
|
+
interface StripeTransfers {
|
|
2576
2058
|
/**
|
|
2577
2059
|
* The status of the Capability.
|
|
2578
2060
|
*/
|
|
2579
|
-
status:
|
|
2061
|
+
status: StripeTransfers.Status;
|
|
2580
2062
|
/**
|
|
2581
2063
|
* Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2582
2064
|
*/
|
|
2583
|
-
status_details: Array<
|
|
2065
|
+
status_details: Array<StripeTransfers.StatusDetail>;
|
|
2584
2066
|
}
|
|
2585
|
-
namespace
|
|
2067
|
+
namespace Payouts {
|
|
2586
2068
|
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2587
2069
|
interface StatusDetail {
|
|
2588
2070
|
/**
|
|
@@ -2599,7 +2081,7 @@ export declare namespace V2 {
|
|
|
2599
2081
|
type Resolution = 'contact_stripe' | 'no_resolution' | 'provide_info';
|
|
2600
2082
|
}
|
|
2601
2083
|
}
|
|
2602
|
-
namespace
|
|
2084
|
+
namespace StripeTransfers {
|
|
2603
2085
|
type Status = 'active' | 'pending' | 'restricted' | 'unsupported';
|
|
2604
2086
|
interface StatusDetail {
|
|
2605
2087
|
/**
|
|
@@ -2757,8 +2239,8 @@ export declare namespace V2 {
|
|
|
2757
2239
|
deadline: RestrictsCapability.Deadline;
|
|
2758
2240
|
}
|
|
2759
2241
|
namespace RestrictsCapability {
|
|
2760
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | '
|
|
2761
|
-
type Configuration = 'customer' | 'merchant' | 'recipient'
|
|
2242
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'ideal_payments' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
2243
|
+
type Configuration = 'customer' | 'merchant' | 'recipient';
|
|
2762
2244
|
interface Deadline {
|
|
2763
2245
|
/**
|
|
2764
2246
|
* The current status of the requirement's impact.
|
|
@@ -2904,7 +2386,7 @@ export declare namespace V2 {
|
|
|
2904
2386
|
*/
|
|
2905
2387
|
documents?: Individual.Documents;
|
|
2906
2388
|
/**
|
|
2907
|
-
* The individual's email address.
|
|
2389
|
+
* The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
2908
2390
|
*/
|
|
2909
2391
|
email?: string;
|
|
2910
2392
|
/**
|
|
@@ -3030,10 +2512,6 @@ export declare namespace V2 {
|
|
|
3030
2512
|
* Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
3031
2513
|
*/
|
|
3032
2514
|
account?: TermsOfService.Account;
|
|
3033
|
-
/**
|
|
3034
|
-
* Details on the Account's acceptance of Treasury-specific terms of service.
|
|
3035
|
-
*/
|
|
3036
|
-
storer?: TermsOfService.Storer;
|
|
3037
2515
|
}
|
|
3038
2516
|
namespace PersonsProvided {
|
|
3039
2517
|
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
@@ -3053,20 +2531,6 @@ export declare namespace V2 {
|
|
|
3053
2531
|
*/
|
|
3054
2532
|
user_agent?: string;
|
|
3055
2533
|
}
|
|
3056
|
-
interface Storer {
|
|
3057
|
-
/**
|
|
3058
|
-
* 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.
|
|
3059
|
-
*/
|
|
3060
|
-
date?: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* The IP address from which the Account's representative accepted the terms of service.
|
|
3063
|
-
*/
|
|
3064
|
-
ip?: string;
|
|
3065
|
-
/**
|
|
3066
|
-
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3067
|
-
*/
|
|
3068
|
-
user_agent?: string;
|
|
3069
|
-
}
|
|
3070
2534
|
}
|
|
3071
2535
|
}
|
|
3072
2536
|
namespace BusinessDetails {
|
|
@@ -3289,6 +2753,10 @@ export declare namespace V2 {
|
|
|
3289
2753
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
3290
2754
|
*/
|
|
3291
2755
|
files: Array<string>;
|
|
2756
|
+
/**
|
|
2757
|
+
* Person that is signing the document.
|
|
2758
|
+
*/
|
|
2759
|
+
signer?: ProofOfRegistration.Signer;
|
|
3292
2760
|
/**
|
|
3293
2761
|
* The format of the document. Currently supports `files` only.
|
|
3294
2762
|
*/
|
|
@@ -3299,6 +2767,10 @@ export declare namespace V2 {
|
|
|
3299
2767
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
3300
2768
|
*/
|
|
3301
2769
|
files: Array<string>;
|
|
2770
|
+
/**
|
|
2771
|
+
* Person that is signing the document.
|
|
2772
|
+
*/
|
|
2773
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
3302
2774
|
/**
|
|
3303
2775
|
* The format of the document. Currently supports `files` only.
|
|
3304
2776
|
*/
|
|
@@ -3316,6 +2788,22 @@ export declare namespace V2 {
|
|
|
3316
2788
|
front: string;
|
|
3317
2789
|
}
|
|
3318
2790
|
}
|
|
2791
|
+
namespace ProofOfRegistration {
|
|
2792
|
+
interface Signer {
|
|
2793
|
+
/**
|
|
2794
|
+
* Person signing the document.
|
|
2795
|
+
*/
|
|
2796
|
+
person: string;
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2799
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
2800
|
+
interface Signer {
|
|
2801
|
+
/**
|
|
2802
|
+
* Person signing the document.
|
|
2803
|
+
*/
|
|
2804
|
+
person: string;
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
3319
2807
|
}
|
|
3320
2808
|
namespace IdNumber {
|
|
3321
2809
|
type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
|
|
@@ -3869,8 +3357,8 @@ export declare namespace V2 {
|
|
|
3869
3357
|
deadline: RestrictsCapability.Deadline;
|
|
3870
3358
|
}
|
|
3871
3359
|
namespace RestrictsCapability {
|
|
3872
|
-
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | '
|
|
3873
|
-
type Configuration = 'customer' | 'merchant' | 'recipient'
|
|
3360
|
+
type Capability = 'ach_debit_payments' | 'acss_debit_payments' | 'affirm_payments' | 'afterpay_clearpay_payments' | 'alma_payments' | 'amazon_pay_payments' | 'automatic_indirect_tax' | 'au_becs_debit_payments' | 'bacs_debit_payments' | 'bancontact_payments' | 'bank_accounts.local' | 'bank_accounts.wire' | 'blik_payments' | 'boleto_payments' | 'cards' | 'card_payments' | 'cartes_bancaires_payments' | 'cashapp_payments' | 'eps_payments' | 'fpx_payments' | 'gb_bank_transfer_payments' | 'grabpay_payments' | 'ideal_payments' | 'jcb_payments' | 'jp_bank_transfer_payments' | 'kakao_pay_payments' | 'klarna_payments' | 'konbini_payments' | 'kr_card_payments' | 'link_payments' | 'mobilepay_payments' | 'multibanco_payments' | 'mx_bank_transfer_payments' | 'naver_pay_payments' | 'oxxo_payments' | 'p24_payments' | 'payco_payments' | 'paynow_payments' | 'pay_by_bank_payments' | 'promptpay_payments' | 'revolut_pay_payments' | 'samsung_pay_payments' | 'sepa_bank_transfer_payments' | 'sepa_debit_payments' | 'stripe_balance.payouts' | 'stripe_balance.stripe_transfers' | 'swish_payments' | 'twint_payments' | 'us_bank_transfer_payments' | 'zip_payments';
|
|
3361
|
+
type Configuration = 'customer' | 'merchant' | 'recipient';
|
|
3874
3362
|
interface Deadline {
|
|
3875
3363
|
/**
|
|
3876
3364
|
* The current status of the requirement's impact.
|
|
@@ -3923,7 +3411,7 @@ export declare namespace V2 {
|
|
|
3923
3411
|
*/
|
|
3924
3412
|
configuration?: AccountCreateParams.Configuration;
|
|
3925
3413
|
/**
|
|
3926
|
-
* The
|
|
3414
|
+
* The primary contact email address for the Account.
|
|
3927
3415
|
*/
|
|
3928
3416
|
contact_email?: string;
|
|
3929
3417
|
/**
|
|
@@ -3958,7 +3446,7 @@ export declare namespace V2 {
|
|
|
3958
3446
|
namespace AccountCreateParams {
|
|
3959
3447
|
interface Configuration {
|
|
3960
3448
|
/**
|
|
3961
|
-
* The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
3449
|
+
* The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
|
|
3962
3450
|
*/
|
|
3963
3451
|
customer?: Configuration.Customer;
|
|
3964
3452
|
/**
|
|
@@ -3969,10 +3457,6 @@ export declare namespace V2 {
|
|
|
3969
3457
|
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
3970
3458
|
*/
|
|
3971
3459
|
recipient?: Configuration.Recipient;
|
|
3972
|
-
/**
|
|
3973
|
-
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
3974
|
-
*/
|
|
3975
|
-
storer?: Configuration.Storer;
|
|
3976
3460
|
}
|
|
3977
3461
|
type Dashboard = 'express' | 'full' | 'none';
|
|
3978
3462
|
interface Defaults {
|
|
@@ -3992,10 +3476,6 @@ export declare namespace V2 {
|
|
|
3992
3476
|
* Default responsibilities held by either Stripe or the platform.
|
|
3993
3477
|
*/
|
|
3994
3478
|
responsibilities?: Defaults.Responsibilities;
|
|
3995
|
-
/**
|
|
3996
|
-
* The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
3997
|
-
*/
|
|
3998
|
-
timezone?: string;
|
|
3999
3479
|
}
|
|
4000
3480
|
interface Identity {
|
|
4001
3481
|
/**
|
|
@@ -4011,7 +3491,7 @@ export declare namespace V2 {
|
|
|
4011
3491
|
*/
|
|
4012
3492
|
country?: string;
|
|
4013
3493
|
/**
|
|
4014
|
-
* The entity type.
|
|
3494
|
+
* The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
|
|
4015
3495
|
*/
|
|
4016
3496
|
entity_type?: Identity.EntityType;
|
|
4017
3497
|
/**
|
|
@@ -4019,7 +3499,7 @@ export declare namespace V2 {
|
|
|
4019
3499
|
*/
|
|
4020
3500
|
individual?: Identity.Individual;
|
|
4021
3501
|
}
|
|
4022
|
-
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | '
|
|
3502
|
+
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
|
|
4023
3503
|
namespace Configuration {
|
|
4024
3504
|
interface Customer {
|
|
4025
3505
|
/**
|
|
@@ -4072,10 +3552,6 @@ export declare namespace V2 {
|
|
|
4072
3552
|
* Settings for the default text that appears on statements for language variations.
|
|
4073
3553
|
*/
|
|
4074
3554
|
script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
|
|
4075
|
-
/**
|
|
4076
|
-
* Settings used for Smart Disputes.
|
|
4077
|
-
*/
|
|
4078
|
-
smart_disputes?: Merchant.SmartDisputes;
|
|
4079
3555
|
/**
|
|
4080
3556
|
* Statement descriptor.
|
|
4081
3557
|
*/
|
|
@@ -4091,12 +3567,6 @@ export declare namespace V2 {
|
|
|
4091
3567
|
*/
|
|
4092
3568
|
capabilities?: Recipient.Capabilities;
|
|
4093
3569
|
}
|
|
4094
|
-
interface Storer {
|
|
4095
|
-
/**
|
|
4096
|
-
* Capabilities to request on the Storer Configuration.
|
|
4097
|
-
*/
|
|
4098
|
-
capabilities?: Storer.Capabilities;
|
|
4099
|
-
}
|
|
4100
3570
|
namespace Customer {
|
|
4101
3571
|
interface AutomaticIndirectTax {
|
|
4102
3572
|
/**
|
|
@@ -4107,10 +3577,6 @@ export declare namespace V2 {
|
|
|
4107
3577
|
* A recent IP address of the customer used for tax reporting and tax location inference.
|
|
4108
3578
|
*/
|
|
4109
3579
|
ip_address?: string;
|
|
4110
|
-
/**
|
|
4111
|
-
* The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.
|
|
4112
|
-
*/
|
|
4113
|
-
location_source?: AutomaticIndirectTax.LocationSource;
|
|
4114
3580
|
}
|
|
4115
3581
|
interface Billing {
|
|
4116
3582
|
/**
|
|
@@ -4140,7 +3606,6 @@ export declare namespace V2 {
|
|
|
4140
3606
|
}
|
|
4141
3607
|
namespace AutomaticIndirectTax {
|
|
4142
3608
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
4143
|
-
type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
|
|
4144
3609
|
}
|
|
4145
3610
|
namespace Billing {
|
|
4146
3611
|
interface Invoice {
|
|
@@ -4425,12 +3890,6 @@ export declare namespace V2 {
|
|
|
4425
3890
|
*/
|
|
4426
3891
|
kanji?: ScriptStatementDescriptor.Kanji;
|
|
4427
3892
|
}
|
|
4428
|
-
interface SmartDisputes {
|
|
4429
|
-
/**
|
|
4430
|
-
* Settings for Smart Disputes auto_respond.
|
|
4431
|
-
*/
|
|
4432
|
-
auto_respond?: SmartDisputes.AutoRespond;
|
|
4433
|
-
}
|
|
4434
3893
|
interface StatementDescriptor {
|
|
4435
3894
|
/**
|
|
4436
3895
|
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
@@ -4787,17 +4246,6 @@ export declare namespace V2 {
|
|
|
4787
4246
|
prefix?: string;
|
|
4788
4247
|
}
|
|
4789
4248
|
}
|
|
4790
|
-
namespace SmartDisputes {
|
|
4791
|
-
interface AutoRespond {
|
|
4792
|
-
/**
|
|
4793
|
-
* The preference for Smart Disputes auto-respond.
|
|
4794
|
-
*/
|
|
4795
|
-
preference?: AutoRespond.Preference;
|
|
4796
|
-
}
|
|
4797
|
-
namespace AutoRespond {
|
|
4798
|
-
type Preference = 'inherit' | 'off' | 'on';
|
|
4799
|
-
}
|
|
4800
|
-
}
|
|
4801
4249
|
namespace Support {
|
|
4802
4250
|
interface Address {
|
|
4803
4251
|
/**
|
|
@@ -4829,208 +4277,24 @@ export declare namespace V2 {
|
|
|
4829
4277
|
*/
|
|
4830
4278
|
town?: string;
|
|
4831
4279
|
}
|
|
4832
|
-
}
|
|
4833
|
-
}
|
|
4834
|
-
namespace Recipient {
|
|
4835
|
-
interface Capabilities {
|
|
4836
|
-
/**
|
|
4837
|
-
* Capabilities that enable
|
|
4838
|
-
*/
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
cards?: Capabilities.Cards;
|
|
4844
|
-
/**
|
|
4845
|
-
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
4846
|
-
*/
|
|
4847
|
-
stripe_balance?: Capabilities.StripeBalance;
|
|
4848
|
-
}
|
|
4849
|
-
namespace Capabilities {
|
|
4850
|
-
interface BankAccounts {
|
|
4851
|
-
/**
|
|
4852
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
4853
|
-
*/
|
|
4854
|
-
local?: BankAccounts.Local;
|
|
4855
|
-
/**
|
|
4856
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
4857
|
-
*/
|
|
4858
|
-
wire?: BankAccounts.Wire;
|
|
4859
|
-
}
|
|
4860
|
-
interface Cards {
|
|
4861
|
-
/**
|
|
4862
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4863
|
-
*/
|
|
4864
|
-
requested: boolean;
|
|
4865
|
-
}
|
|
4866
|
-
interface StripeBalance {
|
|
4867
|
-
/**
|
|
4868
|
-
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
4869
|
-
*/
|
|
4870
|
-
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
4871
|
-
}
|
|
4872
|
-
namespace BankAccounts {
|
|
4873
|
-
interface Local {
|
|
4874
|
-
/**
|
|
4875
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4876
|
-
*/
|
|
4877
|
-
requested: boolean;
|
|
4878
|
-
}
|
|
4879
|
-
interface Wire {
|
|
4880
|
-
/**
|
|
4881
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4882
|
-
*/
|
|
4883
|
-
requested: boolean;
|
|
4884
|
-
}
|
|
4885
|
-
}
|
|
4886
|
-
namespace StripeBalance {
|
|
4887
|
-
interface StripeTransfers {
|
|
4888
|
-
/**
|
|
4889
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4890
|
-
*/
|
|
4891
|
-
requested: boolean;
|
|
4892
|
-
}
|
|
4893
|
-
}
|
|
4894
|
-
}
|
|
4895
|
-
}
|
|
4896
|
-
namespace Storer {
|
|
4897
|
-
interface Capabilities {
|
|
4898
|
-
/**
|
|
4899
|
-
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
4900
|
-
*/
|
|
4901
|
-
financial_addresses?: Capabilities.FinancialAddresses;
|
|
4902
|
-
/**
|
|
4903
|
-
* Can hold storage-type funds on Stripe.
|
|
4904
|
-
*/
|
|
4905
|
-
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
4906
|
-
/**
|
|
4907
|
-
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
4908
|
-
*/
|
|
4909
|
-
inbound_transfers?: Capabilities.InboundTransfers;
|
|
4910
|
-
/**
|
|
4911
|
-
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
4912
|
-
*/
|
|
4913
|
-
outbound_payments?: Capabilities.OutboundPayments;
|
|
4914
|
-
/**
|
|
4915
|
-
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
4916
|
-
*/
|
|
4917
|
-
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
4918
|
-
}
|
|
4919
|
-
namespace Capabilities {
|
|
4920
|
-
interface FinancialAddresses {
|
|
4921
|
-
/**
|
|
4922
|
-
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
4923
|
-
*/
|
|
4924
|
-
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
4925
|
-
}
|
|
4926
|
-
interface HoldsCurrencies {
|
|
4927
|
-
/**
|
|
4928
|
-
* Can hold storage-type funds on Stripe in EUR.
|
|
4929
|
-
*/
|
|
4930
|
-
eur?: HoldsCurrencies.Eur;
|
|
4931
|
-
/**
|
|
4932
|
-
* Can hold storage-type funds on Stripe in GBP.
|
|
4933
|
-
*/
|
|
4934
|
-
gbp?: HoldsCurrencies.Gbp;
|
|
4935
|
-
/**
|
|
4936
|
-
* Can hold storage-type funds on Stripe in USD.
|
|
4937
|
-
*/
|
|
4938
|
-
usd?: HoldsCurrencies.Usd;
|
|
4939
|
-
}
|
|
4940
|
-
interface InboundTransfers {
|
|
4941
|
-
/**
|
|
4942
|
-
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
4943
|
-
*/
|
|
4944
|
-
bank_accounts?: InboundTransfers.BankAccounts;
|
|
4945
|
-
}
|
|
4946
|
-
interface OutboundPayments {
|
|
4947
|
-
/**
|
|
4948
|
-
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
4949
|
-
*/
|
|
4950
|
-
bank_accounts?: OutboundPayments.BankAccounts;
|
|
4951
|
-
/**
|
|
4952
|
-
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
4953
|
-
*/
|
|
4954
|
-
cards?: OutboundPayments.Cards;
|
|
4955
|
-
/**
|
|
4956
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
4957
|
-
*/
|
|
4958
|
-
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
4959
|
-
}
|
|
4960
|
-
interface OutboundTransfers {
|
|
4961
|
-
/**
|
|
4962
|
-
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
4963
|
-
*/
|
|
4964
|
-
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
4280
|
+
}
|
|
4281
|
+
}
|
|
4282
|
+
namespace Recipient {
|
|
4283
|
+
interface Capabilities {
|
|
4284
|
+
/**
|
|
4285
|
+
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
4286
|
+
*/
|
|
4287
|
+
stripe_balance?: Capabilities.StripeBalance;
|
|
4288
|
+
}
|
|
4289
|
+
namespace Capabilities {
|
|
4290
|
+
interface StripeBalance {
|
|
4965
4291
|
/**
|
|
4966
|
-
*
|
|
4292
|
+
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
4967
4293
|
*/
|
|
4968
|
-
|
|
4969
|
-
}
|
|
4970
|
-
namespace FinancialAddresses {
|
|
4971
|
-
interface BankAccounts {
|
|
4972
|
-
/**
|
|
4973
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4974
|
-
*/
|
|
4975
|
-
requested: boolean;
|
|
4976
|
-
}
|
|
4977
|
-
}
|
|
4978
|
-
namespace HoldsCurrencies {
|
|
4979
|
-
interface Eur {
|
|
4980
|
-
/**
|
|
4981
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4982
|
-
*/
|
|
4983
|
-
requested: boolean;
|
|
4984
|
-
}
|
|
4985
|
-
interface Gbp {
|
|
4986
|
-
/**
|
|
4987
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4988
|
-
*/
|
|
4989
|
-
requested: boolean;
|
|
4990
|
-
}
|
|
4991
|
-
interface Usd {
|
|
4992
|
-
/**
|
|
4993
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4994
|
-
*/
|
|
4995
|
-
requested: boolean;
|
|
4996
|
-
}
|
|
4997
|
-
}
|
|
4998
|
-
namespace InboundTransfers {
|
|
4999
|
-
interface BankAccounts {
|
|
5000
|
-
/**
|
|
5001
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5002
|
-
*/
|
|
5003
|
-
requested: boolean;
|
|
5004
|
-
}
|
|
5005
|
-
}
|
|
5006
|
-
namespace OutboundPayments {
|
|
5007
|
-
interface BankAccounts {
|
|
5008
|
-
/**
|
|
5009
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5010
|
-
*/
|
|
5011
|
-
requested: boolean;
|
|
5012
|
-
}
|
|
5013
|
-
interface Cards {
|
|
5014
|
-
/**
|
|
5015
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5016
|
-
*/
|
|
5017
|
-
requested: boolean;
|
|
5018
|
-
}
|
|
5019
|
-
interface FinancialAccounts {
|
|
5020
|
-
/**
|
|
5021
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5022
|
-
*/
|
|
5023
|
-
requested: boolean;
|
|
5024
|
-
}
|
|
4294
|
+
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
5025
4295
|
}
|
|
5026
|
-
namespace
|
|
5027
|
-
interface
|
|
5028
|
-
/**
|
|
5029
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5030
|
-
*/
|
|
5031
|
-
requested: boolean;
|
|
5032
|
-
}
|
|
5033
|
-
interface FinancialAccounts {
|
|
4296
|
+
namespace StripeBalance {
|
|
4297
|
+
interface StripeTransfers {
|
|
5034
4298
|
/**
|
|
5035
4299
|
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
5036
4300
|
*/
|
|
@@ -5167,7 +4431,7 @@ export declare namespace V2 {
|
|
|
5167
4431
|
*/
|
|
5168
4432
|
documents?: Individual.Documents;
|
|
5169
4433
|
/**
|
|
5170
|
-
* The individual's email address.
|
|
4434
|
+
* The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
5171
4435
|
*/
|
|
5172
4436
|
email?: string;
|
|
5173
4437
|
/**
|
|
@@ -5281,10 +4545,6 @@ export declare namespace V2 {
|
|
|
5281
4545
|
* Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
5282
4546
|
*/
|
|
5283
4547
|
account?: TermsOfService.Account;
|
|
5284
|
-
/**
|
|
5285
|
-
* Details on the Account's acceptance of Treasury-specific terms of service.
|
|
5286
|
-
*/
|
|
5287
|
-
storer?: TermsOfService.Storer;
|
|
5288
4548
|
}
|
|
5289
4549
|
namespace PersonsProvided {
|
|
5290
4550
|
type OwnershipExemptionReason = 'qualified_entity_exceeds_ownership_threshold' | 'qualifies_as_financial_institution';
|
|
@@ -5304,20 +4564,6 @@ export declare namespace V2 {
|
|
|
5304
4564
|
*/
|
|
5305
4565
|
user_agent?: string;
|
|
5306
4566
|
}
|
|
5307
|
-
interface Storer {
|
|
5308
|
-
/**
|
|
5309
|
-
* 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.
|
|
5310
|
-
*/
|
|
5311
|
-
date: string;
|
|
5312
|
-
/**
|
|
5313
|
-
* The IP address from which the Account's representative accepted the terms of service.
|
|
5314
|
-
*/
|
|
5315
|
-
ip: string;
|
|
5316
|
-
/**
|
|
5317
|
-
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5318
|
-
*/
|
|
5319
|
-
user_agent?: string;
|
|
5320
|
-
}
|
|
5321
4567
|
}
|
|
5322
4568
|
}
|
|
5323
4569
|
namespace BusinessDetails {
|
|
@@ -5544,6 +4790,10 @@ export declare namespace V2 {
|
|
|
5544
4790
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
5545
4791
|
*/
|
|
5546
4792
|
files: Array<string>;
|
|
4793
|
+
/**
|
|
4794
|
+
* Person that is signing the document.
|
|
4795
|
+
*/
|
|
4796
|
+
signer?: ProofOfRegistration.Signer;
|
|
5547
4797
|
/**
|
|
5548
4798
|
* The format of the document. Currently supports `files` only.
|
|
5549
4799
|
*/
|
|
@@ -5554,6 +4804,10 @@ export declare namespace V2 {
|
|
|
5554
4804
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
5555
4805
|
*/
|
|
5556
4806
|
files: Array<string>;
|
|
4807
|
+
/**
|
|
4808
|
+
* Person that is signing the document.
|
|
4809
|
+
*/
|
|
4810
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
5557
4811
|
/**
|
|
5558
4812
|
* The format of the document. Currently supports `files` only.
|
|
5559
4813
|
*/
|
|
@@ -5571,6 +4825,22 @@ export declare namespace V2 {
|
|
|
5571
4825
|
front: string;
|
|
5572
4826
|
}
|
|
5573
4827
|
}
|
|
4828
|
+
namespace ProofOfRegistration {
|
|
4829
|
+
interface Signer {
|
|
4830
|
+
/**
|
|
4831
|
+
* Person signing the document.
|
|
4832
|
+
*/
|
|
4833
|
+
person: string;
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
4837
|
+
interface Signer {
|
|
4838
|
+
/**
|
|
4839
|
+
* Person signing the document.
|
|
4840
|
+
*/
|
|
4841
|
+
person: string;
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
5574
4844
|
}
|
|
5575
4845
|
namespace IdNumber {
|
|
5576
4846
|
type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
|
|
@@ -6005,7 +5275,7 @@ export declare namespace V2 {
|
|
|
6005
5275
|
include?: Array<AccountRetrieveParams.Include>;
|
|
6006
5276
|
}
|
|
6007
5277
|
namespace AccountRetrieveParams {
|
|
6008
|
-
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | '
|
|
5278
|
+
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
|
|
6009
5279
|
}
|
|
6010
5280
|
}
|
|
6011
5281
|
}
|
|
@@ -6021,7 +5291,7 @@ export declare namespace V2 {
|
|
|
6021
5291
|
*/
|
|
6022
5292
|
configuration?: AccountUpdateParams.Configuration;
|
|
6023
5293
|
/**
|
|
6024
|
-
* The
|
|
5294
|
+
* The primary contact email address for the Account.
|
|
6025
5295
|
*/
|
|
6026
5296
|
contact_email?: string;
|
|
6027
5297
|
/**
|
|
@@ -6067,10 +5337,6 @@ export declare namespace V2 {
|
|
|
6067
5337
|
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
6068
5338
|
*/
|
|
6069
5339
|
recipient?: Configuration.Recipient;
|
|
6070
|
-
/**
|
|
6071
|
-
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
6072
|
-
*/
|
|
6073
|
-
storer?: Configuration.Storer;
|
|
6074
5340
|
}
|
|
6075
5341
|
type Dashboard = 'express' | 'full' | 'none';
|
|
6076
5342
|
interface Defaults {
|
|
@@ -6090,10 +5356,6 @@ export declare namespace V2 {
|
|
|
6090
5356
|
* Default responsibilities held by either Stripe or the platform.
|
|
6091
5357
|
*/
|
|
6092
5358
|
responsibilities?: Defaults.Responsibilities;
|
|
6093
|
-
/**
|
|
6094
|
-
* The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
6095
|
-
*/
|
|
6096
|
-
timezone?: string;
|
|
6097
5359
|
}
|
|
6098
5360
|
interface Identity {
|
|
6099
5361
|
/**
|
|
@@ -6109,7 +5371,7 @@ export declare namespace V2 {
|
|
|
6109
5371
|
*/
|
|
6110
5372
|
country?: string;
|
|
6111
5373
|
/**
|
|
6112
|
-
* The entity type.
|
|
5374
|
+
* The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
|
|
6113
5375
|
*/
|
|
6114
5376
|
entity_type?: Identity.EntityType;
|
|
6115
5377
|
/**
|
|
@@ -6117,7 +5379,7 @@ export declare namespace V2 {
|
|
|
6117
5379
|
*/
|
|
6118
5380
|
individual?: Identity.Individual;
|
|
6119
5381
|
}
|
|
6120
|
-
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | '
|
|
5382
|
+
type Include = 'configuration.customer' | 'configuration.merchant' | 'configuration.recipient' | 'defaults' | 'future_requirements' | 'identity' | 'requirements';
|
|
6121
5383
|
namespace Configuration {
|
|
6122
5384
|
interface Customer {
|
|
6123
5385
|
/**
|
|
@@ -6178,10 +5440,6 @@ export declare namespace V2 {
|
|
|
6178
5440
|
* Settings for the default text that appears on statements for language variations.
|
|
6179
5441
|
*/
|
|
6180
5442
|
script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
|
|
6181
|
-
/**
|
|
6182
|
-
* Settings for Smart Disputes automatic response feature.
|
|
6183
|
-
*/
|
|
6184
|
-
smart_disputes?: Merchant.SmartDisputes;
|
|
6185
5443
|
/**
|
|
6186
5444
|
* Settings for the default [statement descriptor](https://docs.stripe.com/connect/statement-descriptors) text.
|
|
6187
5445
|
*/
|
|
@@ -6200,20 +5458,6 @@ export declare namespace V2 {
|
|
|
6200
5458
|
* Capabilities to request on the Recipient Configuration.
|
|
6201
5459
|
*/
|
|
6202
5460
|
capabilities?: Recipient.Capabilities;
|
|
6203
|
-
/**
|
|
6204
|
-
* The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
6205
|
-
*/
|
|
6206
|
-
default_outbound_destination?: string;
|
|
6207
|
-
}
|
|
6208
|
-
interface Storer {
|
|
6209
|
-
/**
|
|
6210
|
-
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
6211
|
-
*/
|
|
6212
|
-
applied?: boolean;
|
|
6213
|
-
/**
|
|
6214
|
-
* Capabilities to request on the Storer Configuration.
|
|
6215
|
-
*/
|
|
6216
|
-
capabilities?: Storer.Capabilities;
|
|
6217
5461
|
}
|
|
6218
5462
|
namespace Customer {
|
|
6219
5463
|
interface AutomaticIndirectTax {
|
|
@@ -6225,10 +5469,6 @@ export declare namespace V2 {
|
|
|
6225
5469
|
* A recent IP address of the customer used for tax reporting and tax location inference.
|
|
6226
5470
|
*/
|
|
6227
5471
|
ip_address?: string;
|
|
6228
|
-
/**
|
|
6229
|
-
* Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
|
|
6230
|
-
*/
|
|
6231
|
-
location_source?: AutomaticIndirectTax.LocationSource;
|
|
6232
5472
|
/**
|
|
6233
5473
|
* A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
6234
5474
|
*/
|
|
@@ -6236,7 +5476,7 @@ export declare namespace V2 {
|
|
|
6236
5476
|
}
|
|
6237
5477
|
interface Billing {
|
|
6238
5478
|
/**
|
|
6239
|
-
* ID of a PaymentMethod attached to
|
|
5479
|
+
* The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
|
|
6240
5480
|
*/
|
|
6241
5481
|
default_payment_method?: string;
|
|
6242
5482
|
/**
|
|
@@ -6266,7 +5506,6 @@ export declare namespace V2 {
|
|
|
6266
5506
|
}
|
|
6267
5507
|
namespace AutomaticIndirectTax {
|
|
6268
5508
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
6269
|
-
type LocationSource = 'identity_address' | 'ip_address' | 'payment_method' | 'shipping_address';
|
|
6270
5509
|
type ValidateLocation = 'auto' | 'deferred' | 'immediately';
|
|
6271
5510
|
}
|
|
6272
5511
|
namespace Billing {
|
|
@@ -6552,12 +5791,6 @@ export declare namespace V2 {
|
|
|
6552
5791
|
*/
|
|
6553
5792
|
kanji?: ScriptStatementDescriptor.Kanji;
|
|
6554
5793
|
}
|
|
6555
|
-
interface SmartDisputes {
|
|
6556
|
-
/**
|
|
6557
|
-
* Settings for Smart Disputes auto_respond.
|
|
6558
|
-
*/
|
|
6559
|
-
auto_respond?: SmartDisputes.AutoRespond;
|
|
6560
|
-
}
|
|
6561
5794
|
interface StatementDescriptor {
|
|
6562
5795
|
/**
|
|
6563
5796
|
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
@@ -6914,70 +6147,21 @@ export declare namespace V2 {
|
|
|
6914
6147
|
prefix?: string;
|
|
6915
6148
|
}
|
|
6916
6149
|
}
|
|
6917
|
-
namespace SmartDisputes {
|
|
6918
|
-
interface AutoRespond {
|
|
6919
|
-
/**
|
|
6920
|
-
* The preference for automatic dispute responses.
|
|
6921
|
-
*/
|
|
6922
|
-
preference?: AutoRespond.Preference;
|
|
6923
|
-
}
|
|
6924
|
-
namespace AutoRespond {
|
|
6925
|
-
type Preference = 'inherit' | 'off' | 'on';
|
|
6926
|
-
}
|
|
6927
|
-
}
|
|
6928
6150
|
}
|
|
6929
6151
|
namespace Recipient {
|
|
6930
6152
|
interface Capabilities {
|
|
6931
|
-
/**
|
|
6932
|
-
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
6933
|
-
*/
|
|
6934
|
-
bank_accounts?: Capabilities.BankAccounts;
|
|
6935
|
-
/**
|
|
6936
|
-
* Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
6937
|
-
*/
|
|
6938
|
-
cards?: Capabilities.Cards;
|
|
6939
6153
|
/**
|
|
6940
6154
|
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
6941
6155
|
*/
|
|
6942
6156
|
stripe_balance?: Capabilities.StripeBalance;
|
|
6943
6157
|
}
|
|
6944
6158
|
namespace Capabilities {
|
|
6945
|
-
interface BankAccounts {
|
|
6946
|
-
/**
|
|
6947
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
6948
|
-
*/
|
|
6949
|
-
local?: BankAccounts.Local;
|
|
6950
|
-
/**
|
|
6951
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
6952
|
-
*/
|
|
6953
|
-
wire?: BankAccounts.Wire;
|
|
6954
|
-
}
|
|
6955
|
-
interface Cards {
|
|
6956
|
-
/**
|
|
6957
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
6958
|
-
*/
|
|
6959
|
-
requested?: boolean;
|
|
6960
|
-
}
|
|
6961
6159
|
interface StripeBalance {
|
|
6962
6160
|
/**
|
|
6963
6161
|
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
6964
6162
|
*/
|
|
6965
6163
|
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
6966
6164
|
}
|
|
6967
|
-
namespace BankAccounts {
|
|
6968
|
-
interface Local {
|
|
6969
|
-
/**
|
|
6970
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
6971
|
-
*/
|
|
6972
|
-
requested?: boolean;
|
|
6973
|
-
}
|
|
6974
|
-
interface Wire {
|
|
6975
|
-
/**
|
|
6976
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
6977
|
-
*/
|
|
6978
|
-
requested?: boolean;
|
|
6979
|
-
}
|
|
6980
|
-
}
|
|
6981
6165
|
namespace StripeBalance {
|
|
6982
6166
|
interface StripeTransfers {
|
|
6983
6167
|
/**
|
|
@@ -6988,152 +6172,6 @@ export declare namespace V2 {
|
|
|
6988
6172
|
}
|
|
6989
6173
|
}
|
|
6990
6174
|
}
|
|
6991
|
-
namespace Storer {
|
|
6992
|
-
interface Capabilities {
|
|
6993
|
-
/**
|
|
6994
|
-
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
6995
|
-
*/
|
|
6996
|
-
financial_addresses?: Capabilities.FinancialAddresses;
|
|
6997
|
-
/**
|
|
6998
|
-
* Can hold storage-type funds on Stripe.
|
|
6999
|
-
*/
|
|
7000
|
-
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
7001
|
-
/**
|
|
7002
|
-
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
7003
|
-
*/
|
|
7004
|
-
inbound_transfers?: Capabilities.InboundTransfers;
|
|
7005
|
-
/**
|
|
7006
|
-
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
7007
|
-
*/
|
|
7008
|
-
outbound_payments?: Capabilities.OutboundPayments;
|
|
7009
|
-
/**
|
|
7010
|
-
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
7011
|
-
*/
|
|
7012
|
-
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
7013
|
-
}
|
|
7014
|
-
namespace Capabilities {
|
|
7015
|
-
interface FinancialAddresses {
|
|
7016
|
-
/**
|
|
7017
|
-
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
7018
|
-
*/
|
|
7019
|
-
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
7020
|
-
}
|
|
7021
|
-
interface HoldsCurrencies {
|
|
7022
|
-
/**
|
|
7023
|
-
* Can hold storage-type funds on Stripe in EUR.
|
|
7024
|
-
*/
|
|
7025
|
-
eur?: HoldsCurrencies.Eur;
|
|
7026
|
-
/**
|
|
7027
|
-
* Can hold storage-type funds on Stripe in GBP.
|
|
7028
|
-
*/
|
|
7029
|
-
gbp?: HoldsCurrencies.Gbp;
|
|
7030
|
-
/**
|
|
7031
|
-
* Can hold storage-type funds on Stripe in USD.
|
|
7032
|
-
*/
|
|
7033
|
-
usd?: HoldsCurrencies.Usd;
|
|
7034
|
-
}
|
|
7035
|
-
interface InboundTransfers {
|
|
7036
|
-
/**
|
|
7037
|
-
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
7038
|
-
*/
|
|
7039
|
-
bank_accounts?: InboundTransfers.BankAccounts;
|
|
7040
|
-
}
|
|
7041
|
-
interface OutboundPayments {
|
|
7042
|
-
/**
|
|
7043
|
-
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
7044
|
-
*/
|
|
7045
|
-
bank_accounts?: OutboundPayments.BankAccounts;
|
|
7046
|
-
/**
|
|
7047
|
-
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
7048
|
-
*/
|
|
7049
|
-
cards?: OutboundPayments.Cards;
|
|
7050
|
-
/**
|
|
7051
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
7052
|
-
*/
|
|
7053
|
-
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
7054
|
-
}
|
|
7055
|
-
interface OutboundTransfers {
|
|
7056
|
-
/**
|
|
7057
|
-
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
7058
|
-
*/
|
|
7059
|
-
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
7060
|
-
/**
|
|
7061
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
7062
|
-
*/
|
|
7063
|
-
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
7064
|
-
}
|
|
7065
|
-
namespace FinancialAddresses {
|
|
7066
|
-
interface BankAccounts {
|
|
7067
|
-
/**
|
|
7068
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7069
|
-
*/
|
|
7070
|
-
requested?: boolean;
|
|
7071
|
-
}
|
|
7072
|
-
}
|
|
7073
|
-
namespace HoldsCurrencies {
|
|
7074
|
-
interface Eur {
|
|
7075
|
-
/**
|
|
7076
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7077
|
-
*/
|
|
7078
|
-
requested?: boolean;
|
|
7079
|
-
}
|
|
7080
|
-
interface Gbp {
|
|
7081
|
-
/**
|
|
7082
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7083
|
-
*/
|
|
7084
|
-
requested?: boolean;
|
|
7085
|
-
}
|
|
7086
|
-
interface Usd {
|
|
7087
|
-
/**
|
|
7088
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7089
|
-
*/
|
|
7090
|
-
requested?: boolean;
|
|
7091
|
-
}
|
|
7092
|
-
}
|
|
7093
|
-
namespace InboundTransfers {
|
|
7094
|
-
interface BankAccounts {
|
|
7095
|
-
/**
|
|
7096
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7097
|
-
*/
|
|
7098
|
-
requested?: boolean;
|
|
7099
|
-
}
|
|
7100
|
-
}
|
|
7101
|
-
namespace OutboundPayments {
|
|
7102
|
-
interface BankAccounts {
|
|
7103
|
-
/**
|
|
7104
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7105
|
-
*/
|
|
7106
|
-
requested?: boolean;
|
|
7107
|
-
}
|
|
7108
|
-
interface Cards {
|
|
7109
|
-
/**
|
|
7110
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7111
|
-
*/
|
|
7112
|
-
requested?: boolean;
|
|
7113
|
-
}
|
|
7114
|
-
interface FinancialAccounts {
|
|
7115
|
-
/**
|
|
7116
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7117
|
-
*/
|
|
7118
|
-
requested?: boolean;
|
|
7119
|
-
}
|
|
7120
|
-
}
|
|
7121
|
-
namespace OutboundTransfers {
|
|
7122
|
-
interface BankAccounts {
|
|
7123
|
-
/**
|
|
7124
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7125
|
-
*/
|
|
7126
|
-
requested?: boolean;
|
|
7127
|
-
}
|
|
7128
|
-
interface FinancialAccounts {
|
|
7129
|
-
/**
|
|
7130
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
7131
|
-
*/
|
|
7132
|
-
requested?: boolean;
|
|
7133
|
-
}
|
|
7134
|
-
}
|
|
7135
|
-
}
|
|
7136
|
-
}
|
|
7137
6175
|
}
|
|
7138
6176
|
namespace Defaults {
|
|
7139
6177
|
type Locale = 'ar-SA' | 'bg' | 'bg-BG' | 'cs' | 'cs-CZ' | 'da' | 'da-DK' | 'de' | 'de-DE' | 'el' | 'el-GR' | 'en' | 'en-AU' | 'en-CA' | 'en-GB' | 'en-IE' | 'en-IN' | 'en-NZ' | 'en-SG' | 'en-US' | 'es' | 'es-419' | 'es-ES' | 'et' | 'et-EE' | 'fi' | 'fil' | 'fil-PH' | 'fi-FI' | 'fr' | 'fr-CA' | 'fr-FR' | 'he-IL' | 'hr' | 'hr-HR' | 'hu' | 'hu-HU' | 'id' | 'id-ID' | 'it' | 'it-IT' | 'ja' | 'ja-JP' | 'ko' | 'ko-KR' | 'lt' | 'lt-LT' | 'lv' | 'lv-LV' | 'ms' | 'ms-MY' | 'mt' | 'mt-MT' | 'nb' | 'nb-NO' | 'nl' | 'nl-NL' | 'pl' | 'pl-PL' | 'pt' | 'pt-BR' | 'pt-PT' | 'ro' | 'ro-RO' | 'ru' | 'ru-RU' | 'sk' | 'sk-SK' | 'sl' | 'sl-SI' | 'sv' | 'sv-SE' | 'th' | 'th-TH' | 'tr' | 'tr-TR' | 'vi' | 'vi-VN' | 'zh' | 'zh-Hans' | 'zh-Hant-HK' | 'zh-Hant-TW' | 'zh-HK' | 'zh-TW';
|
|
@@ -7262,7 +6300,7 @@ export declare namespace V2 {
|
|
|
7262
6300
|
*/
|
|
7263
6301
|
documents?: Individual.Documents;
|
|
7264
6302
|
/**
|
|
7265
|
-
* The individual's email address.
|
|
6303
|
+
* The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
7266
6304
|
*/
|
|
7267
6305
|
email?: string;
|
|
7268
6306
|
/**
|
|
@@ -7478,7 +6516,7 @@ export declare namespace V2 {
|
|
|
7478
6516
|
*/
|
|
7479
6517
|
proof_of_address?: Documents.ProofOfAddress;
|
|
7480
6518
|
/**
|
|
7481
|
-
* One or more documents
|
|
6519
|
+
* One or more documents that demonstrate proof of ultimate beneficial ownership.
|
|
7482
6520
|
*/
|
|
7483
6521
|
proof_of_registration?: Documents.ProofOfRegistration;
|
|
7484
6522
|
/**
|
|
@@ -7627,6 +6665,10 @@ export declare namespace V2 {
|
|
|
7627
6665
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
7628
6666
|
*/
|
|
7629
6667
|
files: Array<string>;
|
|
6668
|
+
/**
|
|
6669
|
+
* Person that is signing the document.
|
|
6670
|
+
*/
|
|
6671
|
+
signer?: ProofOfRegistration.Signer;
|
|
7630
6672
|
/**
|
|
7631
6673
|
* The format of the document. Currently supports `files` only.
|
|
7632
6674
|
*/
|
|
@@ -7637,6 +6679,10 @@ export declare namespace V2 {
|
|
|
7637
6679
|
* One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
7638
6680
|
*/
|
|
7639
6681
|
files: Array<string>;
|
|
6682
|
+
/**
|
|
6683
|
+
* Person that is signing the document.
|
|
6684
|
+
*/
|
|
6685
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
7640
6686
|
/**
|
|
7641
6687
|
* The format of the document. Currently supports `files` only.
|
|
7642
6688
|
*/
|
|
@@ -7654,6 +6700,22 @@ export declare namespace V2 {
|
|
|
7654
6700
|
front?: string;
|
|
7655
6701
|
}
|
|
7656
6702
|
}
|
|
6703
|
+
namespace ProofOfRegistration {
|
|
6704
|
+
interface Signer {
|
|
6705
|
+
/**
|
|
6706
|
+
* Person signing the document.
|
|
6707
|
+
*/
|
|
6708
|
+
person: string;
|
|
6709
|
+
}
|
|
6710
|
+
}
|
|
6711
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
6712
|
+
interface Signer {
|
|
6713
|
+
/**
|
|
6714
|
+
* Person signing the document.
|
|
6715
|
+
*/
|
|
6716
|
+
person: string;
|
|
6717
|
+
}
|
|
6718
|
+
}
|
|
7657
6719
|
}
|
|
7658
6720
|
namespace IdNumber {
|
|
7659
6721
|
type Type = 'ae_crn' | 'ae_vat' | 'ao_nif' | 'ar_cuit' | 'at_fn' | 'at_stn' | 'at_vat' | 'au_abn' | 'au_acn' | 'au_in' | 'az_tin' | 'bd_etin' | 'be_cbe' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'br_cnpj' | 'ca_cn' | 'ca_crarr' | 'ca_gst_hst' | 'ca_neq' | 'ca_rid' | 'ch_chid' | 'ch_uid' | 'cr_cpj' | 'cr_nite' | 'cy_he' | 'cy_tic' | 'cy_vat' | 'cz_ico' | 'cz_vat' | 'de_hrn' | 'de_stn' | 'de_vat' | 'dk_cvr' | 'dk_vat' | 'do_rcn' | 'ee_rk' | 'ee_vat' | 'es_cif' | 'es_vat' | 'fi_vat' | 'fi_yt' | 'fr_rna' | 'fr_siren' | 'fr_vat' | 'gb_crn' | 'gb_vat' | 'gi_crn' | 'gr_afm' | 'gr_gemi' | 'gr_vat' | 'gt_nit' | 'hk_br' | 'hk_cr' | 'hr_mbs' | 'hr_oib' | 'hr_vat' | 'hu_cjs' | 'hu_tin' | 'hu_vat' | 'ie_crn' | 'ie_trn' | 'ie_vat' | 'it_rea' | 'it_vat' | 'jp_cn' | 'kz_bin' | 'li_uid' | 'lt_ccrn' | 'lt_vat' | 'lu_nif' | 'lu_rcs' | 'lu_vat' | 'lv_urn' | 'lv_vat' | 'mt_crn' | 'mt_tin' | 'mt_vat' | 'mx_rfc' | 'my_brn' | 'my_coid' | 'my_itn' | 'my_sst' | 'mz_nuit' | 'nl_kvk' | 'nl_rsin' | 'nl_vat' | 'no_orgnr' | 'nz_bn' | 'nz_ird' | 'pe_ruc' | 'pk_ntn' | 'pl_nip' | 'pl_regon' | 'pl_vat' | 'pt_vat' | 'ro_cui' | 'ro_orc' | 'ro_vat' | 'sa_crn' | 'sa_tin' | 'se_orgnr' | 'se_vat' | 'sg_uen' | 'si_msp' | 'si_tin' | 'si_vat' | 'sk_dic' | 'sk_ico' | 'sk_vat' | 'th_crn' | 'th_prn' | 'th_tin' | 'us_ein';
|
|
@@ -7942,7 +7004,7 @@ export declare namespace V2 {
|
|
|
7942
7004
|
limit?: number;
|
|
7943
7005
|
}
|
|
7944
7006
|
namespace AccountListParams {
|
|
7945
|
-
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient'
|
|
7007
|
+
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
|
|
7946
7008
|
}
|
|
7947
7009
|
}
|
|
7948
7010
|
}
|
|
@@ -7955,7 +7017,7 @@ export declare namespace V2 {
|
|
|
7955
7017
|
applied_configurations?: Array<AccountCloseParams.AppliedConfiguration>;
|
|
7956
7018
|
}
|
|
7957
7019
|
namespace AccountCloseParams {
|
|
7958
|
-
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient'
|
|
7020
|
+
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
|
|
7959
7021
|
}
|
|
7960
7022
|
}
|
|
7961
7023
|
}
|