stripe 17.7.0 → 17.8.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 +1077 -109
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -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/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -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/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -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/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
- package/cjs/resources.js +48 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -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/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -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/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -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/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
- package/esm/resources.js +33 -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 +243 -0
- package/types/Accounts.d.ts +205 -1
- package/types/AccountsResource.d.ts +526 -2
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- 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/Charges.d.ts +148 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +304 -6
- package/types/Checkout/SessionsResource.d.ts +440 -5
- package/types/ConfirmationTokens.d.ts +99 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +7 -0
- package/types/EventTypes.d.ts +597 -1
- package/types/Events.d.ts +93 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/Identity/VerificationSessions.d.ts +1 -1
- package/types/Identity/VerificationSessionsResource.d.ts +1 -1
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +28 -1
- package/types/InvoicePayments.d.ts +113 -0
- package/types/Invoices.d.ts +137 -2
- package/types/InvoicesResource.d.ts +4618 -933
- package/types/Issuing/Authorizations.d.ts +1 -0
- 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 +73 -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 +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +32 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1189 -0
- package/types/OrdersResource.d.ts +2981 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +644 -1
- package/types/PaymentIntentsResource.d.ts +8103 -3816
- 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 +99 -0
- package/types/PaymentMethodsResource.d.ts +133 -0
- package/types/PaymentRecords.d.ts +242 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1658 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +38 -0
- package/types/SetupIntents.d.ts +111 -1
- package/types/SetupIntentsResource.d.ts +645 -3
- 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 +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +91 -1
- package/types/SubscriptionsResource.d.ts +369 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Calculations.d.ts +1 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxRates.d.ts +1 -1
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +290 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -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/WebhookEndpointsResource.d.ts +70 -0
- package/types/index.d.ts +62 -0
|
@@ -186,8 +186,12 @@ declare module 'stripe' {
|
|
|
186
186
|
|
|
187
187
|
giropay?: PaymentMethodPreview.Giropay;
|
|
188
188
|
|
|
189
|
+
gopay?: PaymentMethodPreview.Gopay;
|
|
190
|
+
|
|
189
191
|
grabpay?: PaymentMethodPreview.Grabpay;
|
|
190
192
|
|
|
193
|
+
id_bank_transfer?: PaymentMethodPreview.IdBankTransfer;
|
|
194
|
+
|
|
191
195
|
ideal?: PaymentMethodPreview.Ideal;
|
|
192
196
|
|
|
193
197
|
interac_present?: PaymentMethodPreview.InteracPresent;
|
|
@@ -202,6 +206,8 @@ declare module 'stripe' {
|
|
|
202
206
|
|
|
203
207
|
link?: PaymentMethodPreview.Link;
|
|
204
208
|
|
|
209
|
+
mb_way?: PaymentMethodPreview.MbWay;
|
|
210
|
+
|
|
205
211
|
mobilepay?: PaymentMethodPreview.Mobilepay;
|
|
206
212
|
|
|
207
213
|
multibanco?: PaymentMethodPreview.Multibanco;
|
|
@@ -220,16 +226,24 @@ declare module 'stripe' {
|
|
|
220
226
|
|
|
221
227
|
paypal?: PaymentMethodPreview.Paypal;
|
|
222
228
|
|
|
229
|
+
payto?: PaymentMethodPreview.Payto;
|
|
230
|
+
|
|
223
231
|
pix?: PaymentMethodPreview.Pix;
|
|
224
232
|
|
|
225
233
|
promptpay?: PaymentMethodPreview.Promptpay;
|
|
226
234
|
|
|
235
|
+
qris?: PaymentMethodPreview.Qris;
|
|
236
|
+
|
|
237
|
+
rechnung?: PaymentMethodPreview.Rechnung;
|
|
238
|
+
|
|
227
239
|
revolut_pay?: PaymentMethodPreview.RevolutPay;
|
|
228
240
|
|
|
229
241
|
samsung_pay?: PaymentMethodPreview.SamsungPay;
|
|
230
242
|
|
|
231
243
|
sepa_debit?: PaymentMethodPreview.SepaDebit;
|
|
232
244
|
|
|
245
|
+
shopeepay?: PaymentMethodPreview.Shopeepay;
|
|
246
|
+
|
|
233
247
|
sofort?: PaymentMethodPreview.Sofort;
|
|
234
248
|
|
|
235
249
|
swish?: PaymentMethodPreview.Swish;
|
|
@@ -1047,8 +1061,24 @@ declare module 'stripe' {
|
|
|
1047
1061
|
|
|
1048
1062
|
interface Giropay {}
|
|
1049
1063
|
|
|
1064
|
+
interface Gopay {}
|
|
1065
|
+
|
|
1050
1066
|
interface Grabpay {}
|
|
1051
1067
|
|
|
1068
|
+
interface IdBankTransfer {
|
|
1069
|
+
bank: IdBankTransfer.Bank | null;
|
|
1070
|
+
|
|
1071
|
+
bank_code: string | null;
|
|
1072
|
+
|
|
1073
|
+
bank_name: string | null;
|
|
1074
|
+
|
|
1075
|
+
display_name: string | null;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
namespace IdBankTransfer {
|
|
1079
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1052
1082
|
interface Ideal {
|
|
1053
1083
|
/**
|
|
1054
1084
|
* The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -1276,6 +1306,8 @@ declare module 'stripe' {
|
|
|
1276
1306
|
persistent_token?: string;
|
|
1277
1307
|
}
|
|
1278
1308
|
|
|
1309
|
+
interface MbWay {}
|
|
1310
|
+
|
|
1279
1311
|
interface Mobilepay {}
|
|
1280
1312
|
|
|
1281
1313
|
interface Multibanco {}
|
|
@@ -1342,6 +1374,11 @@ declare module 'stripe' {
|
|
|
1342
1374
|
*/
|
|
1343
1375
|
country: string | null;
|
|
1344
1376
|
|
|
1377
|
+
/**
|
|
1378
|
+
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1379
|
+
*/
|
|
1380
|
+
fingerprint?: string | null;
|
|
1381
|
+
|
|
1345
1382
|
/**
|
|
1346
1383
|
* Owner's email. Values are provided by PayPal directly
|
|
1347
1384
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1352,12 +1389,60 @@ declare module 'stripe' {
|
|
|
1352
1389
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1353
1390
|
*/
|
|
1354
1391
|
payer_id: string | null;
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1395
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1396
|
+
*/
|
|
1397
|
+
verified_email?: string | null;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
interface Payto {
|
|
1401
|
+
/**
|
|
1402
|
+
* Bank-State-Branch number of the bank account.
|
|
1403
|
+
*/
|
|
1404
|
+
bsb_number: string | null;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Last four digits of the bank account number.
|
|
1408
|
+
*/
|
|
1409
|
+
last4: string | null;
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* The PayID alias for the bank account.
|
|
1413
|
+
*/
|
|
1414
|
+
pay_id: string | null;
|
|
1355
1415
|
}
|
|
1356
1416
|
|
|
1357
1417
|
interface Pix {}
|
|
1358
1418
|
|
|
1359
1419
|
interface Promptpay {}
|
|
1360
1420
|
|
|
1421
|
+
interface Qris {}
|
|
1422
|
+
|
|
1423
|
+
interface Rechnung {
|
|
1424
|
+
dob?: Rechnung.Dob;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
namespace Rechnung {
|
|
1428
|
+
interface Dob {
|
|
1429
|
+
/**
|
|
1430
|
+
* The day of birth, between 1 and 31.
|
|
1431
|
+
*/
|
|
1432
|
+
day: number;
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* The month of birth, between 1 and 12.
|
|
1436
|
+
*/
|
|
1437
|
+
month: number;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* The four-digit year of birth.
|
|
1441
|
+
*/
|
|
1442
|
+
year: number;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1361
1446
|
interface RevolutPay {}
|
|
1362
1447
|
|
|
1363
1448
|
interface SamsungPay {}
|
|
@@ -1408,6 +1493,8 @@ declare module 'stripe' {
|
|
|
1408
1493
|
}
|
|
1409
1494
|
}
|
|
1410
1495
|
|
|
1496
|
+
interface Shopeepay {}
|
|
1497
|
+
|
|
1411
1498
|
interface Sofort {
|
|
1412
1499
|
/**
|
|
1413
1500
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1438,7 +1525,9 @@ declare module 'stripe' {
|
|
|
1438
1525
|
| 'eps'
|
|
1439
1526
|
| 'fpx'
|
|
1440
1527
|
| 'giropay'
|
|
1528
|
+
| 'gopay'
|
|
1441
1529
|
| 'grabpay'
|
|
1530
|
+
| 'id_bank_transfer'
|
|
1442
1531
|
| 'ideal'
|
|
1443
1532
|
| 'interac_present'
|
|
1444
1533
|
| 'kakao_pay'
|
|
@@ -1446,6 +1535,7 @@ declare module 'stripe' {
|
|
|
1446
1535
|
| 'konbini'
|
|
1447
1536
|
| 'kr_card'
|
|
1448
1537
|
| 'link'
|
|
1538
|
+
| 'mb_way'
|
|
1449
1539
|
| 'mobilepay'
|
|
1450
1540
|
| 'multibanco'
|
|
1451
1541
|
| 'naver_pay'
|
|
@@ -1455,11 +1545,15 @@ declare module 'stripe' {
|
|
|
1455
1545
|
| 'payco'
|
|
1456
1546
|
| 'paynow'
|
|
1457
1547
|
| 'paypal'
|
|
1548
|
+
| 'payto'
|
|
1458
1549
|
| 'pix'
|
|
1459
1550
|
| 'promptpay'
|
|
1551
|
+
| 'qris'
|
|
1552
|
+
| 'rechnung'
|
|
1460
1553
|
| 'revolut_pay'
|
|
1461
1554
|
| 'samsung_pay'
|
|
1462
1555
|
| 'sepa_debit'
|
|
1556
|
+
| 'shopeepay'
|
|
1463
1557
|
| 'sofort'
|
|
1464
1558
|
| 'swish'
|
|
1465
1559
|
| 'twint'
|
|
@@ -1473,6 +1567,11 @@ declare module 'stripe' {
|
|
|
1473
1567
|
*/
|
|
1474
1568
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1475
1569
|
|
|
1570
|
+
/**
|
|
1571
|
+
* Account number of the bank account.
|
|
1572
|
+
*/
|
|
1573
|
+
account_number?: string | null;
|
|
1574
|
+
|
|
1476
1575
|
/**
|
|
1477
1576
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1478
1577
|
*/
|
package/types/Coupons.d.ts
CHANGED
package/types/CreditNotes.d.ts
CHANGED
|
@@ -106,6 +106,10 @@ declare module 'stripe' {
|
|
|
106
106
|
*/
|
|
107
107
|
pdf: string;
|
|
108
108
|
|
|
109
|
+
post_payment_amount?: number;
|
|
110
|
+
|
|
111
|
+
pre_payment_amount?: number;
|
|
112
|
+
|
|
109
113
|
/**
|
|
110
114
|
* The pretax credit amounts (ex: discount, credit grants, etc) for all line items.
|
|
111
115
|
*/
|
|
@@ -121,6 +125,11 @@ declare module 'stripe' {
|
|
|
121
125
|
*/
|
|
122
126
|
refund: string | Stripe.Refund | null;
|
|
123
127
|
|
|
128
|
+
/**
|
|
129
|
+
* Refunds related to this credit note.
|
|
130
|
+
*/
|
|
131
|
+
refunds?: Array<CreditNote.Refund>;
|
|
132
|
+
|
|
124
133
|
/**
|
|
125
134
|
* The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
|
126
135
|
*/
|
|
@@ -214,6 +223,18 @@ declare module 'stripe' {
|
|
|
214
223
|
| 'order_change'
|
|
215
224
|
| 'product_unsatisfactory';
|
|
216
225
|
|
|
226
|
+
interface Refund {
|
|
227
|
+
/**
|
|
228
|
+
* Amount of the refund that applies to this credit note, in cents (or local equivalent).
|
|
229
|
+
*/
|
|
230
|
+
amount_refunded: number;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* ID of the refund.
|
|
234
|
+
*/
|
|
235
|
+
refund: string | Stripe.Refund;
|
|
236
|
+
}
|
|
237
|
+
|
|
217
238
|
interface ShippingCost {
|
|
218
239
|
/**
|
|
219
240
|
* Total shipping cost before any taxes are applied.
|
|
@@ -68,6 +68,11 @@ declare module 'stripe' {
|
|
|
68
68
|
*/
|
|
69
69
|
refund_amount?: number;
|
|
70
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Refunds to link to this credit note.
|
|
73
|
+
*/
|
|
74
|
+
refunds?: Array<CreditNoteCreateParams.Refund>;
|
|
75
|
+
|
|
71
76
|
/**
|
|
72
77
|
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.
|
|
73
78
|
*/
|
|
@@ -151,6 +156,18 @@ declare module 'stripe' {
|
|
|
151
156
|
| 'order_change'
|
|
152
157
|
| 'product_unsatisfactory';
|
|
153
158
|
|
|
159
|
+
interface Refund {
|
|
160
|
+
/**
|
|
161
|
+
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount.
|
|
162
|
+
*/
|
|
163
|
+
amount_refunded?: number;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* ID of an existing refund to link this credit note to.
|
|
167
|
+
*/
|
|
168
|
+
refund?: string;
|
|
169
|
+
}
|
|
170
|
+
|
|
154
171
|
interface ShippingCost {
|
|
155
172
|
/**
|
|
156
173
|
* The ID of the shipping rate to use for this order.
|
|
@@ -278,6 +295,11 @@ declare module 'stripe' {
|
|
|
278
295
|
*/
|
|
279
296
|
refund_amount?: number;
|
|
280
297
|
|
|
298
|
+
/**
|
|
299
|
+
* Refunds to link to this credit note.
|
|
300
|
+
*/
|
|
301
|
+
refunds?: Array<CreditNoteListPreviewLineItemsParams.Refund>;
|
|
302
|
+
|
|
281
303
|
/**
|
|
282
304
|
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.
|
|
283
305
|
*/
|
|
@@ -361,6 +383,18 @@ declare module 'stripe' {
|
|
|
361
383
|
| 'order_change'
|
|
362
384
|
| 'product_unsatisfactory';
|
|
363
385
|
|
|
386
|
+
interface Refund {
|
|
387
|
+
/**
|
|
388
|
+
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount.
|
|
389
|
+
*/
|
|
390
|
+
amount_refunded?: number;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* ID of an existing refund to link this credit note to.
|
|
394
|
+
*/
|
|
395
|
+
refund?: string;
|
|
396
|
+
}
|
|
397
|
+
|
|
364
398
|
interface ShippingCost {
|
|
365
399
|
/**
|
|
366
400
|
* The ID of the shipping rate to use for this order.
|
|
@@ -435,6 +469,11 @@ declare module 'stripe' {
|
|
|
435
469
|
*/
|
|
436
470
|
refund_amount?: number;
|
|
437
471
|
|
|
472
|
+
/**
|
|
473
|
+
* Refunds to link to this credit note.
|
|
474
|
+
*/
|
|
475
|
+
refunds?: Array<CreditNotePreviewParams.Refund>;
|
|
476
|
+
|
|
438
477
|
/**
|
|
439
478
|
* When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.
|
|
440
479
|
*/
|
|
@@ -518,6 +557,18 @@ declare module 'stripe' {
|
|
|
518
557
|
| 'order_change'
|
|
519
558
|
| 'product_unsatisfactory';
|
|
520
559
|
|
|
560
|
+
interface Refund {
|
|
561
|
+
/**
|
|
562
|
+
* Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount.
|
|
563
|
+
*/
|
|
564
|
+
amount_refunded?: number;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* ID of an existing refund to link this credit note to.
|
|
568
|
+
*/
|
|
569
|
+
refund?: string;
|
|
570
|
+
}
|
|
571
|
+
|
|
521
572
|
interface ShippingCost {
|
|
522
573
|
/**
|
|
523
574
|
* The ID of the shipping rate to use for this order.
|
|
@@ -872,13 +872,16 @@ declare module 'stripe' {
|
|
|
872
872
|
| 'eps'
|
|
873
873
|
| 'fpx'
|
|
874
874
|
| 'giropay'
|
|
875
|
+
| 'gopay'
|
|
875
876
|
| 'grabpay'
|
|
877
|
+
| 'id_bank_transfer'
|
|
876
878
|
| 'ideal'
|
|
877
879
|
| 'kakao_pay'
|
|
878
880
|
| 'klarna'
|
|
879
881
|
| 'konbini'
|
|
880
882
|
| 'kr_card'
|
|
881
883
|
| 'link'
|
|
884
|
+
| 'mb_way'
|
|
882
885
|
| 'mobilepay'
|
|
883
886
|
| 'multibanco'
|
|
884
887
|
| 'naver_pay'
|
|
@@ -888,11 +891,15 @@ declare module 'stripe' {
|
|
|
888
891
|
| 'payco'
|
|
889
892
|
| 'paynow'
|
|
890
893
|
| 'paypal'
|
|
894
|
+
| 'payto'
|
|
891
895
|
| 'pix'
|
|
892
896
|
| 'promptpay'
|
|
897
|
+
| 'qris'
|
|
898
|
+
| 'rechnung'
|
|
893
899
|
| 'revolut_pay'
|
|
894
900
|
| 'samsung_pay'
|
|
895
901
|
| 'sepa_debit'
|
|
902
|
+
| 'shopeepay'
|
|
896
903
|
| 'sofort'
|
|
897
904
|
| 'swish'
|
|
898
905
|
| 'twint'
|