stripe 17.6.0-beta.2 → 17.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +124 -1035
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- 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.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- 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.js +0 -33
- 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 -222
- package/types/Accounts.d.ts +1 -190
- package/types/AccountsResource.d.ts +0 -520
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +0 -138
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -340
- package/types/Checkout/SessionsResource.d.ts +5 -445
- package/types/ConfirmationTokens.d.ts +0 -99
- 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 -7
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- 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 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- 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 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -644
- package/types/PaymentIntentsResource.d.ts +3734 -8021
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -99
- package/types/PaymentMethodsResource.d.ts +0 -133
- 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 +0 -14
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -29
- 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 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Terminal/Readers.d.ts +0 -310
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- 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/WebhookEndpointsResource.d.ts +0 -70
- package/types/index.d.ts +0 -62
- 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/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- 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/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- 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 -113
- 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/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.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 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- 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.
|
|
@@ -470,15 +442,11 @@ declare module 'stripe' {
|
|
|
470
442
|
| 'email_invalid'
|
|
471
443
|
| 'expired_card'
|
|
472
444
|
| 'financial_connections_account_inactive'
|
|
473
|
-
| 'financial_connections_institution_unavailable'
|
|
474
445
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
475
446
|
| 'forwarding_api_inactive'
|
|
476
447
|
| 'forwarding_api_invalid_parameter'
|
|
477
448
|
| 'forwarding_api_upstream_connection_error'
|
|
478
449
|
| 'forwarding_api_upstream_connection_timeout'
|
|
479
|
-
| 'gift_card_balance_insufficient'
|
|
480
|
-
| 'gift_card_code_exists'
|
|
481
|
-
| 'gift_card_inactive'
|
|
482
450
|
| 'idempotency_key_in_use'
|
|
483
451
|
| 'incorrect_address'
|
|
484
452
|
| 'incorrect_cvc'
|
|
@@ -568,7 +536,6 @@ declare module 'stripe' {
|
|
|
568
536
|
| 'return_intent_already_processed'
|
|
569
537
|
| 'routing_number_invalid'
|
|
570
538
|
| 'secret_key_required'
|
|
571
|
-
| 'sensitive_data_access_expired'
|
|
572
539
|
| 'sepa_unsupported_account'
|
|
573
540
|
| 'setup_attempt_failed'
|
|
574
541
|
| 'setup_intent_authentication_failure'
|
|
@@ -586,7 +553,6 @@ declare module 'stripe' {
|
|
|
586
553
|
| 'taxes_calculation_failed'
|
|
587
554
|
| 'terminal_location_country_unsupported'
|
|
588
555
|
| 'terminal_reader_busy'
|
|
589
|
-
| 'terminal_reader_collected_data_invalid'
|
|
590
556
|
| 'terminal_reader_hardware_fault'
|
|
591
557
|
| 'terminal_reader_invalid_location_for_activation'
|
|
592
558
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -1363,289 +1329,6 @@ declare module 'stripe' {
|
|
|
1363
1329
|
}
|
|
1364
1330
|
}
|
|
1365
1331
|
|
|
1366
|
-
interface PaymentDetails {
|
|
1367
|
-
car_rental?: PaymentDetails.CarRental;
|
|
1368
|
-
|
|
1369
|
-
event_details?: PaymentDetails.EventDetails;
|
|
1370
|
-
|
|
1371
|
-
subscription?: PaymentDetails.Subscription;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
namespace PaymentDetails {
|
|
1375
|
-
interface CarRental {
|
|
1376
|
-
affiliate?: CarRental.Affiliate;
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* The booking number associated with the car rental.
|
|
1380
|
-
*/
|
|
1381
|
-
booking_number: string;
|
|
1382
|
-
|
|
1383
|
-
/**
|
|
1384
|
-
* Class code of the car.
|
|
1385
|
-
*/
|
|
1386
|
-
car_class_code?: string;
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* Make of the car.
|
|
1390
|
-
*/
|
|
1391
|
-
car_make?: string;
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* Model of the car.
|
|
1395
|
-
*/
|
|
1396
|
-
car_model?: string;
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* The name of the rental car company.
|
|
1400
|
-
*/
|
|
1401
|
-
company?: string;
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* The customer service phone number of the car rental company.
|
|
1405
|
-
*/
|
|
1406
|
-
customer_service_phone_number?: string;
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* Number of days the car is being rented.
|
|
1410
|
-
*/
|
|
1411
|
-
days_rented: number;
|
|
1412
|
-
|
|
1413
|
-
delivery?: CarRental.Delivery;
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* The details of the drivers associated with the trip.
|
|
1417
|
-
*/
|
|
1418
|
-
drivers?: Array<CarRental.Driver>;
|
|
1419
|
-
|
|
1420
|
-
/**
|
|
1421
|
-
* List of additional charges being billed.
|
|
1422
|
-
*/
|
|
1423
|
-
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
1424
|
-
|
|
1425
|
-
/**
|
|
1426
|
-
* Indicates if the customer did not keep nor cancel their booking.
|
|
1427
|
-
*/
|
|
1428
|
-
no_show?: boolean;
|
|
1429
|
-
|
|
1430
|
-
pickup_address?: Stripe.Address;
|
|
1431
|
-
|
|
1432
|
-
/**
|
|
1433
|
-
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1434
|
-
*/
|
|
1435
|
-
pickup_at: number;
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* Rental rate.
|
|
1439
|
-
*/
|
|
1440
|
-
rate_amount?: number;
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1444
|
-
*/
|
|
1445
|
-
rate_interval?: CarRental.RateInterval;
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* The full name of the person or entity renting the car.
|
|
1449
|
-
*/
|
|
1450
|
-
renter_name?: string;
|
|
1451
|
-
|
|
1452
|
-
return_address?: Stripe.Address;
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* Car return time. Measured in seconds since the Unix epoch.
|
|
1456
|
-
*/
|
|
1457
|
-
return_at: number;
|
|
1458
|
-
|
|
1459
|
-
/**
|
|
1460
|
-
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1461
|
-
*/
|
|
1462
|
-
tax_exempt?: boolean;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
namespace CarRental {
|
|
1466
|
-
interface Affiliate {
|
|
1467
|
-
/**
|
|
1468
|
-
* The name of the affiliate that originated the purchase.
|
|
1469
|
-
*/
|
|
1470
|
-
name?: string;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
interface Delivery {
|
|
1474
|
-
/**
|
|
1475
|
-
* The delivery method for the payment
|
|
1476
|
-
*/
|
|
1477
|
-
mode?: Delivery.Mode;
|
|
1478
|
-
|
|
1479
|
-
recipient?: Delivery.Recipient;
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
namespace Delivery {
|
|
1483
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1484
|
-
|
|
1485
|
-
interface Recipient {
|
|
1486
|
-
/**
|
|
1487
|
-
* The email of the recipient the ticket is delivered to.
|
|
1488
|
-
*/
|
|
1489
|
-
email?: string;
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* The name of the recipient the ticket is delivered to.
|
|
1493
|
-
*/
|
|
1494
|
-
name?: string;
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1498
|
-
*/
|
|
1499
|
-
phone?: string;
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
interface Driver {
|
|
1504
|
-
/**
|
|
1505
|
-
* Full name of the driver on the reservation.
|
|
1506
|
-
*/
|
|
1507
|
-
name?: string;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
type ExtraCharge =
|
|
1511
|
-
| 'extra_mileage'
|
|
1512
|
-
| 'gas'
|
|
1513
|
-
| 'late_return'
|
|
1514
|
-
| 'one_way_service'
|
|
1515
|
-
| 'parking_violation';
|
|
1516
|
-
|
|
1517
|
-
type RateInterval = 'day' | 'month' | 'week';
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
interface EventDetails {
|
|
1521
|
-
/**
|
|
1522
|
-
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1523
|
-
*/
|
|
1524
|
-
access_controlled_venue?: boolean;
|
|
1525
|
-
|
|
1526
|
-
address?: Stripe.Address;
|
|
1527
|
-
|
|
1528
|
-
affiliate?: EventDetails.Affiliate;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* The name of the company
|
|
1532
|
-
*/
|
|
1533
|
-
company?: string;
|
|
1534
|
-
|
|
1535
|
-
delivery?: EventDetails.Delivery;
|
|
1536
|
-
|
|
1537
|
-
/**
|
|
1538
|
-
* Event end time. Measured in seconds since the Unix epoch.
|
|
1539
|
-
*/
|
|
1540
|
-
ends_at?: number;
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* Type of the event entertainment (concert, sports event etc)
|
|
1544
|
-
*/
|
|
1545
|
-
genre?: string;
|
|
1546
|
-
|
|
1547
|
-
/**
|
|
1548
|
-
* The name of the event.
|
|
1549
|
-
*/
|
|
1550
|
-
name?: string;
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* Event start time. Measured in seconds since the Unix epoch.
|
|
1554
|
-
*/
|
|
1555
|
-
starts_at?: number;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
namespace EventDetails {
|
|
1559
|
-
interface Affiliate {
|
|
1560
|
-
/**
|
|
1561
|
-
* The name of the affiliate that originated the purchase.
|
|
1562
|
-
*/
|
|
1563
|
-
name?: string;
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
interface Delivery {
|
|
1567
|
-
/**
|
|
1568
|
-
* The delivery method for the payment
|
|
1569
|
-
*/
|
|
1570
|
-
mode?: Delivery.Mode;
|
|
1571
|
-
|
|
1572
|
-
recipient?: Delivery.Recipient;
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
namespace Delivery {
|
|
1576
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1577
|
-
|
|
1578
|
-
interface Recipient {
|
|
1579
|
-
/**
|
|
1580
|
-
* The email of the recipient the ticket is delivered to.
|
|
1581
|
-
*/
|
|
1582
|
-
email?: string;
|
|
1583
|
-
|
|
1584
|
-
/**
|
|
1585
|
-
* The name of the recipient the ticket is delivered to.
|
|
1586
|
-
*/
|
|
1587
|
-
name?: string;
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1591
|
-
*/
|
|
1592
|
-
phone?: string;
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
interface Subscription {
|
|
1598
|
-
affiliate?: Subscription.Affiliate;
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* Info whether the subscription will be auto renewed upon expiry.
|
|
1602
|
-
*/
|
|
1603
|
-
auto_renewal?: boolean;
|
|
1604
|
-
|
|
1605
|
-
billing_interval?: Subscription.BillingInterval;
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1609
|
-
*/
|
|
1610
|
-
ends_at?: number;
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1614
|
-
*/
|
|
1615
|
-
name?: string;
|
|
1616
|
-
|
|
1617
|
-
/**
|
|
1618
|
-
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1619
|
-
*/
|
|
1620
|
-
starts_at?: number;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
namespace Subscription {
|
|
1624
|
-
interface Affiliate {
|
|
1625
|
-
/**
|
|
1626
|
-
* The name of the affiliate that originated the purchase.
|
|
1627
|
-
*/
|
|
1628
|
-
name?: string;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
interface BillingInterval {
|
|
1632
|
-
/**
|
|
1633
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1634
|
-
*/
|
|
1635
|
-
count?: number;
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1639
|
-
*/
|
|
1640
|
-
interval?: BillingInterval.Interval;
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
namespace BillingInterval {
|
|
1644
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
1332
|
interface PaymentMethodConfigurationDetails {
|
|
1650
1333
|
/**
|
|
1651
1334
|
* ID of the payment method configuration used.
|
|
@@ -1695,12 +1378,8 @@ declare module 'stripe' {
|
|
|
1695
1378
|
|
|
1696
1379
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1697
1380
|
|
|
1698
|
-
gopay?: PaymentMethodOptions.Gopay;
|
|
1699
|
-
|
|
1700
1381
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1701
1382
|
|
|
1702
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
|
|
1703
|
-
|
|
1704
1383
|
ideal?: PaymentMethodOptions.Ideal;
|
|
1705
1384
|
|
|
1706
1385
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -1715,8 +1394,6 @@ declare module 'stripe' {
|
|
|
1715
1394
|
|
|
1716
1395
|
link?: PaymentMethodOptions.Link;
|
|
1717
1396
|
|
|
1718
|
-
mb_way?: PaymentMethodOptions.MbWay;
|
|
1719
|
-
|
|
1720
1397
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1721
1398
|
|
|
1722
1399
|
multibanco?: PaymentMethodOptions.Multibanco;
|
|
@@ -1735,24 +1412,16 @@ declare module 'stripe' {
|
|
|
1735
1412
|
|
|
1736
1413
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1737
1414
|
|
|
1738
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1739
|
-
|
|
1740
1415
|
pix?: PaymentMethodOptions.Pix;
|
|
1741
1416
|
|
|
1742
1417
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1743
1418
|
|
|
1744
|
-
qris?: PaymentMethodOptions.Qris;
|
|
1745
|
-
|
|
1746
|
-
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1747
|
-
|
|
1748
1419
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1749
1420
|
|
|
1750
1421
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
1751
1422
|
|
|
1752
1423
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1753
1424
|
|
|
1754
|
-
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1755
|
-
|
|
1756
1425
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1757
1426
|
|
|
1758
1427
|
swish?: PaymentMethodOptions.Swish;
|
|
@@ -2039,11 +1708,6 @@ declare module 'stripe' {
|
|
|
2039
1708
|
*/
|
|
2040
1709
|
network: Card.Network | null;
|
|
2041
1710
|
|
|
2042
|
-
/**
|
|
2043
|
-
* Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2044
|
-
*/
|
|
2045
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
2046
|
-
|
|
2047
1711
|
/**
|
|
2048
1712
|
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2049
1713
|
*/
|
|
@@ -2064,11 +1728,6 @@ declare module 'stripe' {
|
|
|
2064
1728
|
*/
|
|
2065
1729
|
request_overcapture?: Card.RequestOvercapture;
|
|
2066
1730
|
|
|
2067
|
-
/**
|
|
2068
|
-
* Request partial authorization on this PaymentIntent.
|
|
2069
|
-
*/
|
|
2070
|
-
request_partial_authorization?: Card.RequestPartialAuthorization;
|
|
2071
|
-
|
|
2072
1731
|
/**
|
|
2073
1732
|
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2074
1733
|
*/
|
|
@@ -2099,8 +1758,6 @@ declare module 'stripe' {
|
|
|
2099
1758
|
* 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.
|
|
2100
1759
|
*/
|
|
2101
1760
|
statement_descriptor_suffix_kanji?: string;
|
|
2102
|
-
|
|
2103
|
-
statement_details?: Card.StatementDetails;
|
|
2104
1761
|
}
|
|
2105
1762
|
|
|
2106
1763
|
namespace Card {
|
|
@@ -2227,8 +1884,6 @@ declare module 'stripe' {
|
|
|
2227
1884
|
| 'unknown'
|
|
2228
1885
|
| 'visa';
|
|
2229
1886
|
|
|
2230
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2231
|
-
|
|
2232
1887
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
2233
1888
|
|
|
2234
1889
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -2237,54 +1892,9 @@ declare module 'stripe' {
|
|
|
2237
1892
|
|
|
2238
1893
|
type RequestOvercapture = 'if_available' | 'never';
|
|
2239
1894
|
|
|
2240
|
-
type RequestPartialAuthorization = 'if_available' | 'never';
|
|
2241
|
-
|
|
2242
1895
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2243
1896
|
|
|
2244
1897
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2245
|
-
|
|
2246
|
-
interface StatementDetails {
|
|
2247
|
-
address?: StatementDetails.Address;
|
|
2248
|
-
|
|
2249
|
-
/**
|
|
2250
|
-
* Phone number
|
|
2251
|
-
*/
|
|
2252
|
-
phone?: string;
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
namespace StatementDetails {
|
|
2256
|
-
interface Address {
|
|
2257
|
-
/**
|
|
2258
|
-
* City, district, suburb, town, or village.
|
|
2259
|
-
*/
|
|
2260
|
-
city?: string;
|
|
2261
|
-
|
|
2262
|
-
/**
|
|
2263
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2264
|
-
*/
|
|
2265
|
-
country?: string;
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2269
|
-
*/
|
|
2270
|
-
line1?: string;
|
|
2271
|
-
|
|
2272
|
-
/**
|
|
2273
|
-
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2274
|
-
*/
|
|
2275
|
-
line2?: string;
|
|
2276
|
-
|
|
2277
|
-
/**
|
|
2278
|
-
* ZIP or postal code.
|
|
2279
|
-
*/
|
|
2280
|
-
postal_code?: string;
|
|
2281
|
-
|
|
2282
|
-
/**
|
|
2283
|
-
* State, county, province, or region.
|
|
2284
|
-
*/
|
|
2285
|
-
state?: string;
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
1898
|
}
|
|
2289
1899
|
|
|
2290
1900
|
interface CardPresent {
|
|
@@ -2442,19 +2052,6 @@ declare module 'stripe' {
|
|
|
2442
2052
|
setup_future_usage?: 'none';
|
|
2443
2053
|
}
|
|
2444
2054
|
|
|
2445
|
-
interface Gopay {
|
|
2446
|
-
/**
|
|
2447
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2448
|
-
*
|
|
2449
|
-
* 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.
|
|
2450
|
-
*
|
|
2451
|
-
* 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.
|
|
2452
|
-
*
|
|
2453
|
-
* 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).
|
|
2454
|
-
*/
|
|
2455
|
-
setup_future_usage?: 'none';
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
2055
|
interface Grabpay {
|
|
2459
2056
|
/**
|
|
2460
2057
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2468,29 +2065,6 @@ declare module 'stripe' {
|
|
|
2468
2065
|
setup_future_usage?: 'none';
|
|
2469
2066
|
}
|
|
2470
2067
|
|
|
2471
|
-
interface IdBankTransfer {
|
|
2472
|
-
/**
|
|
2473
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2474
|
-
*/
|
|
2475
|
-
expires_after?: number | null;
|
|
2476
|
-
|
|
2477
|
-
/**
|
|
2478
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2479
|
-
*/
|
|
2480
|
-
expires_at: number | null;
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
2483
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2484
|
-
*
|
|
2485
|
-
* 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.
|
|
2486
|
-
*
|
|
2487
|
-
* 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.
|
|
2488
|
-
*
|
|
2489
|
-
* 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).
|
|
2490
|
-
*/
|
|
2491
|
-
setup_future_usage?: 'none';
|
|
2492
|
-
}
|
|
2493
|
-
|
|
2494
2068
|
interface Ideal {
|
|
2495
2069
|
/**
|
|
2496
2070
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2638,19 +2212,6 @@ declare module 'stripe' {
|
|
|
2638
2212
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2639
2213
|
}
|
|
2640
2214
|
|
|
2641
|
-
interface MbWay {
|
|
2642
|
-
/**
|
|
2643
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2644
|
-
*
|
|
2645
|
-
* 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.
|
|
2646
|
-
*
|
|
2647
|
-
* 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.
|
|
2648
|
-
*
|
|
2649
|
-
* 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).
|
|
2650
|
-
*/
|
|
2651
|
-
setup_future_usage?: 'none';
|
|
2652
|
-
}
|
|
2653
|
-
|
|
2654
2215
|
interface Mobilepay {
|
|
2655
2216
|
/**
|
|
2656
2217
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2748,11 +2309,6 @@ declare module 'stripe' {
|
|
|
2748
2309
|
*/
|
|
2749
2310
|
capture_method?: 'manual';
|
|
2750
2311
|
|
|
2751
|
-
/**
|
|
2752
|
-
* The line items purchased by the customer.
|
|
2753
|
-
*/
|
|
2754
|
-
line_items?: Array<Paypal.LineItem>;
|
|
2755
|
-
|
|
2756
2312
|
/**
|
|
2757
2313
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2758
2314
|
*/
|
|
@@ -2763,11 +2319,6 @@ declare module 'stripe' {
|
|
|
2763
2319
|
*/
|
|
2764
2320
|
reference: string | null;
|
|
2765
2321
|
|
|
2766
|
-
/**
|
|
2767
|
-
* 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.
|
|
2768
|
-
*/
|
|
2769
|
-
reference_id?: string | null;
|
|
2770
|
-
|
|
2771
2322
|
/**
|
|
2772
2323
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2773
2324
|
*
|
|
@@ -2778,151 +2329,9 @@ declare module 'stripe' {
|
|
|
2778
2329
|
* 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).
|
|
2779
2330
|
*/
|
|
2780
2331
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
2781
|
-
|
|
2782
|
-
/**
|
|
2783
|
-
* 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.
|
|
2784
|
-
*/
|
|
2785
|
-
subsellers?: Array<string>;
|
|
2786
2332
|
}
|
|
2787
2333
|
|
|
2788
2334
|
namespace Paypal {
|
|
2789
|
-
interface LineItem {
|
|
2790
|
-
/**
|
|
2791
|
-
* Type of the line item.
|
|
2792
|
-
*/
|
|
2793
|
-
category?: LineItem.Category;
|
|
2794
|
-
|
|
2795
|
-
/**
|
|
2796
|
-
* Description of the line item.
|
|
2797
|
-
*/
|
|
2798
|
-
description?: string;
|
|
2799
|
-
|
|
2800
|
-
/**
|
|
2801
|
-
* Descriptive name of the line item.
|
|
2802
|
-
*/
|
|
2803
|
-
name: string;
|
|
2804
|
-
|
|
2805
|
-
/**
|
|
2806
|
-
* Quantity of the line item. Cannot be a negative number.
|
|
2807
|
-
*/
|
|
2808
|
-
quantity: number;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* Client facing stock keeping unit, article number or similar.
|
|
2812
|
-
*/
|
|
2813
|
-
sku?: string;
|
|
2814
|
-
|
|
2815
|
-
/**
|
|
2816
|
-
* 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).
|
|
2817
|
-
*/
|
|
2818
|
-
sold_by?: string;
|
|
2819
|
-
|
|
2820
|
-
tax?: LineItem.Tax;
|
|
2821
|
-
|
|
2822
|
-
/**
|
|
2823
|
-
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2824
|
-
*/
|
|
2825
|
-
unit_amount: number;
|
|
2826
|
-
}
|
|
2827
|
-
|
|
2828
|
-
namespace LineItem {
|
|
2829
|
-
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
2830
|
-
|
|
2831
|
-
interface Tax {
|
|
2832
|
-
/**
|
|
2833
|
-
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2834
|
-
*/
|
|
2835
|
-
amount: number;
|
|
2836
|
-
|
|
2837
|
-
/**
|
|
2838
|
-
* The tax behavior for the line item.
|
|
2839
|
-
*/
|
|
2840
|
-
behavior: Tax.Behavior;
|
|
2841
|
-
}
|
|
2842
|
-
|
|
2843
|
-
namespace Tax {
|
|
2844
|
-
type Behavior = 'exclusive' | 'inclusive';
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
|
|
2848
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2849
|
-
}
|
|
2850
|
-
|
|
2851
|
-
interface Payto {
|
|
2852
|
-
mandate_options?: Payto.MandateOptions;
|
|
2853
|
-
|
|
2854
|
-
/**
|
|
2855
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2856
|
-
*
|
|
2857
|
-
* 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.
|
|
2858
|
-
*
|
|
2859
|
-
* 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.
|
|
2860
|
-
*
|
|
2861
|
-
* 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).
|
|
2862
|
-
*/
|
|
2863
|
-
setup_future_usage?: Payto.SetupFutureUsage;
|
|
2864
|
-
}
|
|
2865
|
-
|
|
2866
|
-
namespace Payto {
|
|
2867
|
-
interface MandateOptions {
|
|
2868
|
-
/**
|
|
2869
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2870
|
-
*/
|
|
2871
|
-
amount: number | null;
|
|
2872
|
-
|
|
2873
|
-
/**
|
|
2874
|
-
* 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.
|
|
2875
|
-
*/
|
|
2876
|
-
amount_type: MandateOptions.AmountType | null;
|
|
2877
|
-
|
|
2878
|
-
/**
|
|
2879
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2880
|
-
*/
|
|
2881
|
-
end_date: string | null;
|
|
2882
|
-
|
|
2883
|
-
/**
|
|
2884
|
-
* The periodicity at which payments will be collected.
|
|
2885
|
-
*/
|
|
2886
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
2887
|
-
|
|
2888
|
-
/**
|
|
2889
|
-
* 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.
|
|
2890
|
-
*/
|
|
2891
|
-
payments_per_period: number | null;
|
|
2892
|
-
|
|
2893
|
-
/**
|
|
2894
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
2895
|
-
*/
|
|
2896
|
-
purpose: MandateOptions.Purpose | null;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
namespace MandateOptions {
|
|
2900
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2901
|
-
|
|
2902
|
-
type PaymentSchedule =
|
|
2903
|
-
| 'adhoc'
|
|
2904
|
-
| 'annual'
|
|
2905
|
-
| 'daily'
|
|
2906
|
-
| 'fortnightly'
|
|
2907
|
-
| 'monthly'
|
|
2908
|
-
| 'quarterly'
|
|
2909
|
-
| 'semi_annual'
|
|
2910
|
-
| 'weekly';
|
|
2911
|
-
|
|
2912
|
-
type Purpose =
|
|
2913
|
-
| 'dependant_support'
|
|
2914
|
-
| 'government'
|
|
2915
|
-
| 'loan'
|
|
2916
|
-
| 'mortgage'
|
|
2917
|
-
| 'other'
|
|
2918
|
-
| 'pension'
|
|
2919
|
-
| 'personal'
|
|
2920
|
-
| 'retail'
|
|
2921
|
-
| 'salary'
|
|
2922
|
-
| 'tax'
|
|
2923
|
-
| 'utility';
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
2335
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2927
2336
|
}
|
|
2928
2337
|
|
|
@@ -2962,21 +2371,6 @@ declare module 'stripe' {
|
|
|
2962
2371
|
setup_future_usage?: 'none';
|
|
2963
2372
|
}
|
|
2964
2373
|
|
|
2965
|
-
interface Qris {
|
|
2966
|
-
/**
|
|
2967
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2968
|
-
*
|
|
2969
|
-
* 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.
|
|
2970
|
-
*
|
|
2971
|
-
* 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.
|
|
2972
|
-
*
|
|
2973
|
-
* 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).
|
|
2974
|
-
*/
|
|
2975
|
-
setup_future_usage?: 'none';
|
|
2976
|
-
}
|
|
2977
|
-
|
|
2978
|
-
interface Rechnung {}
|
|
2979
|
-
|
|
2980
2374
|
interface RevolutPay {
|
|
2981
2375
|
/**
|
|
2982
2376
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -3032,19 +2426,6 @@ declare module 'stripe' {
|
|
|
3032
2426
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
3033
2427
|
}
|
|
3034
2428
|
|
|
3035
|
-
interface Shopeepay {
|
|
3036
|
-
/**
|
|
3037
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3038
|
-
*
|
|
3039
|
-
* 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.
|
|
3040
|
-
*
|
|
3041
|
-
* 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.
|
|
3042
|
-
*
|
|
3043
|
-
* 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).
|
|
3044
|
-
*/
|
|
3045
|
-
setup_future_usage?: 'none';
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
2429
|
interface Sofort {
|
|
3049
2430
|
/**
|
|
3050
2431
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -3138,8 +2519,6 @@ declare module 'stripe' {
|
|
|
3138
2519
|
interface FinancialConnections {
|
|
3139
2520
|
filters?: FinancialConnections.Filters;
|
|
3140
2521
|
|
|
3141
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3142
|
-
|
|
3143
2522
|
/**
|
|
3144
2523
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
3145
2524
|
*/
|
|
@@ -3162,39 +2541,19 @@ declare module 'stripe' {
|
|
|
3162
2541
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3163
2542
|
*/
|
|
3164
2543
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* The institution to use to filter for possible accounts to link.
|
|
3168
|
-
*/
|
|
3169
|
-
institution?: string;
|
|
3170
2544
|
}
|
|
3171
2545
|
|
|
3172
2546
|
namespace Filters {
|
|
3173
2547
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3174
2548
|
}
|
|
3175
2549
|
|
|
3176
|
-
interface ManualEntry {
|
|
3177
|
-
/**
|
|
3178
|
-
* Settings for configuring manual entry of account details.
|
|
3179
|
-
*/
|
|
3180
|
-
mode?: ManualEntry.Mode;
|
|
3181
|
-
}
|
|
3182
|
-
|
|
3183
|
-
namespace ManualEntry {
|
|
3184
|
-
type Mode = 'automatic' | 'custom';
|
|
3185
|
-
}
|
|
3186
|
-
|
|
3187
2550
|
type Permission =
|
|
3188
2551
|
| 'balances'
|
|
3189
2552
|
| 'ownership'
|
|
3190
2553
|
| 'payment_method'
|
|
3191
2554
|
| 'transactions';
|
|
3192
2555
|
|
|
3193
|
-
type Prefetch =
|
|
3194
|
-
| 'balances'
|
|
3195
|
-
| 'inferred_balances'
|
|
3196
|
-
| 'ownership'
|
|
3197
|
-
| 'transactions';
|
|
2556
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3198
2557
|
}
|
|
3199
2558
|
|
|
3200
2559
|
interface MandateOptions {
|
|
@@ -3281,8 +2640,6 @@ declare module 'stripe' {
|
|
|
3281
2640
|
}
|
|
3282
2641
|
}
|
|
3283
2642
|
|
|
3284
|
-
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3285
|
-
|
|
3286
2643
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3287
2644
|
|
|
3288
2645
|
interface Shipping {
|