stripe 18.5.0 → 18.6.0-beta.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 +1364 -33
- package/README.md +4 -5
- package/VERSION +1 -1
- package/cjs/Error.js +107 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -0
- package/cjs/resources/Billing/MeterUsage.js +12 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +13 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +25 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +25 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +102 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +93 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -0
- package/esm/resources/Billing/MeterUsage.js +9 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +13 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/OnboardingLinks.js +9 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +22 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +22 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +86 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +97 -0
- package/types/BalanceSettingsResource.d.ts +119 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/Billing/MeterUsage.d.ts +32 -0
- package/types/Billing/MeterUsageResource.d.ts +685 -0
- package/types/Billing/MeterUsageRows.d.ts +49 -0
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +171 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +374 -2
- package/types/Checkout/SessionsResource.d.ts +520 -2
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Disputes.d.ts +29 -0
- package/types/Errors.d.ts +79 -0
- package/types/EventTypes.d.ts +664 -0
- package/types/Events.d.ts +97 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/InvoicePaymentsResource.d.ts +10 -1
- package/types/Invoices.d.ts +171 -3
- package/types/InvoicesResource.d.ts +1533 -22
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +135 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +3139 -0
- package/types/PaymentAttemptRecords.d.ts +2321 -0
- package/types/PaymentAttemptRecordsResource.d.ts +52 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +836 -3
- package/types/PaymentIntentsResource.d.ts +11610 -5775
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +130 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2314 -0
- package/types/PaymentRecordsResource.d.ts +476 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1736 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +892 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2577 -232
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +210 -2
- package/types/SetupIntentsResource.d.ts +938 -4
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1233 -5
- package/types/Subscriptions.d.ts +135 -1
- package/types/SubscriptionsResource.d.ts +472 -8
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -0
- package/types/Terminal/OnboardingLinks.d.ts +57 -0
- package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3812 -0
- package/types/V2/Core/Accounts.d.ts +8862 -0
- package/types/V2/Core/AccountsResource.d.ts +10704 -0
- package/types/V2/Core/Persons.d.ts +1888 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +961 -1
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +585 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +331 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +289 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +262 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +179 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +174 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
- package/types/WebhookEndpointsResource.d.ts +78 -0
- package/types/index.d.ts +145 -0
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
namespace Capital {
|
|
6
|
+
interface FinancingTransactionRetrieveParams {
|
|
7
|
+
/**
|
|
8
|
+
* Specifies which fields in the response should be expanded.
|
|
9
|
+
*/
|
|
10
|
+
expand?: Array<string>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface FinancingTransactionListParams extends PaginationParams {
|
|
14
|
+
/**
|
|
15
|
+
* For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this charge.
|
|
16
|
+
*/
|
|
17
|
+
charge?: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Specifies which fields in the response should be expanded.
|
|
21
|
+
*/
|
|
22
|
+
expand?: Array<string>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns transactions that were created that apply to this financing offer ID.
|
|
26
|
+
*/
|
|
27
|
+
financing_offer?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Only returns transactions that are responsible for reversing this financing transaction ID.
|
|
31
|
+
*/
|
|
32
|
+
reversed_transaction?: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* For transactions of type `paydown` and reason `automatic_withholding` only, only returns transactions that were created as a result of this Treasury Transaction.
|
|
36
|
+
*/
|
|
37
|
+
treasury_transaction?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
class FinancingTransactionsResource {
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves a financing transaction for a financing offer.
|
|
43
|
+
*/
|
|
44
|
+
retrieve(
|
|
45
|
+
id: string,
|
|
46
|
+
params?: FinancingTransactionRetrieveParams,
|
|
47
|
+
options?: RequestOptions
|
|
48
|
+
): Promise<Stripe.Response<Stripe.Capital.FinancingTransaction>>;
|
|
49
|
+
retrieve(
|
|
50
|
+
id: string,
|
|
51
|
+
options?: RequestOptions
|
|
52
|
+
): Promise<Stripe.Response<Stripe.Capital.FinancingTransaction>>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Returns a list of financing transactions. The transactions are returned in sorted order,
|
|
56
|
+
* with the most recent transactions appearing first.
|
|
57
|
+
*/
|
|
58
|
+
list(
|
|
59
|
+
params?: FinancingTransactionListParams,
|
|
60
|
+
options?: RequestOptions
|
|
61
|
+
): ApiListPromise<Stripe.Capital.FinancingTransaction>;
|
|
62
|
+
list(
|
|
63
|
+
options?: RequestOptions
|
|
64
|
+
): ApiListPromise<Stripe.Capital.FinancingTransaction>;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
package/types/Cards.d.ts
CHANGED
|
@@ -77,6 +77,11 @@ declare module 'stripe' {
|
|
|
77
77
|
*/
|
|
78
78
|
brand: string;
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
82
|
+
*/
|
|
83
|
+
brand_product?: string | null;
|
|
84
|
+
|
|
80
85
|
/**
|
|
81
86
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
82
87
|
*/
|
package/types/CashBalances.d.ts
CHANGED
|
@@ -23,6 +23,11 @@ declare module 'stripe' {
|
|
|
23
23
|
*/
|
|
24
24
|
customer: string;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the account whose cash balance this object represents.
|
|
28
|
+
*/
|
|
29
|
+
customer_account?: string | null;
|
|
30
|
+
|
|
26
31
|
/**
|
|
27
32
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
28
33
|
*/
|
package/types/Charges.d.ts
CHANGED
|
@@ -434,8 +434,12 @@ declare module 'stripe' {
|
|
|
434
434
|
|
|
435
435
|
giropay?: PaymentMethodDetails.Giropay;
|
|
436
436
|
|
|
437
|
+
gopay?: PaymentMethodDetails.Gopay;
|
|
438
|
+
|
|
437
439
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
438
440
|
|
|
441
|
+
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
442
|
+
|
|
439
443
|
ideal?: PaymentMethodDetails.Ideal;
|
|
440
444
|
|
|
441
445
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
@@ -450,6 +454,8 @@ declare module 'stripe' {
|
|
|
450
454
|
|
|
451
455
|
link?: PaymentMethodDetails.Link;
|
|
452
456
|
|
|
457
|
+
mb_way?: PaymentMethodDetails.MbWay;
|
|
458
|
+
|
|
453
459
|
mobilepay?: PaymentMethodDetails.Mobilepay;
|
|
454
460
|
|
|
455
461
|
multibanco?: PaymentMethodDetails.Multibanco;
|
|
@@ -470,10 +476,16 @@ declare module 'stripe' {
|
|
|
470
476
|
|
|
471
477
|
paypal?: PaymentMethodDetails.Paypal;
|
|
472
478
|
|
|
479
|
+
payto?: PaymentMethodDetails.Payto;
|
|
480
|
+
|
|
473
481
|
pix?: PaymentMethodDetails.Pix;
|
|
474
482
|
|
|
475
483
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
476
484
|
|
|
485
|
+
qris?: PaymentMethodDetails.Qris;
|
|
486
|
+
|
|
487
|
+
rechnung?: PaymentMethodDetails.Rechnung;
|
|
488
|
+
|
|
477
489
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
478
490
|
|
|
479
491
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
@@ -484,10 +496,14 @@ declare module 'stripe' {
|
|
|
484
496
|
|
|
485
497
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
486
498
|
|
|
499
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
500
|
+
|
|
487
501
|
sofort?: PaymentMethodDetails.Sofort;
|
|
488
502
|
|
|
489
503
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
490
504
|
|
|
505
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
506
|
+
|
|
491
507
|
swish?: PaymentMethodDetails.Swish;
|
|
492
508
|
|
|
493
509
|
twint?: PaymentMethodDetails.Twint;
|
|
@@ -689,6 +705,11 @@ declare module 'stripe' {
|
|
|
689
705
|
*/
|
|
690
706
|
brand: string | null;
|
|
691
707
|
|
|
708
|
+
/**
|
|
709
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
710
|
+
*/
|
|
711
|
+
brand_product?: string | null;
|
|
712
|
+
|
|
692
713
|
/**
|
|
693
714
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
694
715
|
*/
|
|
@@ -836,6 +857,11 @@ declare module 'stripe' {
|
|
|
836
857
|
*/
|
|
837
858
|
amount_authorized: number | null;
|
|
838
859
|
|
|
860
|
+
/**
|
|
861
|
+
* The latest amount intended to be authorized by this charge.
|
|
862
|
+
*/
|
|
863
|
+
amount_requested?: number | null;
|
|
864
|
+
|
|
839
865
|
/**
|
|
840
866
|
* Authorization code on the charge.
|
|
841
867
|
*/
|
|
@@ -861,6 +887,8 @@ declare module 'stripe' {
|
|
|
861
887
|
*/
|
|
862
888
|
country: string | null;
|
|
863
889
|
|
|
890
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
891
|
+
|
|
864
892
|
/**
|
|
865
893
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
866
894
|
*/
|
|
@@ -943,6 +971,8 @@ declare module 'stripe' {
|
|
|
943
971
|
|
|
944
972
|
overcapture?: Card.Overcapture;
|
|
945
973
|
|
|
974
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
975
|
+
|
|
946
976
|
/**
|
|
947
977
|
* Status of a card based on the card issuer.
|
|
948
978
|
*/
|
|
@@ -977,6 +1007,17 @@ declare module 'stripe' {
|
|
|
977
1007
|
cvc_check: string | null;
|
|
978
1008
|
}
|
|
979
1009
|
|
|
1010
|
+
interface DecrementalAuthorization {
|
|
1011
|
+
/**
|
|
1012
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1013
|
+
*/
|
|
1014
|
+
status: DecrementalAuthorization.Status;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
namespace DecrementalAuthorization {
|
|
1018
|
+
type Status = 'available' | 'unavailable';
|
|
1019
|
+
}
|
|
1020
|
+
|
|
980
1021
|
interface ExtendedAuthorization {
|
|
981
1022
|
/**
|
|
982
1023
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1064,6 +1105,21 @@ declare module 'stripe' {
|
|
|
1064
1105
|
type Status = 'available' | 'unavailable';
|
|
1065
1106
|
}
|
|
1066
1107
|
|
|
1108
|
+
interface PartialAuthorization {
|
|
1109
|
+
/**
|
|
1110
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1111
|
+
*/
|
|
1112
|
+
status: PartialAuthorization.Status;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
namespace PartialAuthorization {
|
|
1116
|
+
type Status =
|
|
1117
|
+
| 'declined'
|
|
1118
|
+
| 'fully_authorized'
|
|
1119
|
+
| 'not_requested'
|
|
1120
|
+
| 'partially_authorized';
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1067
1123
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1068
1124
|
|
|
1069
1125
|
interface ThreeDSecure {
|
|
@@ -1603,6 +1659,8 @@ declare module 'stripe' {
|
|
|
1603
1659
|
verified_name: string | null;
|
|
1604
1660
|
}
|
|
1605
1661
|
|
|
1662
|
+
interface Gopay {}
|
|
1663
|
+
|
|
1606
1664
|
interface Grabpay {
|
|
1607
1665
|
/**
|
|
1608
1666
|
* Unique transaction id generated by GrabPay
|
|
@@ -1610,6 +1668,37 @@ declare module 'stripe' {
|
|
|
1610
1668
|
transaction_id: string | null;
|
|
1611
1669
|
}
|
|
1612
1670
|
|
|
1671
|
+
interface IdBankTransfer {
|
|
1672
|
+
/**
|
|
1673
|
+
* Account number of the bank account to transfer funds to.
|
|
1674
|
+
*/
|
|
1675
|
+
account_number: string;
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Bank where the account is located.
|
|
1679
|
+
*/
|
|
1680
|
+
bank: IdBankTransfer.Bank;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Local bank code of the bank.
|
|
1684
|
+
*/
|
|
1685
|
+
bank_code?: string;
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* Name of the bank associated with the bank account.
|
|
1689
|
+
*/
|
|
1690
|
+
bank_name?: string;
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1694
|
+
*/
|
|
1695
|
+
display_name?: string;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
namespace IdBankTransfer {
|
|
1699
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1613
1702
|
interface Ideal {
|
|
1614
1703
|
/**
|
|
1615
1704
|
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -1963,6 +2052,8 @@ declare module 'stripe' {
|
|
|
1963
2052
|
country: string | null;
|
|
1964
2053
|
}
|
|
1965
2054
|
|
|
2055
|
+
interface MbWay {}
|
|
2056
|
+
|
|
1966
2057
|
interface Mobilepay {
|
|
1967
2058
|
/**
|
|
1968
2059
|
* Internal card details
|
|
@@ -2170,10 +2261,36 @@ declare module 'stripe' {
|
|
|
2170
2261
|
*/
|
|
2171
2262
|
seller_protection: Paypal.SellerProtection | null;
|
|
2172
2263
|
|
|
2264
|
+
/**
|
|
2265
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2266
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2267
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2268
|
+
*/
|
|
2269
|
+
shipping?: Stripe.Address | null;
|
|
2270
|
+
|
|
2173
2271
|
/**
|
|
2174
2272
|
* A unique ID generated by PayPal for this transaction.
|
|
2175
2273
|
*/
|
|
2176
2274
|
transaction_id: string | null;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2278
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2279
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2280
|
+
*/
|
|
2281
|
+
verified_address?: Stripe.Address | null;
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
2285
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2286
|
+
*/
|
|
2287
|
+
verified_email?: string | null;
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
2291
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2292
|
+
*/
|
|
2293
|
+
verified_name?: string | null;
|
|
2177
2294
|
}
|
|
2178
2295
|
|
|
2179
2296
|
namespace Paypal {
|
|
@@ -2196,11 +2313,38 @@ declare module 'stripe' {
|
|
|
2196
2313
|
}
|
|
2197
2314
|
}
|
|
2198
2315
|
|
|
2316
|
+
interface Payto {
|
|
2317
|
+
/**
|
|
2318
|
+
* Bank-State-Branch number of the bank account.
|
|
2319
|
+
*/
|
|
2320
|
+
bsb_number: string | null;
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Last four digits of the bank account number.
|
|
2324
|
+
*/
|
|
2325
|
+
last4: string | null;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* ID of the mandate used to make this payment.
|
|
2329
|
+
*/
|
|
2330
|
+
mandate?: string;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* The PayID alias for the bank account.
|
|
2334
|
+
*/
|
|
2335
|
+
pay_id: string | null;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2199
2338
|
interface Pix {
|
|
2200
2339
|
/**
|
|
2201
2340
|
* Unique transaction id generated by BCB
|
|
2202
2341
|
*/
|
|
2203
2342
|
bank_transaction_id?: string | null;
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* ID of the multi use Mandate generated by the PaymentIntent
|
|
2346
|
+
*/
|
|
2347
|
+
mandate?: string;
|
|
2204
2348
|
}
|
|
2205
2349
|
|
|
2206
2350
|
interface Promptpay {
|
|
@@ -2210,6 +2354,10 @@ declare module 'stripe' {
|
|
|
2210
2354
|
reference: string | null;
|
|
2211
2355
|
}
|
|
2212
2356
|
|
|
2357
|
+
interface Qris {}
|
|
2358
|
+
|
|
2359
|
+
interface Rechnung {}
|
|
2360
|
+
|
|
2213
2361
|
interface RevolutPay {
|
|
2214
2362
|
funding?: RevolutPay.Funding;
|
|
2215
2363
|
|
|
@@ -2236,6 +2384,11 @@ declare module 'stripe' {
|
|
|
2236
2384
|
*/
|
|
2237
2385
|
brand: string | null;
|
|
2238
2386
|
|
|
2387
|
+
/**
|
|
2388
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
2389
|
+
*/
|
|
2390
|
+
brand_product?: string | null;
|
|
2391
|
+
|
|
2239
2392
|
/**
|
|
2240
2393
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2241
2394
|
*/
|
|
@@ -2332,6 +2485,8 @@ declare module 'stripe' {
|
|
|
2332
2485
|
mandate: string | null;
|
|
2333
2486
|
}
|
|
2334
2487
|
|
|
2488
|
+
interface Shopeepay {}
|
|
2489
|
+
|
|
2335
2490
|
interface Sofort {
|
|
2336
2491
|
/**
|
|
2337
2492
|
* Bank code of bank associated with the bank account.
|
|
@@ -2394,6 +2549,22 @@ declare module 'stripe' {
|
|
|
2394
2549
|
|
|
2395
2550
|
interface StripeAccount {}
|
|
2396
2551
|
|
|
2552
|
+
interface StripeBalance {
|
|
2553
|
+
/**
|
|
2554
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2555
|
+
*/
|
|
2556
|
+
account?: string | null;
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2560
|
+
*/
|
|
2561
|
+
source_type: StripeBalance.SourceType;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
namespace StripeBalance {
|
|
2565
|
+
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2397
2568
|
interface Swish {
|
|
2398
2569
|
/**
|
|
2399
2570
|
* Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|