stripe 18.5.0-beta.1 → 18.5.0-beta.2

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 18.5.0-beta.2 - 2025-08-06
4
+ * [#2383](https://github.com/stripe/stripe-node/pull/2383) Bring back GA invoice payments APIs that were missing in the public preview SDKs
5
+ * Add support for new resource `InvoicePayment`
6
+ * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
7
+
3
8
  ## 18.5.0-beta.1 - 2025-07-30
4
9
  This release changes the pinned API version to `2025-07-30.preview`.
5
10
 
@@ -28,6 +33,31 @@ This release changes the pinned API version to `2025-07-30.preview`.
28
33
  * Remove support for thin event `V2CoreAccountLinkCompletedEvent`
29
34
  * Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `V2.Payments.OffSessionPayment`
30
35
 
36
+ ## 18.4.0 - 2025-07-30
37
+ This release changes the pinned API version to `2025-07-30.basil`.
38
+
39
+ * [#2379](https://github.com/stripe/stripe-node/pull/2379) Update generated code
40
+ * Add support for `instant_payouts_promotion` on `AccountSession.components` and `AccountSessionCreateParams.components`
41
+ * Add support for `adjustable_quantity` on `BillingPortal.Configuration.features.subscription_update.products[]`, `BillingPortal.ConfigurationCreateParams.features.subscription_update.products[]`, and `BillingPortal.ConfigurationUpdateParams.features.subscription_update.products[]`
42
+ * Remove support for value `disabled` from enum `Capability.status`
43
+ * Add support for `transaction_id` on `Charge.payment_method_details.cashapp`
44
+ * Add support for `origin_context` on `Checkout.SessionCreateParams` and `Checkout.Session`
45
+ * Add support for `template` on `Checkout.Session.invoice_creation.invoice_data.rendering_options`, `Checkout.SessionCreateParams.invoice_creation.invoice_data.rendering_options`, `PaymentLink.invoice_creation.invoice_data.rendering_options`, `PaymentLinkCreateParams.invoice_creation.invoice_data.rendering_options`, and `PaymentLinkUpdateParams.invoice_creation.invoice_data.rendering_options`
46
+ * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.pix` and `Checkout.SessionCreateParams.payment_method_options.pix`
47
+ * Add support for new value `nz_bank_account` on enum `Checkout.SessionCreateParams.payment_method_types`
48
+ * Change `Identity.VerificationSession.related_person.account` to be required
49
+ * Change `Identity.VerificationSession.related_person.person` to be required
50
+ * Add support for `duration` on `InvoiceCreatePreviewParams.schedule_details.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
51
+ * Change type of `InvoiceCreatePreviewParams.subscription_details.cancel_at`, `SubscriptionCreateParams.cancel_at`, and `SubscriptionUpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
52
+ * Add support for `price_data` on `PaymentLinkCreateParams.line_items[]`
53
+ * Change `PaymentLinkCreateParams.line_items[].price` to be optional
54
+ * Add support for new value `America/Coyhaique` on enum `Reporting.ReportRunCreateParams.parameters.timezone`
55
+ * Add support for `standard` on `Tax.Registration.country_options.ae`, `Tax.Registration.country_options.au`, `Tax.Registration.country_options.ch`, `Tax.Registration.country_options.gb`, `Tax.Registration.country_options.jp`, `Tax.Registration.country_options.no`, `Tax.Registration.country_options.nz`, `Tax.Registration.country_options.sg`, `Tax.RegistrationCreateParams.country_options.ae`, `Tax.RegistrationCreateParams.country_options.al`, `Tax.RegistrationCreateParams.country_options.ao`, `Tax.RegistrationCreateParams.country_options.au`, `Tax.RegistrationCreateParams.country_options.aw`, `Tax.RegistrationCreateParams.country_options.ba`, `Tax.RegistrationCreateParams.country_options.bb`, `Tax.RegistrationCreateParams.country_options.bd`, `Tax.RegistrationCreateParams.country_options.bf`, `Tax.RegistrationCreateParams.country_options.bh`, `Tax.RegistrationCreateParams.country_options.bs`, `Tax.RegistrationCreateParams.country_options.cd`, `Tax.RegistrationCreateParams.country_options.ch`, `Tax.RegistrationCreateParams.country_options.et`, `Tax.RegistrationCreateParams.country_options.gb`, `Tax.RegistrationCreateParams.country_options.gn`, `Tax.RegistrationCreateParams.country_options.is`, `Tax.RegistrationCreateParams.country_options.jp`, `Tax.RegistrationCreateParams.country_options.me`, `Tax.RegistrationCreateParams.country_options.mk`, `Tax.RegistrationCreateParams.country_options.mr`, `Tax.RegistrationCreateParams.country_options.no`, `Tax.RegistrationCreateParams.country_options.nz`, `Tax.RegistrationCreateParams.country_options.om`, `Tax.RegistrationCreateParams.country_options.rs`, `Tax.RegistrationCreateParams.country_options.sg`, `Tax.RegistrationCreateParams.country_options.sr`, `Tax.RegistrationCreateParams.country_options.uy`, `Tax.RegistrationCreateParams.country_options.za`, and `Tax.RegistrationCreateParams.country_options.zw`
56
+ * Add support for new value `inbound_goods` on enums `Tax.Registration.country_options.at.standard.place_of_supply_scheme`, `Tax.Registration.country_options.be.standard.place_of_supply_scheme`, `Tax.Registration.country_options.bg.standard.place_of_supply_scheme`, `Tax.Registration.country_options.cy.standard.place_of_supply_scheme`, `Tax.Registration.country_options.cz.standard.place_of_supply_scheme`, `Tax.Registration.country_options.de.standard.place_of_supply_scheme`, `Tax.Registration.country_options.dk.standard.place_of_supply_scheme`, `Tax.Registration.country_options.ee.standard.place_of_supply_scheme`, `Tax.Registration.country_options.es.standard.place_of_supply_scheme`, `Tax.Registration.country_options.fi.standard.place_of_supply_scheme`, `Tax.Registration.country_options.fr.standard.place_of_supply_scheme`, `Tax.Registration.country_options.gr.standard.place_of_supply_scheme`, `Tax.Registration.country_options.hr.standard.place_of_supply_scheme`, `Tax.Registration.country_options.hu.standard.place_of_supply_scheme`, `Tax.Registration.country_options.ie.standard.place_of_supply_scheme`, `Tax.Registration.country_options.it.standard.place_of_supply_scheme`, `Tax.Registration.country_options.lt.standard.place_of_supply_scheme`, `Tax.Registration.country_options.lu.standard.place_of_supply_scheme`, `Tax.Registration.country_options.lv.standard.place_of_supply_scheme`, `Tax.Registration.country_options.mt.standard.place_of_supply_scheme`, `Tax.Registration.country_options.nl.standard.place_of_supply_scheme`, `Tax.Registration.country_options.pl.standard.place_of_supply_scheme`, `Tax.Registration.country_options.pt.standard.place_of_supply_scheme`, `Tax.Registration.country_options.ro.standard.place_of_supply_scheme`, `Tax.Registration.country_options.se.standard.place_of_supply_scheme`, `Tax.Registration.country_options.si.standard.place_of_supply_scheme`, `Tax.Registration.country_options.sk.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.at.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.be.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.bg.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.cy.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.cz.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.de.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.dk.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.ee.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.es.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.fi.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.fr.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.gr.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.hr.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.hu.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.ie.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.it.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.lt.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.lu.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.lv.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.mt.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.nl.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.pl.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.pt.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.ro.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.se.standard.place_of_supply_scheme`, `Tax.RegistrationCreateParams.country_options.si.standard.place_of_supply_scheme`, and `Tax.RegistrationCreateParams.country_options.sk.standard.place_of_supply_scheme`
57
+ * Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal.Configuration.tipping`, `Terminal.ConfigurationCreateParams.tipping`, and `Terminal.ConfigurationUpdateParams.tipping`
58
+ * Add support for new value `2025-07-30.basil` on enum `WebhookEndpointCreateParams.api_version`
59
+ * [#2365](https://github.com/stripe/stripe-node/pull/2365) Expose the API version pinned in the SDK via `Stripe.API_VERSION`
60
+
31
61
  ## 18.4.0-beta.2 - 2025-07-09
32
62
  * [#2367](https://github.com/stripe/stripe-node/pull/2367) Pull in V2 FinancialAccount changes for June release
33
63
  * Add support for `close` and `create` methods on resource `V2.MoneyManagement.FinancialAccount`
@@ -81,6 +111,8 @@ This release changes the pinned API version to `2025-06-30.preview`.
81
111
  * Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError`
82
112
 
83
113
  ## 18.3.0 - 2025-07-01
114
+ This release changes the pinned API version to `2025-06-30.basil`.
115
+
84
116
  * [#2348](https://github.com/stripe/stripe-node/pull/2348) Update generated code
85
117
  * Add support for `migrate` method on resource `Subscription`
86
118
  * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v1868
1
+ v1868
package/VERSION CHANGED
@@ -1 +1 @@
1
- 18.5.0-beta.1
1
+ 18.5.0-beta.2
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InvoicePayments = void 0;
5
+ const StripeResource_js_1 = require("../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.InvoicePayments = StripeResource_js_1.StripeResource.extend({
8
+ retrieve: stripeMethod({
9
+ method: 'GET',
10
+ fullPath: '/v1/invoice_payments/{invoice_payment}',
11
+ }),
12
+ list: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v1/invoice_payments',
15
+ methodType: 'list',
16
+ }),
17
+ });
package/cjs/resources.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ShippingRates = exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoiceItems = exports.FxQuotes = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
5
- exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = void 0;
4
+ exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoicePayments = exports.InvoiceItems = exports.FxQuotes = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
5
+ exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
6
6
  const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
7
7
  const AccountLinks_js_1 = require("./resources/V2/Core/AccountLinks.js");
8
8
  const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
@@ -163,6 +163,8 @@ var FxQuotes_js_1 = require("./resources/FxQuotes.js");
163
163
  Object.defineProperty(exports, "FxQuotes", { enumerable: true, get: function () { return FxQuotes_js_1.FxQuotes; } });
164
164
  var InvoiceItems_js_1 = require("./resources/InvoiceItems.js");
165
165
  Object.defineProperty(exports, "InvoiceItems", { enumerable: true, get: function () { return InvoiceItems_js_1.InvoiceItems; } });
166
+ var InvoicePayments_js_1 = require("./resources/InvoicePayments.js");
167
+ Object.defineProperty(exports, "InvoicePayments", { enumerable: true, get: function () { return InvoicePayments_js_1.InvoicePayments; } });
166
168
  var InvoiceRenderingTemplates_js_1 = require("./resources/InvoiceRenderingTemplates.js");
167
169
  Object.defineProperty(exports, "InvoiceRenderingTemplates", { enumerable: true, get: function () { return InvoiceRenderingTemplates_js_1.InvoiceRenderingTemplates; } });
168
170
  var Invoices_js_1 = require("./resources/Invoices.js");
@@ -36,7 +36,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
36
36
  ];
37
37
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
38
38
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
39
- Stripe.PACKAGE_VERSION = '18.5.0-beta.1';
39
+ Stripe.PACKAGE_VERSION = '18.5.0-beta.2';
40
40
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
41
41
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
42
42
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
@@ -0,0 +1,14 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const InvoicePayments = StripeResource.extend({
5
+ retrieve: stripeMethod({
6
+ method: 'GET',
7
+ fullPath: '/v1/invoice_payments/{invoice_payment}',
8
+ }),
9
+ list: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/invoice_payments',
12
+ methodType: 'list',
13
+ }),
14
+ });
package/esm/resources.js CHANGED
@@ -133,6 +133,7 @@ export { FileLinks } from './resources/FileLinks.js';
133
133
  export { Files } from './resources/Files.js';
134
134
  export { FxQuotes } from './resources/FxQuotes.js';
135
135
  export { InvoiceItems } from './resources/InvoiceItems.js';
136
+ export { InvoicePayments } from './resources/InvoicePayments.js';
136
137
  export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
137
138
  export { Invoices } from './resources/Invoices.js';
138
139
  export { Mandates } from './resources/Mandates.js';
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
33
33
  ];
34
34
  const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
35
35
  export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
36
- Stripe.PACKAGE_VERSION = '18.5.0-beta.1';
36
+ Stripe.PACKAGE_VERSION = '18.5.0-beta.2';
37
37
  Stripe.API_VERSION = ApiVersion;
38
38
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
39
39
  Stripe.StripeResource = StripeResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "18.5.0-beta.1",
3
+ "version": "18.5.0-beta.2",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -0,0 +1,80 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ interface InvoicePaymentRetrieveParams {
6
+ /**
7
+ * Specifies which fields in the response should be expanded.
8
+ */
9
+ expand?: Array<string>;
10
+ }
11
+
12
+ interface InvoicePaymentListParams extends PaginationParams {
13
+ /**
14
+ * Specifies which fields in the response should be expanded.
15
+ */
16
+ expand?: Array<string>;
17
+
18
+ /**
19
+ * The identifier of the invoice whose payments to return.
20
+ */
21
+ invoice?: string;
22
+
23
+ /**
24
+ * The payment details of the invoice payments to return.
25
+ */
26
+ payment?: InvoicePaymentListParams.Payment;
27
+
28
+ /**
29
+ * The status of the invoice payments to return.
30
+ */
31
+ status?: InvoicePaymentListParams.Status;
32
+ }
33
+
34
+ namespace InvoicePaymentListParams {
35
+ interface Payment {
36
+ /**
37
+ * Only return invoice payments associated by this payment intent ID.
38
+ */
39
+ payment_intent?: string;
40
+
41
+ payment_record?: string;
42
+
43
+ /**
44
+ * Only return invoice payments associated by this payment type.
45
+ */
46
+ type: Payment.Type;
47
+ }
48
+
49
+ namespace Payment {
50
+ type Type = 'payment_intent' | 'payment_record';
51
+ }
52
+
53
+ type Status = 'canceled' | 'open' | 'paid';
54
+ }
55
+
56
+ class InvoicePaymentsResource {
57
+ /**
58
+ * Retrieves the invoice payment with the given ID.
59
+ */
60
+ retrieve(
61
+ id: string,
62
+ params?: InvoicePaymentRetrieveParams,
63
+ options?: RequestOptions
64
+ ): Promise<Stripe.Response<Stripe.InvoicePayment>>;
65
+ retrieve(
66
+ id: string,
67
+ options?: RequestOptions
68
+ ): Promise<Stripe.Response<Stripe.InvoicePayment>>;
69
+
70
+ /**
71
+ * When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments.
72
+ */
73
+ list(
74
+ params?: InvoicePaymentListParams,
75
+ options?: RequestOptions
76
+ ): ApiListPromise<Stripe.InvoicePayment>;
77
+ list(options?: RequestOptions): ApiListPromise<Stripe.InvoicePayment>;
78
+ }
79
+ }
80
+ }
package/types/index.d.ts CHANGED
@@ -62,6 +62,7 @@
62
62
  ///<reference path='./Identity/VerificationReportsResource.d.ts' />
63
63
  ///<reference path='./Identity/VerificationSessionsResource.d.ts' />
64
64
  ///<reference path='./InvoiceItemsResource.d.ts' />
65
+ ///<reference path='./InvoicePaymentsResource.d.ts' />
65
66
  ///<reference path='./InvoiceRenderingTemplatesResource.d.ts' />
66
67
  ///<reference path='./InvoicesResource.d.ts' />
67
68
  ///<reference path='./Issuing/AuthorizationsResource.d.ts' />
@@ -417,6 +418,7 @@ declare module 'stripe' {
417
418
  files: Stripe.FilesResource;
418
419
  fxQuotes: Stripe.FxQuotesResource;
419
420
  invoiceItems: Stripe.InvoiceItemsResource;
421
+ invoicePayments: Stripe.InvoicePaymentsResource;
420
422
  invoiceRenderingTemplates: Stripe.InvoiceRenderingTemplatesResource;
421
423
  invoices: Stripe.InvoicesResource;
422
424
  mandates: Stripe.MandatesResource;