stripe 17.3.0-beta.1 → 17.3.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 +148 -918
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/V2/Core/EventDestinations.js +41 -0
- package/cjs/resources/V2/Core.js +2 -0
- package/cjs/resources.js +10 -42
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/V2/Core/EventDestinations.js +38 -0
- package/esm/resources/V2/Core.js +2 -0
- package/esm/resources.js +0 -29
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -324
- package/types/Accounts.d.ts +1 -155
- package/types/AccountsResource.d.ts +1 -415
- package/types/Charges.d.ts +0 -83
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +79 -302
- package/types/Checkout/SessionsResource.d.ts +85 -354
- package/types/ConfirmationTokens.d.ts +0 -82
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -6
- package/types/Disputes.d.ts +3 -3
- package/types/EventTypes.d.ts +18 -545
- package/types/Events.d.ts +1 -90
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -124
- package/types/InvoicesResource.d.ts +1855 -5503
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -613
- package/types/PaymentIntentsResource.d.ts +3687 -7740
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -82
- package/types/PaymentMethodsResource.d.ts +0 -115
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +1 -4
- package/types/SetupAttempts.d.ts +0 -11
- package/types/SetupIntents.d.ts +1 -112
- package/types/SetupIntentsResource.d.ts +3 -594
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -87
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
- package/types/V2/Core/EventsResource.d.ts +1 -1
- package/types/V2/CoreResource.d.ts +1 -0
- package/types/V2/EventDestinations.d.ts +164 -0
- package/types/WebhookEndpointsResource.d.ts +4 -65
- package/types/index.d.ts +2 -53
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1154
- package/types/OrdersResource.d.ts +0 -2911
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1601
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
|
@@ -53,8 +53,6 @@ declare module 'stripe' {
|
|
|
53
53
|
*/
|
|
54
54
|
application_fee_amount: number | null;
|
|
55
55
|
|
|
56
|
-
async_workflows?: PaymentIntent.AsyncWorkflows;
|
|
57
|
-
|
|
58
56
|
/**
|
|
59
57
|
* Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
60
58
|
*/
|
|
@@ -148,8 +146,6 @@ declare module 'stripe' {
|
|
|
148
146
|
*/
|
|
149
147
|
on_behalf_of: string | Stripe.Account | null;
|
|
150
148
|
|
|
151
|
-
payment_details?: PaymentIntent.PaymentDetails;
|
|
152
|
-
|
|
153
149
|
/**
|
|
154
150
|
* ID of the payment method used in this PaymentIntent.
|
|
155
151
|
*/
|
|
@@ -185,11 +181,6 @@ declare module 'stripe' {
|
|
|
185
181
|
*/
|
|
186
182
|
review: string | Stripe.Review | null;
|
|
187
183
|
|
|
188
|
-
/**
|
|
189
|
-
* Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
190
|
-
*/
|
|
191
|
-
secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
|
|
192
|
-
|
|
193
184
|
/**
|
|
194
185
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
195
186
|
*
|
|
@@ -257,25 +248,6 @@ declare module 'stripe' {
|
|
|
257
248
|
}
|
|
258
249
|
}
|
|
259
250
|
|
|
260
|
-
interface AsyncWorkflows {
|
|
261
|
-
inputs?: AsyncWorkflows.Inputs;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
namespace AsyncWorkflows {
|
|
265
|
-
interface Inputs {
|
|
266
|
-
tax?: Inputs.Tax;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
namespace Inputs {
|
|
270
|
-
interface Tax {
|
|
271
|
-
/**
|
|
272
|
-
* The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
273
|
-
*/
|
|
274
|
-
calculation: string;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
251
|
interface AutomaticPaymentMethods {
|
|
280
252
|
/**
|
|
281
253
|
* Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
@@ -455,15 +427,11 @@ declare module 'stripe' {
|
|
|
455
427
|
| 'email_invalid'
|
|
456
428
|
| 'expired_card'
|
|
457
429
|
| 'financial_connections_account_inactive'
|
|
458
|
-
| 'financial_connections_institution_unavailable'
|
|
459
430
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
460
431
|
| 'forwarding_api_inactive'
|
|
461
432
|
| 'forwarding_api_invalid_parameter'
|
|
462
433
|
| 'forwarding_api_upstream_connection_error'
|
|
463
434
|
| 'forwarding_api_upstream_connection_timeout'
|
|
464
|
-
| 'gift_card_balance_insufficient'
|
|
465
|
-
| 'gift_card_code_exists'
|
|
466
|
-
| 'gift_card_inactive'
|
|
467
435
|
| 'idempotency_key_in_use'
|
|
468
436
|
| 'incorrect_address'
|
|
469
437
|
| 'incorrect_cvc'
|
|
@@ -537,7 +505,6 @@ declare module 'stripe' {
|
|
|
537
505
|
| 'payment_method_unexpected_state'
|
|
538
506
|
| 'payment_method_unsupported_type'
|
|
539
507
|
| 'payout_reconciliation_not_ready'
|
|
540
|
-
| 'payout_statement_descriptor_profanity'
|
|
541
508
|
| 'payouts_limit_exceeded'
|
|
542
509
|
| 'payouts_not_allowed'
|
|
543
510
|
| 'platform_account_required'
|
|
@@ -554,7 +521,6 @@ declare module 'stripe' {
|
|
|
554
521
|
| 'return_intent_already_processed'
|
|
555
522
|
| 'routing_number_invalid'
|
|
556
523
|
| 'secret_key_required'
|
|
557
|
-
| 'sensitive_data_access_expired'
|
|
558
524
|
| 'sepa_unsupported_account'
|
|
559
525
|
| 'setup_attempt_failed'
|
|
560
526
|
| 'setup_intent_authentication_failure'
|
|
@@ -572,7 +538,6 @@ declare module 'stripe' {
|
|
|
572
538
|
| 'taxes_calculation_failed'
|
|
573
539
|
| 'terminal_location_country_unsupported'
|
|
574
540
|
| 'terminal_reader_busy'
|
|
575
|
-
| 'terminal_reader_collected_data_invalid'
|
|
576
541
|
| 'terminal_reader_hardware_fault'
|
|
577
542
|
| 'terminal_reader_invalid_location_for_activation'
|
|
578
543
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -1300,289 +1265,6 @@ declare module 'stripe' {
|
|
|
1300
1265
|
}
|
|
1301
1266
|
}
|
|
1302
1267
|
|
|
1303
|
-
interface PaymentDetails {
|
|
1304
|
-
car_rental?: PaymentDetails.CarRental;
|
|
1305
|
-
|
|
1306
|
-
event_details?: PaymentDetails.EventDetails;
|
|
1307
|
-
|
|
1308
|
-
subscription?: PaymentDetails.Subscription;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
namespace PaymentDetails {
|
|
1312
|
-
interface CarRental {
|
|
1313
|
-
affiliate?: CarRental.Affiliate;
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* The booking number associated with the car rental.
|
|
1317
|
-
*/
|
|
1318
|
-
booking_number: string;
|
|
1319
|
-
|
|
1320
|
-
/**
|
|
1321
|
-
* Class code of the car.
|
|
1322
|
-
*/
|
|
1323
|
-
car_class_code?: string;
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* Make of the car.
|
|
1327
|
-
*/
|
|
1328
|
-
car_make?: string;
|
|
1329
|
-
|
|
1330
|
-
/**
|
|
1331
|
-
* Model of the car.
|
|
1332
|
-
*/
|
|
1333
|
-
car_model?: string;
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* The name of the rental car company.
|
|
1337
|
-
*/
|
|
1338
|
-
company?: string;
|
|
1339
|
-
|
|
1340
|
-
/**
|
|
1341
|
-
* The customer service phone number of the car rental company.
|
|
1342
|
-
*/
|
|
1343
|
-
customer_service_phone_number?: string;
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* Number of days the car is being rented.
|
|
1347
|
-
*/
|
|
1348
|
-
days_rented: number;
|
|
1349
|
-
|
|
1350
|
-
delivery?: CarRental.Delivery;
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* The details of the drivers associated with the trip.
|
|
1354
|
-
*/
|
|
1355
|
-
drivers?: Array<CarRental.Driver>;
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* List of additional charges being billed.
|
|
1359
|
-
*/
|
|
1360
|
-
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
1361
|
-
|
|
1362
|
-
/**
|
|
1363
|
-
* Indicates if the customer did not keep nor cancel their booking.
|
|
1364
|
-
*/
|
|
1365
|
-
no_show?: boolean;
|
|
1366
|
-
|
|
1367
|
-
pickup_address?: Stripe.Address;
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1371
|
-
*/
|
|
1372
|
-
pickup_at: number;
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Rental rate.
|
|
1376
|
-
*/
|
|
1377
|
-
rate_amount?: number;
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1381
|
-
*/
|
|
1382
|
-
rate_interval?: CarRental.RateInterval;
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
* The full name of the person or entity renting the car.
|
|
1386
|
-
*/
|
|
1387
|
-
renter_name?: string;
|
|
1388
|
-
|
|
1389
|
-
return_address?: Stripe.Address;
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
* Car return time. Measured in seconds since the Unix epoch.
|
|
1393
|
-
*/
|
|
1394
|
-
return_at: number;
|
|
1395
|
-
|
|
1396
|
-
/**
|
|
1397
|
-
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1398
|
-
*/
|
|
1399
|
-
tax_exempt?: boolean;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
namespace CarRental {
|
|
1403
|
-
interface Affiliate {
|
|
1404
|
-
/**
|
|
1405
|
-
* The name of the affiliate that originated the purchase.
|
|
1406
|
-
*/
|
|
1407
|
-
name?: string;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
interface Delivery {
|
|
1411
|
-
/**
|
|
1412
|
-
* The delivery method for the payment
|
|
1413
|
-
*/
|
|
1414
|
-
mode?: Delivery.Mode;
|
|
1415
|
-
|
|
1416
|
-
recipient?: Delivery.Recipient;
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
namespace Delivery {
|
|
1420
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1421
|
-
|
|
1422
|
-
interface Recipient {
|
|
1423
|
-
/**
|
|
1424
|
-
* The email of the recipient the ticket is delivered to.
|
|
1425
|
-
*/
|
|
1426
|
-
email?: string;
|
|
1427
|
-
|
|
1428
|
-
/**
|
|
1429
|
-
* The name of the recipient the ticket is delivered to.
|
|
1430
|
-
*/
|
|
1431
|
-
name?: string;
|
|
1432
|
-
|
|
1433
|
-
/**
|
|
1434
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1435
|
-
*/
|
|
1436
|
-
phone?: string;
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
interface Driver {
|
|
1441
|
-
/**
|
|
1442
|
-
* Full name of the driver on the reservation.
|
|
1443
|
-
*/
|
|
1444
|
-
name?: string;
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
type ExtraCharge =
|
|
1448
|
-
| 'extra_mileage'
|
|
1449
|
-
| 'gas'
|
|
1450
|
-
| 'late_return'
|
|
1451
|
-
| 'one_way_service'
|
|
1452
|
-
| 'parking_violation';
|
|
1453
|
-
|
|
1454
|
-
type RateInterval = 'day' | 'month' | 'week';
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
interface EventDetails {
|
|
1458
|
-
/**
|
|
1459
|
-
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1460
|
-
*/
|
|
1461
|
-
access_controlled_venue?: boolean;
|
|
1462
|
-
|
|
1463
|
-
address?: Stripe.Address;
|
|
1464
|
-
|
|
1465
|
-
affiliate?: EventDetails.Affiliate;
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* The name of the company
|
|
1469
|
-
*/
|
|
1470
|
-
company?: string;
|
|
1471
|
-
|
|
1472
|
-
delivery?: EventDetails.Delivery;
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* Event end time. Measured in seconds since the Unix epoch.
|
|
1476
|
-
*/
|
|
1477
|
-
ends_at?: number;
|
|
1478
|
-
|
|
1479
|
-
/**
|
|
1480
|
-
* Type of the event entertainment (concert, sports event etc)
|
|
1481
|
-
*/
|
|
1482
|
-
genre?: string;
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* The name of the event.
|
|
1486
|
-
*/
|
|
1487
|
-
name?: string;
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* Event start time. Measured in seconds since the Unix epoch.
|
|
1491
|
-
*/
|
|
1492
|
-
starts_at?: number;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
namespace EventDetails {
|
|
1496
|
-
interface Affiliate {
|
|
1497
|
-
/**
|
|
1498
|
-
* The name of the affiliate that originated the purchase.
|
|
1499
|
-
*/
|
|
1500
|
-
name?: string;
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
interface Delivery {
|
|
1504
|
-
/**
|
|
1505
|
-
* The delivery method for the payment
|
|
1506
|
-
*/
|
|
1507
|
-
mode?: Delivery.Mode;
|
|
1508
|
-
|
|
1509
|
-
recipient?: Delivery.Recipient;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
namespace Delivery {
|
|
1513
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1514
|
-
|
|
1515
|
-
interface Recipient {
|
|
1516
|
-
/**
|
|
1517
|
-
* The email of the recipient the ticket is delivered to.
|
|
1518
|
-
*/
|
|
1519
|
-
email?: string;
|
|
1520
|
-
|
|
1521
|
-
/**
|
|
1522
|
-
* The name of the recipient the ticket is delivered to.
|
|
1523
|
-
*/
|
|
1524
|
-
name?: string;
|
|
1525
|
-
|
|
1526
|
-
/**
|
|
1527
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1528
|
-
*/
|
|
1529
|
-
phone?: string;
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
interface Subscription {
|
|
1535
|
-
affiliate?: Subscription.Affiliate;
|
|
1536
|
-
|
|
1537
|
-
/**
|
|
1538
|
-
* Info whether the subscription will be auto renewed upon expiry.
|
|
1539
|
-
*/
|
|
1540
|
-
auto_renewal?: boolean;
|
|
1541
|
-
|
|
1542
|
-
billing_interval?: Subscription.BillingInterval;
|
|
1543
|
-
|
|
1544
|
-
/**
|
|
1545
|
-
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1546
|
-
*/
|
|
1547
|
-
ends_at?: number;
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1551
|
-
*/
|
|
1552
|
-
name?: string;
|
|
1553
|
-
|
|
1554
|
-
/**
|
|
1555
|
-
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1556
|
-
*/
|
|
1557
|
-
starts_at?: number;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
namespace Subscription {
|
|
1561
|
-
interface Affiliate {
|
|
1562
|
-
/**
|
|
1563
|
-
* The name of the affiliate that originated the purchase.
|
|
1564
|
-
*/
|
|
1565
|
-
name?: string;
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
interface BillingInterval {
|
|
1569
|
-
/**
|
|
1570
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1571
|
-
*/
|
|
1572
|
-
count?: number;
|
|
1573
|
-
|
|
1574
|
-
/**
|
|
1575
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1576
|
-
*/
|
|
1577
|
-
interval?: BillingInterval.Interval;
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
namespace BillingInterval {
|
|
1581
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
1268
|
interface PaymentMethodConfigurationDetails {
|
|
1587
1269
|
/**
|
|
1588
1270
|
* ID of the payment method configuration used.
|
|
@@ -1632,8 +1314,6 @@ declare module 'stripe' {
|
|
|
1632
1314
|
|
|
1633
1315
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1634
1316
|
|
|
1635
|
-
gopay?: PaymentMethodOptions.Gopay;
|
|
1636
|
-
|
|
1637
1317
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1638
1318
|
|
|
1639
1319
|
ideal?: PaymentMethodOptions.Ideal;
|
|
@@ -1650,8 +1330,6 @@ declare module 'stripe' {
|
|
|
1650
1330
|
|
|
1651
1331
|
link?: PaymentMethodOptions.Link;
|
|
1652
1332
|
|
|
1653
|
-
mb_way?: PaymentMethodOptions.MbWay;
|
|
1654
|
-
|
|
1655
1333
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1656
1334
|
|
|
1657
1335
|
multibanco?: PaymentMethodOptions.Multibanco;
|
|
@@ -1668,24 +1346,16 @@ declare module 'stripe' {
|
|
|
1668
1346
|
|
|
1669
1347
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1670
1348
|
|
|
1671
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1672
|
-
|
|
1673
1349
|
pix?: PaymentMethodOptions.Pix;
|
|
1674
1350
|
|
|
1675
1351
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1676
1352
|
|
|
1677
|
-
qris?: PaymentMethodOptions.Qris;
|
|
1678
|
-
|
|
1679
|
-
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1680
|
-
|
|
1681
1353
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1682
1354
|
|
|
1683
1355
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
1684
1356
|
|
|
1685
1357
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1686
1358
|
|
|
1687
|
-
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1688
|
-
|
|
1689
1359
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1690
1360
|
|
|
1691
1361
|
swish?: PaymentMethodOptions.Swish;
|
|
@@ -1967,11 +1637,6 @@ declare module 'stripe' {
|
|
|
1967
1637
|
*/
|
|
1968
1638
|
network: Card.Network | null;
|
|
1969
1639
|
|
|
1970
|
-
/**
|
|
1971
|
-
* Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
1972
|
-
*/
|
|
1973
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1974
|
-
|
|
1975
1640
|
/**
|
|
1976
1641
|
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1977
1642
|
*/
|
|
@@ -2022,8 +1687,6 @@ declare module 'stripe' {
|
|
|
2022
1687
|
* Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2023
1688
|
*/
|
|
2024
1689
|
statement_descriptor_suffix_kanji?: string;
|
|
2025
|
-
|
|
2026
|
-
statement_details?: Card.StatementDetails;
|
|
2027
1690
|
}
|
|
2028
1691
|
|
|
2029
1692
|
namespace Card {
|
|
@@ -2149,8 +1812,6 @@ declare module 'stripe' {
|
|
|
2149
1812
|
| 'unknown'
|
|
2150
1813
|
| 'visa';
|
|
2151
1814
|
|
|
2152
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2153
|
-
|
|
2154
1815
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
2155
1816
|
|
|
2156
1817
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -2162,49 +1823,6 @@ declare module 'stripe' {
|
|
|
2162
1823
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2163
1824
|
|
|
2164
1825
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2165
|
-
|
|
2166
|
-
interface StatementDetails {
|
|
2167
|
-
address?: StatementDetails.Address;
|
|
2168
|
-
|
|
2169
|
-
/**
|
|
2170
|
-
* Phone number
|
|
2171
|
-
*/
|
|
2172
|
-
phone?: string;
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
namespace StatementDetails {
|
|
2176
|
-
interface Address {
|
|
2177
|
-
/**
|
|
2178
|
-
* City, district, suburb, town, or village.
|
|
2179
|
-
*/
|
|
2180
|
-
city?: string;
|
|
2181
|
-
|
|
2182
|
-
/**
|
|
2183
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2184
|
-
*/
|
|
2185
|
-
country?: string;
|
|
2186
|
-
|
|
2187
|
-
/**
|
|
2188
|
-
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2189
|
-
*/
|
|
2190
|
-
line1?: string;
|
|
2191
|
-
|
|
2192
|
-
/**
|
|
2193
|
-
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2194
|
-
*/
|
|
2195
|
-
line2?: string;
|
|
2196
|
-
|
|
2197
|
-
/**
|
|
2198
|
-
* ZIP or postal code.
|
|
2199
|
-
*/
|
|
2200
|
-
postal_code?: string;
|
|
2201
|
-
|
|
2202
|
-
/**
|
|
2203
|
-
* State, county, province, or region.
|
|
2204
|
-
*/
|
|
2205
|
-
state?: string;
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
1826
|
}
|
|
2209
1827
|
|
|
2210
1828
|
interface CardPresent {
|
|
@@ -2362,19 +1980,6 @@ declare module 'stripe' {
|
|
|
2362
1980
|
setup_future_usage?: 'none';
|
|
2363
1981
|
}
|
|
2364
1982
|
|
|
2365
|
-
interface Gopay {
|
|
2366
|
-
/**
|
|
2367
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2368
|
-
*
|
|
2369
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2370
|
-
*
|
|
2371
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2372
|
-
*
|
|
2373
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2374
|
-
*/
|
|
2375
|
-
setup_future_usage?: 'none';
|
|
2376
|
-
}
|
|
2377
|
-
|
|
2378
1983
|
interface Grabpay {
|
|
2379
1984
|
/**
|
|
2380
1985
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2535,19 +2140,6 @@ declare module 'stripe' {
|
|
|
2535
2140
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2536
2141
|
}
|
|
2537
2142
|
|
|
2538
|
-
interface MbWay {
|
|
2539
|
-
/**
|
|
2540
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2541
|
-
*
|
|
2542
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2543
|
-
*
|
|
2544
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2545
|
-
*
|
|
2546
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2547
|
-
*/
|
|
2548
|
-
setup_future_usage?: 'none';
|
|
2549
|
-
}
|
|
2550
|
-
|
|
2551
2143
|
interface Mobilepay {
|
|
2552
2144
|
/**
|
|
2553
2145
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2643,11 +2235,6 @@ declare module 'stripe' {
|
|
|
2643
2235
|
*/
|
|
2644
2236
|
capture_method?: 'manual';
|
|
2645
2237
|
|
|
2646
|
-
/**
|
|
2647
|
-
* The line items purchased by the customer.
|
|
2648
|
-
*/
|
|
2649
|
-
line_items?: Array<Paypal.LineItem>;
|
|
2650
|
-
|
|
2651
2238
|
/**
|
|
2652
2239
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2653
2240
|
*/
|
|
@@ -2658,11 +2245,6 @@ declare module 'stripe' {
|
|
|
2658
2245
|
*/
|
|
2659
2246
|
reference: string | null;
|
|
2660
2247
|
|
|
2661
|
-
/**
|
|
2662
|
-
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2663
|
-
*/
|
|
2664
|
-
reference_id?: string | null;
|
|
2665
|
-
|
|
2666
2248
|
/**
|
|
2667
2249
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2668
2250
|
*
|
|
@@ -2673,151 +2255,9 @@ declare module 'stripe' {
|
|
|
2673
2255
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2674
2256
|
*/
|
|
2675
2257
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
2676
|
-
|
|
2677
|
-
/**
|
|
2678
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
2679
|
-
*/
|
|
2680
|
-
subsellers?: Array<string>;
|
|
2681
2258
|
}
|
|
2682
2259
|
|
|
2683
2260
|
namespace Paypal {
|
|
2684
|
-
interface LineItem {
|
|
2685
|
-
/**
|
|
2686
|
-
* Type of the line item.
|
|
2687
|
-
*/
|
|
2688
|
-
category?: LineItem.Category;
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* Description of the line item.
|
|
2692
|
-
*/
|
|
2693
|
-
description?: string;
|
|
2694
|
-
|
|
2695
|
-
/**
|
|
2696
|
-
* Descriptive name of the line item.
|
|
2697
|
-
*/
|
|
2698
|
-
name: string;
|
|
2699
|
-
|
|
2700
|
-
/**
|
|
2701
|
-
* Quantity of the line item. Cannot be a negative number.
|
|
2702
|
-
*/
|
|
2703
|
-
quantity: number;
|
|
2704
|
-
|
|
2705
|
-
/**
|
|
2706
|
-
* Client facing stock keeping unit, article number or similar.
|
|
2707
|
-
*/
|
|
2708
|
-
sku?: string;
|
|
2709
|
-
|
|
2710
|
-
/**
|
|
2711
|
-
* The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
2712
|
-
*/
|
|
2713
|
-
sold_by?: string;
|
|
2714
|
-
|
|
2715
|
-
tax?: LineItem.Tax;
|
|
2716
|
-
|
|
2717
|
-
/**
|
|
2718
|
-
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2719
|
-
*/
|
|
2720
|
-
unit_amount: number;
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
namespace LineItem {
|
|
2724
|
-
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
2725
|
-
|
|
2726
|
-
interface Tax {
|
|
2727
|
-
/**
|
|
2728
|
-
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2729
|
-
*/
|
|
2730
|
-
amount: number;
|
|
2731
|
-
|
|
2732
|
-
/**
|
|
2733
|
-
* The tax behavior for the line item.
|
|
2734
|
-
*/
|
|
2735
|
-
behavior: Tax.Behavior;
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
namespace Tax {
|
|
2739
|
-
type Behavior = 'exclusive' | 'inclusive';
|
|
2740
|
-
}
|
|
2741
|
-
}
|
|
2742
|
-
|
|
2743
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2746
|
-
interface Payto {
|
|
2747
|
-
mandate_options?: Payto.MandateOptions;
|
|
2748
|
-
|
|
2749
|
-
/**
|
|
2750
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2751
|
-
*
|
|
2752
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2753
|
-
*
|
|
2754
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2755
|
-
*
|
|
2756
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2757
|
-
*/
|
|
2758
|
-
setup_future_usage?: Payto.SetupFutureUsage;
|
|
2759
|
-
}
|
|
2760
|
-
|
|
2761
|
-
namespace Payto {
|
|
2762
|
-
interface MandateOptions {
|
|
2763
|
-
/**
|
|
2764
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2765
|
-
*/
|
|
2766
|
-
amount: number | null;
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2770
|
-
*/
|
|
2771
|
-
amount_type: MandateOptions.AmountType | null;
|
|
2772
|
-
|
|
2773
|
-
/**
|
|
2774
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2775
|
-
*/
|
|
2776
|
-
end_date: string | null;
|
|
2777
|
-
|
|
2778
|
-
/**
|
|
2779
|
-
* The periodicity at which payments will be collected.
|
|
2780
|
-
*/
|
|
2781
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
2782
|
-
|
|
2783
|
-
/**
|
|
2784
|
-
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2785
|
-
*/
|
|
2786
|
-
payments_per_period: number | null;
|
|
2787
|
-
|
|
2788
|
-
/**
|
|
2789
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
2790
|
-
*/
|
|
2791
|
-
purpose: MandateOptions.Purpose | null;
|
|
2792
|
-
}
|
|
2793
|
-
|
|
2794
|
-
namespace MandateOptions {
|
|
2795
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2796
|
-
|
|
2797
|
-
type PaymentSchedule =
|
|
2798
|
-
| 'adhoc'
|
|
2799
|
-
| 'annual'
|
|
2800
|
-
| 'daily'
|
|
2801
|
-
| 'fortnightly'
|
|
2802
|
-
| 'monthly'
|
|
2803
|
-
| 'quarterly'
|
|
2804
|
-
| 'semi_annual'
|
|
2805
|
-
| 'weekly';
|
|
2806
|
-
|
|
2807
|
-
type Purpose =
|
|
2808
|
-
| 'dependant_support'
|
|
2809
|
-
| 'government'
|
|
2810
|
-
| 'loan'
|
|
2811
|
-
| 'mortgage'
|
|
2812
|
-
| 'other'
|
|
2813
|
-
| 'pension'
|
|
2814
|
-
| 'personal'
|
|
2815
|
-
| 'retail'
|
|
2816
|
-
| 'salary'
|
|
2817
|
-
| 'tax'
|
|
2818
|
-
| 'utility';
|
|
2819
|
-
}
|
|
2820
|
-
|
|
2821
2261
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2822
2262
|
}
|
|
2823
2263
|
|
|
@@ -2857,21 +2297,6 @@ declare module 'stripe' {
|
|
|
2857
2297
|
setup_future_usage?: 'none';
|
|
2858
2298
|
}
|
|
2859
2299
|
|
|
2860
|
-
interface Qris {
|
|
2861
|
-
/**
|
|
2862
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2863
|
-
*
|
|
2864
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2865
|
-
*
|
|
2866
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2867
|
-
*
|
|
2868
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2869
|
-
*/
|
|
2870
|
-
setup_future_usage?: 'none';
|
|
2871
|
-
}
|
|
2872
|
-
|
|
2873
|
-
interface Rechnung {}
|
|
2874
|
-
|
|
2875
2300
|
interface RevolutPay {
|
|
2876
2301
|
/**
|
|
2877
2302
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2922,19 +2347,6 @@ declare module 'stripe' {
|
|
|
2922
2347
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2923
2348
|
}
|
|
2924
2349
|
|
|
2925
|
-
interface Shopeepay {
|
|
2926
|
-
/**
|
|
2927
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2928
|
-
*
|
|
2929
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2930
|
-
*
|
|
2931
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2932
|
-
*
|
|
2933
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
2934
|
-
*/
|
|
2935
|
-
setup_future_usage?: 'none';
|
|
2936
|
-
}
|
|
2937
|
-
|
|
2938
2350
|
interface Sofort {
|
|
2939
2351
|
/**
|
|
2940
2352
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -3028,8 +2440,6 @@ declare module 'stripe' {
|
|
|
3028
2440
|
interface FinancialConnections {
|
|
3029
2441
|
filters?: FinancialConnections.Filters;
|
|
3030
2442
|
|
|
3031
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3032
|
-
|
|
3033
2443
|
/**
|
|
3034
2444
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
3035
2445
|
*/
|
|
@@ -3052,39 +2462,19 @@ declare module 'stripe' {
|
|
|
3052
2462
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3053
2463
|
*/
|
|
3054
2464
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3055
|
-
|
|
3056
|
-
/**
|
|
3057
|
-
* The institution to use to filter for possible accounts to link.
|
|
3058
|
-
*/
|
|
3059
|
-
institution?: string;
|
|
3060
2465
|
}
|
|
3061
2466
|
|
|
3062
2467
|
namespace Filters {
|
|
3063
2468
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3064
2469
|
}
|
|
3065
2470
|
|
|
3066
|
-
interface ManualEntry {
|
|
3067
|
-
/**
|
|
3068
|
-
* Settings for configuring manual entry of account details.
|
|
3069
|
-
*/
|
|
3070
|
-
mode?: ManualEntry.Mode;
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
|
-
namespace ManualEntry {
|
|
3074
|
-
type Mode = 'automatic' | 'custom';
|
|
3075
|
-
}
|
|
3076
|
-
|
|
3077
2471
|
type Permission =
|
|
3078
2472
|
| 'balances'
|
|
3079
2473
|
| 'ownership'
|
|
3080
2474
|
| 'payment_method'
|
|
3081
2475
|
| 'transactions';
|
|
3082
2476
|
|
|
3083
|
-
type Prefetch =
|
|
3084
|
-
| 'balances'
|
|
3085
|
-
| 'inferred_balances'
|
|
3086
|
-
| 'ownership'
|
|
3087
|
-
| 'transactions';
|
|
2477
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3088
2478
|
}
|
|
3089
2479
|
|
|
3090
2480
|
interface MandateOptions {
|
|
@@ -3171,8 +2561,6 @@ declare module 'stripe' {
|
|
|
3171
2561
|
}
|
|
3172
2562
|
}
|
|
3173
2563
|
|
|
3174
|
-
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3175
|
-
|
|
3176
2564
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3177
2565
|
|
|
3178
2566
|
interface Shipping {
|