stripe 20.1.0-alpha.4 → 20.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/Error.js +9 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.js +12 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +16 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +24 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +20 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +33 -0
- package/cjs/resources/V2/Tax/ManualRules.js +23 -0
- package/cjs/resources.js +15 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +7 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +13 -0
- package/esm/resources/V2/Iam/ApiKeys.js +21 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +17 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +30 -0
- package/esm/resources/V2/Tax/ManualRules.js +20 -0
- package/esm/resources.js +14 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountNotices.d.ts +6 -6
- package/types/AccountNoticesResource.d.ts +1 -1
- package/types/AccountSessions.d.ts +7 -7
- package/types/AccountSessionsResource.d.ts +21 -0
- package/types/Accounts.d.ts +25 -25
- package/types/AccountsResource.d.ts +107 -63
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BalanceTransfers.d.ts +3 -3
- package/types/BalanceTransfersResource.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -10
- package/types/Billing/Alerts.d.ts +2 -2
- package/types/Billing/CreditBalanceSummary.d.ts +3 -3
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +4 -4
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -16
- package/types/Capital/FinancingOffers.d.ts +2 -2
- package/types/Capital/FinancingSummary.d.ts +7 -4
- package/types/Capital/FinancingSummaryResource.d.ts +1 -1
- package/types/Cards.d.ts +2 -2
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -27
- package/types/ChargesResource.d.ts +22 -22
- package/types/Checkout/Sessions.d.ts +18 -18
- package/types/Checkout/SessionsResource.d.ts +90 -60
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -6
- package/types/Coupons.d.ts +3 -3
- package/types/CouponsResource.d.ts +2 -2
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -1
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -16
- package/types/DelegatedCheckout/RequestedSessions.d.ts +83 -17
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +102 -0
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -3
- package/types/DisputesResource.d.ts +1 -1
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +6 -0
- package/types/Events.d.ts +1 -1
- package/types/ExchangeRates.d.ts +2 -2
- package/types/ExternalAccountsResource.d.ts +4 -4
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +3 -3
- package/types/FinancialConnections/AccountsResource.d.ts +3 -3
- package/types/FinancialConnections/Sessions.d.ts +2 -2
- package/types/FinancialConnections/SessionsResource.d.ts +3 -3
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/BlocklistEntries.d.ts +1 -1
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +12 -12
- package/types/InvoiceItemsResource.d.ts +16 -16
- package/types/InvoiceLineItems.d.ts +11 -8
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +83 -33
- package/types/InvoicesResource.d.ts +237 -111
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -21
- package/types/Issuing/Cards.d.ts +20 -10
- package/types/Issuing/CardsResource.d.ts +46 -13
- package/types/Issuing/CreditUnderwritingRecords.d.ts +5 -5
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +15 -15
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/FraudLiabilityDebits.d.ts +1 -1
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Programs.d.ts +1 -1
- package/types/Issuing/ProgramsResource.d.ts +1 -1
- package/types/Issuing/Settlements.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +13 -13
- package/types/Issuing/TransactionsResource.d.ts +1 -1
- package/types/LineItems.d.ts +3 -3
- package/types/LoginLinks.d.ts +1 -1
- package/types/MandatesResource.d.ts +1 -1
- package/types/Margins.d.ts +1 -1
- package/types/MarginsResource.d.ts +2 -2
- package/types/Orders.d.ts +11 -11
- package/types/OrdersResource.d.ts +24 -24
- package/types/PaymentAttemptRecords.d.ts +119 -18
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +72 -44
- package/types/PaymentIntentsResource.d.ts +172 -159
- package/types/PaymentLinks.d.ts +7 -7
- package/types/PaymentLinksResource.d.ts +42 -28
- package/types/PaymentMethodConfigurations.d.ts +4 -4
- package/types/PaymentMethodConfigurationsResource.d.ts +80 -80
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -8
- package/types/PaymentMethodsResource.d.ts +7 -6
- package/types/PaymentRecords.d.ts +126 -18
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -21
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -6
- package/types/PricesResource.d.ts +10 -10
- package/types/ProductCatalog/TrialOffers.d.ts +1 -1
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +38 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/QuoteLines.d.ts +3 -3
- package/types/QuotePreviewInvoices.d.ts +81 -31
- package/types/QuotePreviewSubscriptionSchedules.d.ts +18 -18
- package/types/Quotes.d.ts +16 -16
- package/types/QuotesResource.d.ts +30 -30
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -3
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +21 -18
- package/types/SetupIntents.d.ts +20 -19
- package/types/SetupIntentsResource.d.ts +47 -44
- package/types/SharedPayment/GrantedTokens.d.ts +102 -0
- package/types/SharedPayment/GrantedTokensResource.d.ts +29 -0
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -5
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -7
- package/types/SubscriptionItemsResource.d.ts +22 -22
- package/types/SubscriptionSchedules.d.ts +19 -19
- package/types/SubscriptionSchedulesResource.d.ts +61 -61
- package/types/Subscriptions.d.ts +61 -15
- package/types/SubscriptionsResource.d.ts +142 -58
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -10
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -4
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/SharedPayment/GrantedTokensResource.d.ts +87 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -1
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -1
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -5
- package/types/TransfersResource.d.ts +6 -6
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +1 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -2
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -4
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -3
- package/types/Treasury/ReceivedCredits.d.ts +9 -9
- package/types/Treasury/ReceivedDebits.d.ts +6 -6
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Billing/IntentActions.d.ts +141 -36
- package/types/V2/Billing/IntentsResource.d.ts +141 -42
- package/types/V2/Core/AccountLinks.d.ts +11 -11
- package/types/V2/Core/AccountLinksResource.d.ts +6 -6
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +99 -10
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +298 -509
- package/types/V2/Core/AccountsResource.d.ts +256 -51
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +1 -1
- package/types/V2/Core/EventTypes.d.ts +601 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +21 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +26 -0
- package/types/V2/Iam/ApiKeys.d.ts +154 -0
- package/types/V2/Iam/ApiKeysResource.d.ts +215 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +31 -1
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +2 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +26 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +2 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +10 -1
- package/types/V2/Payments/SettlementAllocationIntentSplits.d.ts +111 -0
- package/types/V2/Payments/SettlementAllocationIntents/SplitsResource.d.ts +126 -0
- package/types/V2/Payments/SettlementAllocationIntents.d.ts +122 -0
- package/types/V2/Payments/SettlementAllocationIntentsResource.d.ts +168 -0
- package/types/V2/Tax/ManualRules.d.ts +142 -0
- package/types/V2/Tax/ManualRulesResource.d.ts +292 -0
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +4 -3
- package/types/apiVersion.d.ts +1 -1
- package/types/index.d.ts +24 -0
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
interface AccountCreateParams {
|
|
6
6
|
/**
|
|
7
|
-
* An [account token](https://stripe.com
|
|
7
|
+
* An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account.
|
|
8
8
|
*/
|
|
9
9
|
account_token?: string;
|
|
10
10
|
|
|
@@ -83,7 +83,7 @@ declare module 'stripe' {
|
|
|
83
83
|
individual?: AccountCreateParams.Individual;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
86
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
87
87
|
*/
|
|
88
88
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
89
89
|
|
|
@@ -1341,12 +1341,12 @@ declare module 'stripe' {
|
|
|
1341
1341
|
namespace Verification {
|
|
1342
1342
|
interface Document {
|
|
1343
1343
|
/**
|
|
1344
|
-
* The back of a document returned by a [file upload](https://stripe.com
|
|
1344
|
+
* The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1345
1345
|
*/
|
|
1346
1346
|
back?: string;
|
|
1347
1347
|
|
|
1348
1348
|
/**
|
|
1349
|
-
* The front of a document returned by a [file upload](https://stripe.com
|
|
1349
|
+
* The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1350
1350
|
*/
|
|
1351
1351
|
front?: string;
|
|
1352
1352
|
}
|
|
@@ -1388,7 +1388,7 @@ declare module 'stripe' {
|
|
|
1388
1388
|
namespace Controller {
|
|
1389
1389
|
interface Application {
|
|
1390
1390
|
/**
|
|
1391
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/
|
|
1391
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
1392
1392
|
*/
|
|
1393
1393
|
loss_liable: boolean;
|
|
1394
1394
|
|
|
@@ -1500,65 +1500,87 @@ declare module 'stripe' {
|
|
|
1500
1500
|
namespace Documents {
|
|
1501
1501
|
interface BankAccountOwnershipVerification {
|
|
1502
1502
|
/**
|
|
1503
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1503
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1504
1504
|
*/
|
|
1505
1505
|
files?: Array<string>;
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
1508
|
interface CompanyLicense {
|
|
1509
1509
|
/**
|
|
1510
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1510
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1511
1511
|
*/
|
|
1512
1512
|
files?: Array<string>;
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
interface CompanyMemorandumOfAssociation {
|
|
1516
1516
|
/**
|
|
1517
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1517
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1518
1518
|
*/
|
|
1519
1519
|
files?: Array<string>;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
1522
|
interface CompanyMinisterialDecree {
|
|
1523
1523
|
/**
|
|
1524
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1524
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1525
1525
|
*/
|
|
1526
1526
|
files?: Array<string>;
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
1529
|
interface CompanyRegistrationVerification {
|
|
1530
1530
|
/**
|
|
1531
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1531
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1532
1532
|
*/
|
|
1533
1533
|
files?: Array<string>;
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
1536
|
interface CompanyTaxIdVerification {
|
|
1537
1537
|
/**
|
|
1538
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1538
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1539
1539
|
*/
|
|
1540
1540
|
files?: Array<string>;
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
1543
|
interface ProofOfAddress {
|
|
1544
1544
|
/**
|
|
1545
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1545
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1546
1546
|
*/
|
|
1547
1547
|
files?: Array<string>;
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
interface ProofOfRegistration {
|
|
1551
1551
|
/**
|
|
1552
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1552
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1553
1553
|
*/
|
|
1554
1554
|
files?: Array<string>;
|
|
1555
|
+
|
|
1556
|
+
signer?: ProofOfRegistration.Signer;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
namespace ProofOfRegistration {
|
|
1560
|
+
interface Signer {
|
|
1561
|
+
/**
|
|
1562
|
+
* The token of the person signing the document, if applicable.
|
|
1563
|
+
*/
|
|
1564
|
+
person?: string;
|
|
1565
|
+
}
|
|
1555
1566
|
}
|
|
1556
1567
|
|
|
1557
1568
|
interface ProofOfUltimateBeneficialOwnership {
|
|
1558
1569
|
/**
|
|
1559
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1570
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1560
1571
|
*/
|
|
1561
1572
|
files?: Array<string>;
|
|
1573
|
+
|
|
1574
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
1578
|
+
interface Signer {
|
|
1579
|
+
/**
|
|
1580
|
+
* The token of the person signing the document, if applicable.
|
|
1581
|
+
*/
|
|
1582
|
+
person?: string;
|
|
1583
|
+
}
|
|
1562
1584
|
}
|
|
1563
1585
|
}
|
|
1564
1586
|
|
|
@@ -1601,7 +1623,7 @@ declare module 'stripe' {
|
|
|
1601
1623
|
|
|
1602
1624
|
interface Groups {
|
|
1603
1625
|
/**
|
|
1604
|
-
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/
|
|
1626
|
+
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://docs.stripe.com/connect/platform-pricing-tools) for details.
|
|
1605
1627
|
*/
|
|
1606
1628
|
payments_pricing?: Stripe.Emptyable<string>;
|
|
1607
1629
|
}
|
|
@@ -1688,7 +1710,7 @@ declare module 'stripe' {
|
|
|
1688
1710
|
maiden_name?: string;
|
|
1689
1711
|
|
|
1690
1712
|
/**
|
|
1691
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
1713
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1692
1714
|
*/
|
|
1693
1715
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1694
1716
|
|
|
@@ -1819,24 +1841,24 @@ declare module 'stripe' {
|
|
|
1819
1841
|
namespace Verification {
|
|
1820
1842
|
interface AdditionalDocument {
|
|
1821
1843
|
/**
|
|
1822
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
1844
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1823
1845
|
*/
|
|
1824
1846
|
back?: string;
|
|
1825
1847
|
|
|
1826
1848
|
/**
|
|
1827
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
1849
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1828
1850
|
*/
|
|
1829
1851
|
front?: string;
|
|
1830
1852
|
}
|
|
1831
1853
|
|
|
1832
1854
|
interface Document {
|
|
1833
1855
|
/**
|
|
1834
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
1856
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1835
1857
|
*/
|
|
1836
1858
|
back?: string;
|
|
1837
1859
|
|
|
1838
1860
|
/**
|
|
1839
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
1861
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1840
1862
|
*/
|
|
1841
1863
|
front?: string;
|
|
1842
1864
|
}
|
|
@@ -1845,12 +1867,12 @@ declare module 'stripe' {
|
|
|
1845
1867
|
|
|
1846
1868
|
interface RiskControls {
|
|
1847
1869
|
/**
|
|
1848
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/
|
|
1870
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1849
1871
|
*/
|
|
1850
1872
|
charges?: RiskControls.Charges;
|
|
1851
1873
|
|
|
1852
1874
|
/**
|
|
1853
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/
|
|
1875
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1854
1876
|
*/
|
|
1855
1877
|
payouts?: RiskControls.Payouts;
|
|
1856
1878
|
}
|
|
@@ -2233,7 +2255,7 @@ declare module 'stripe' {
|
|
|
2233
2255
|
|
|
2234
2256
|
interface AccountUpdateParams {
|
|
2235
2257
|
/**
|
|
2236
|
-
* An [account token](https://stripe.com
|
|
2258
|
+
* An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account.
|
|
2237
2259
|
*/
|
|
2238
2260
|
account_token?: string;
|
|
2239
2261
|
|
|
@@ -2307,7 +2329,7 @@ declare module 'stripe' {
|
|
|
2307
2329
|
individual?: AccountUpdateParams.Individual;
|
|
2308
2330
|
|
|
2309
2331
|
/**
|
|
2310
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
2332
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2311
2333
|
*/
|
|
2312
2334
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
2313
2335
|
|
|
@@ -3638,12 +3660,12 @@ declare module 'stripe' {
|
|
|
3638
3660
|
namespace Verification {
|
|
3639
3661
|
interface Document {
|
|
3640
3662
|
/**
|
|
3641
|
-
* The back of a document returned by a [file upload](https://stripe.com
|
|
3663
|
+
* The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3642
3664
|
*/
|
|
3643
3665
|
back?: string;
|
|
3644
3666
|
|
|
3645
3667
|
/**
|
|
3646
|
-
* The front of a document returned by a [file upload](https://stripe.com
|
|
3668
|
+
* The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3647
3669
|
*/
|
|
3648
3670
|
front?: string;
|
|
3649
3671
|
}
|
|
@@ -3700,71 +3722,93 @@ declare module 'stripe' {
|
|
|
3700
3722
|
namespace Documents {
|
|
3701
3723
|
interface BankAccountOwnershipVerification {
|
|
3702
3724
|
/**
|
|
3703
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3725
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3704
3726
|
*/
|
|
3705
3727
|
files?: Array<string>;
|
|
3706
3728
|
}
|
|
3707
3729
|
|
|
3708
3730
|
interface CompanyLicense {
|
|
3709
3731
|
/**
|
|
3710
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3732
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3711
3733
|
*/
|
|
3712
3734
|
files?: Array<string>;
|
|
3713
3735
|
}
|
|
3714
3736
|
|
|
3715
3737
|
interface CompanyMemorandumOfAssociation {
|
|
3716
3738
|
/**
|
|
3717
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3739
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3718
3740
|
*/
|
|
3719
3741
|
files?: Array<string>;
|
|
3720
3742
|
}
|
|
3721
3743
|
|
|
3722
3744
|
interface CompanyMinisterialDecree {
|
|
3723
3745
|
/**
|
|
3724
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3746
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3725
3747
|
*/
|
|
3726
3748
|
files?: Array<string>;
|
|
3727
3749
|
}
|
|
3728
3750
|
|
|
3729
3751
|
interface CompanyRegistrationVerification {
|
|
3730
3752
|
/**
|
|
3731
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3753
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3732
3754
|
*/
|
|
3733
3755
|
files?: Array<string>;
|
|
3734
3756
|
}
|
|
3735
3757
|
|
|
3736
3758
|
interface CompanyTaxIdVerification {
|
|
3737
3759
|
/**
|
|
3738
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3760
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3739
3761
|
*/
|
|
3740
3762
|
files?: Array<string>;
|
|
3741
3763
|
}
|
|
3742
3764
|
|
|
3743
3765
|
interface ProofOfAddress {
|
|
3744
3766
|
/**
|
|
3745
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3767
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3746
3768
|
*/
|
|
3747
3769
|
files?: Array<string>;
|
|
3748
3770
|
}
|
|
3749
3771
|
|
|
3750
3772
|
interface ProofOfRegistration {
|
|
3751
3773
|
/**
|
|
3752
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3774
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3753
3775
|
*/
|
|
3754
3776
|
files?: Array<string>;
|
|
3777
|
+
|
|
3778
|
+
signer?: ProofOfRegistration.Signer;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
namespace ProofOfRegistration {
|
|
3782
|
+
interface Signer {
|
|
3783
|
+
/**
|
|
3784
|
+
* The token of the person signing the document, if applicable.
|
|
3785
|
+
*/
|
|
3786
|
+
person?: string;
|
|
3787
|
+
}
|
|
3755
3788
|
}
|
|
3756
3789
|
|
|
3757
3790
|
interface ProofOfUltimateBeneficialOwnership {
|
|
3758
3791
|
/**
|
|
3759
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3792
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3760
3793
|
*/
|
|
3761
3794
|
files?: Array<string>;
|
|
3795
|
+
|
|
3796
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
3800
|
+
interface Signer {
|
|
3801
|
+
/**
|
|
3802
|
+
* The token of the person signing the document, if applicable.
|
|
3803
|
+
*/
|
|
3804
|
+
person?: string;
|
|
3805
|
+
}
|
|
3762
3806
|
}
|
|
3763
3807
|
}
|
|
3764
3808
|
|
|
3765
3809
|
interface Groups {
|
|
3766
3810
|
/**
|
|
3767
|
-
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/
|
|
3811
|
+
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://docs.stripe.com/connect/platform-pricing-tools) for details.
|
|
3768
3812
|
*/
|
|
3769
3813
|
payments_pricing?: Stripe.Emptyable<string>;
|
|
3770
3814
|
}
|
|
@@ -3851,7 +3895,7 @@ declare module 'stripe' {
|
|
|
3851
3895
|
maiden_name?: string;
|
|
3852
3896
|
|
|
3853
3897
|
/**
|
|
3854
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
3898
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3855
3899
|
*/
|
|
3856
3900
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
3857
3901
|
|
|
@@ -3982,24 +4026,24 @@ declare module 'stripe' {
|
|
|
3982
4026
|
namespace Verification {
|
|
3983
4027
|
interface AdditionalDocument {
|
|
3984
4028
|
/**
|
|
3985
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4029
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3986
4030
|
*/
|
|
3987
4031
|
back?: string;
|
|
3988
4032
|
|
|
3989
4033
|
/**
|
|
3990
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4034
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3991
4035
|
*/
|
|
3992
4036
|
front?: string;
|
|
3993
4037
|
}
|
|
3994
4038
|
|
|
3995
4039
|
interface Document {
|
|
3996
4040
|
/**
|
|
3997
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4041
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3998
4042
|
*/
|
|
3999
4043
|
back?: string;
|
|
4000
4044
|
|
|
4001
4045
|
/**
|
|
4002
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4046
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4003
4047
|
*/
|
|
4004
4048
|
front?: string;
|
|
4005
4049
|
}
|
|
@@ -4008,12 +4052,12 @@ declare module 'stripe' {
|
|
|
4008
4052
|
|
|
4009
4053
|
interface RiskControls {
|
|
4010
4054
|
/**
|
|
4011
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/
|
|
4055
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
4012
4056
|
*/
|
|
4013
4057
|
charges?: RiskControls.Charges;
|
|
4014
4058
|
|
|
4015
4059
|
/**
|
|
4016
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/
|
|
4060
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
4017
4061
|
*/
|
|
4018
4062
|
payouts?: RiskControls.Payouts;
|
|
4019
4063
|
}
|
|
@@ -4406,7 +4450,7 @@ declare module 'stripe' {
|
|
|
4406
4450
|
|
|
4407
4451
|
interface AccountCreateExternalAccountParams {
|
|
4408
4452
|
/**
|
|
4409
|
-
* A token, like the ones returned by [Stripe.js](https://stripe.com/
|
|
4453
|
+
* A token, like the ones returned by [Stripe.js](https://docs.stripe.com/js) or a dictionary containing a user's external account details (with the options shown below). Please refer to full [documentation](https://stripe.com/docs/api/external_accounts) instead.
|
|
4410
4454
|
*/
|
|
4411
4455
|
external_account:
|
|
4412
4456
|
| string
|
|
@@ -4425,7 +4469,7 @@ declare module 'stripe' {
|
|
|
4425
4469
|
expand?: Array<string>;
|
|
4426
4470
|
|
|
4427
4471
|
/**
|
|
4428
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
4472
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4429
4473
|
*/
|
|
4430
4474
|
metadata?: Stripe.MetadataParam;
|
|
4431
4475
|
}
|
|
@@ -4615,7 +4659,7 @@ declare module 'stripe' {
|
|
|
4615
4659
|
maiden_name?: string;
|
|
4616
4660
|
|
|
4617
4661
|
/**
|
|
4618
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
4662
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4619
4663
|
*/
|
|
4620
4664
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
4621
4665
|
|
|
@@ -4739,21 +4783,21 @@ declare module 'stripe' {
|
|
|
4739
4783
|
namespace Documents {
|
|
4740
4784
|
interface CompanyAuthorization {
|
|
4741
4785
|
/**
|
|
4742
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4786
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4743
4787
|
*/
|
|
4744
4788
|
files?: Array<string>;
|
|
4745
4789
|
}
|
|
4746
4790
|
|
|
4747
4791
|
interface Passport {
|
|
4748
4792
|
/**
|
|
4749
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4793
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4750
4794
|
*/
|
|
4751
4795
|
files?: Array<string>;
|
|
4752
4796
|
}
|
|
4753
4797
|
|
|
4754
4798
|
interface Visa {
|
|
4755
4799
|
/**
|
|
4756
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4800
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4757
4801
|
*/
|
|
4758
4802
|
files?: Array<string>;
|
|
4759
4803
|
}
|
|
@@ -4924,24 +4968,24 @@ declare module 'stripe' {
|
|
|
4924
4968
|
namespace Verification {
|
|
4925
4969
|
interface AdditionalDocument {
|
|
4926
4970
|
/**
|
|
4927
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4971
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4928
4972
|
*/
|
|
4929
4973
|
back?: string;
|
|
4930
4974
|
|
|
4931
4975
|
/**
|
|
4932
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4976
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4933
4977
|
*/
|
|
4934
4978
|
front?: string;
|
|
4935
4979
|
}
|
|
4936
4980
|
|
|
4937
4981
|
interface Document {
|
|
4938
4982
|
/**
|
|
4939
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4983
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4940
4984
|
*/
|
|
4941
4985
|
back?: string;
|
|
4942
4986
|
|
|
4943
4987
|
/**
|
|
4944
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4988
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4945
4989
|
*/
|
|
4946
4990
|
front?: string;
|
|
4947
4991
|
}
|
|
@@ -5149,7 +5193,7 @@ declare module 'stripe' {
|
|
|
5149
5193
|
expand?: Array<string>;
|
|
5150
5194
|
|
|
5151
5195
|
/**
|
|
5152
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
5196
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5153
5197
|
*/
|
|
5154
5198
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
5155
5199
|
|
|
@@ -5174,7 +5218,7 @@ declare module 'stripe' {
|
|
|
5174
5218
|
namespace Documents {
|
|
5175
5219
|
interface BankAccountOwnershipVerification {
|
|
5176
5220
|
/**
|
|
5177
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
5221
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5178
5222
|
*/
|
|
5179
5223
|
files?: Array<string>;
|
|
5180
5224
|
}
|
|
@@ -5278,7 +5322,7 @@ declare module 'stripe' {
|
|
|
5278
5322
|
maiden_name?: string;
|
|
5279
5323
|
|
|
5280
5324
|
/**
|
|
5281
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
5325
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5282
5326
|
*/
|
|
5283
5327
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
5284
5328
|
|
|
@@ -5402,21 +5446,21 @@ declare module 'stripe' {
|
|
|
5402
5446
|
namespace Documents {
|
|
5403
5447
|
interface CompanyAuthorization {
|
|
5404
5448
|
/**
|
|
5405
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
5449
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5406
5450
|
*/
|
|
5407
5451
|
files?: Array<string>;
|
|
5408
5452
|
}
|
|
5409
5453
|
|
|
5410
5454
|
interface Passport {
|
|
5411
5455
|
/**
|
|
5412
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
5456
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5413
5457
|
*/
|
|
5414
5458
|
files?: Array<string>;
|
|
5415
5459
|
}
|
|
5416
5460
|
|
|
5417
5461
|
interface Visa {
|
|
5418
5462
|
/**
|
|
5419
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
5463
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5420
5464
|
*/
|
|
5421
5465
|
files?: Array<string>;
|
|
5422
5466
|
}
|
|
@@ -5587,24 +5631,24 @@ declare module 'stripe' {
|
|
|
5587
5631
|
namespace Verification {
|
|
5588
5632
|
interface AdditionalDocument {
|
|
5589
5633
|
/**
|
|
5590
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
5634
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5591
5635
|
*/
|
|
5592
5636
|
back?: string;
|
|
5593
5637
|
|
|
5594
5638
|
/**
|
|
5595
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
5639
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5596
5640
|
*/
|
|
5597
5641
|
front?: string;
|
|
5598
5642
|
}
|
|
5599
5643
|
|
|
5600
5644
|
interface Document {
|
|
5601
5645
|
/**
|
|
5602
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
5646
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5603
5647
|
*/
|
|
5604
5648
|
back?: string;
|
|
5605
5649
|
|
|
5606
5650
|
/**
|
|
5607
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
5651
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5608
5652
|
*/
|
|
5609
5653
|
front?: string;
|
|
5610
5654
|
}
|
|
@@ -38,7 +38,7 @@ declare module 'stripe' {
|
|
|
38
38
|
expand?: Array<string>;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
41
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
42
42
|
*/
|
|
43
43
|
metadata?: Stripe.MetadataParam;
|
|
44
44
|
}
|
|
@@ -64,7 +64,7 @@ declare module 'stripe' {
|
|
|
64
64
|
expand?: Array<string>;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
67
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
68
68
|
*/
|
|
69
69
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
70
70
|
}
|
package/types/Apps/Secrets.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare module 'stripe' {
|
|
|
12
12
|
*
|
|
13
13
|
* A `user` scoped secret is accessible by the app backend and one specific Dashboard user. Use the `user` scope for per-user secrets like per-user OAuth tokens, where different users might have different permissions.
|
|
14
14
|
*
|
|
15
|
-
* Related guide: [Store data between page reloads](https://stripe.com/
|
|
15
|
+
* Related guide: [Store data between page reloads](https://docs.stripe.com/stripe-apps/store-auth-data-custom-objects)
|
|
16
16
|
*/
|
|
17
17
|
interface Secret {
|
|
18
18
|
/**
|
package/types/Balance.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare module 'stripe' {
|
|
|
8
8
|
*
|
|
9
9
|
* The top-level `available` and `pending` comprise your "payments balance."
|
|
10
10
|
*
|
|
11
|
-
* Related guide: [Balances and settlement time](https://stripe.com/
|
|
11
|
+
* Related guide: [Balances and settlement time](https://docs.stripe.com/payments/balances), [Understanding Connect account balances](https://docs.stripe.com/connect/account-balances)
|
|
12
12
|
*/
|
|
13
13
|
interface Balance {
|
|
14
14
|
/**
|
|
@@ -17,7 +17,7 @@ declare module 'stripe' {
|
|
|
17
17
|
object: 'balance';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com
|
|
20
|
+
* Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://api.stripe.com#transfers) or [Payouts API](https://api.stripe.com#payouts). You can find the available balance for each currency and payment type in the `source_types` property.
|
|
21
21
|
*/
|
|
22
22
|
available: Array<Balance.Available>;
|
|
23
23
|
|
|
@@ -39,7 +39,7 @@ declare module 'stripe' {
|
|
|
39
39
|
} | null;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Details on when funds from charges are available, and when they are paid out to an external account. See our [Setting Bank and Debit Card Payouts](https://stripe.com/
|
|
42
|
+
* Details on when funds from charges are available, and when they are paid out to an external account. See our [Setting Bank and Debit Card Payouts](https://docs.stripe.com/connect/bank-transfers#payout-information) documentation for details.
|
|
43
43
|
*/
|
|
44
44
|
schedule: Payouts.Schedule | null;
|
|
45
45
|
|
|
@@ -6,7 +6,7 @@ declare module 'stripe' {
|
|
|
6
6
|
* Balance transactions represent funds moving through your Stripe account.
|
|
7
7
|
* Stripe creates them for every type of transaction that enters or leaves your Stripe account balance.
|
|
8
8
|
*
|
|
9
|
-
* Related guide: [Balance transaction types](https://stripe.com/
|
|
9
|
+
* Related guide: [Balance transaction types](https://docs.stripe.com/reports/balance-transaction-types)
|
|
10
10
|
*/
|
|
11
11
|
interface BalanceTransaction {
|
|
12
12
|
/**
|