diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d377f60ad0..2b51a2188a 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v154 \ No newline at end of file +v155 \ No newline at end of file diff --git a/lib/resources/Customers.js b/lib/resources/Customers.js index 17bc7c6498..c6dcc4fc46 100644 --- a/lib/resources/Customers.js +++ b/lib/resources/Customers.js @@ -44,6 +44,12 @@ module.exports = StripeResource.extend({ path: '/{customer}/discount', }), + listFundingInstructions: stripeMethod({ + method: 'GET', + path: '/{customer}/funding_instructions', + methodType: 'list', + }), + listPaymentMethods: stripeMethod({ method: 'GET', path: '/{customer}/payment_methods', diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index 662d631532..35287c8f33 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -29,6 +29,13 @@ describe('Customer', function() { expect(fundingInstructions).not.to.be.null; }); + it('listFundingInstructions method', async function() { + const fundingInstructions = await stripe.customers.listFundingInstructions( + 'cus_123' + ); + expect(fundingInstructions).not.to.be.null; + }); + it('list method', async function() { const customers = await stripe.customers.list({limit: 3}); expect(customers).not.to.be.null; diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index a71d7c4bec..d0a2e74869 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -938,6 +938,16 @@ declare module 'stripe' { * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. */ statement_descriptor_prefix: string | null; + + /** + * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kana: string | null; + + /** + * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kanji: string | null; } namespace CardPayments { @@ -981,6 +991,16 @@ declare module 'stripe' { * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only) */ statement_descriptor_kanji: string | null; + + /** + * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kana: string | null; + + /** + * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kanji: string | null; } interface Payouts { @@ -2160,6 +2180,16 @@ declare module 'stripe' { * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. */ statement_descriptor_prefix?: string; + + /** + * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kana?: Stripe.Emptyable; + + /** + * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kanji?: Stripe.Emptyable; } namespace CardPayments { @@ -3322,6 +3352,16 @@ declare module 'stripe' { * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. */ statement_descriptor_prefix?: string; + + /** + * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kana?: Stripe.Emptyable; + + /** + * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion. + */ + statement_descriptor_prefix_kanji?: Stripe.Emptyable; } namespace CardPayments { diff --git a/types/2020-08-27/Checkout/Sessions.d.ts b/types/2020-08-27/Checkout/Sessions.d.ts index 6bb148087e..24af8cefcf 100644 --- a/types/2020-08-27/Checkout/Sessions.d.ts +++ b/types/2020-08-27/Checkout/Sessions.d.ts @@ -653,6 +653,16 @@ declare module 'stripe' { * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). */ setup_future_usage?: Card.SetupFutureUsage; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: string; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: string; } namespace Card { @@ -2133,6 +2143,16 @@ declare module 'stripe' { * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). */ setup_future_usage?: Card.SetupFutureUsage; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: string; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: string; } namespace Card { diff --git a/types/2020-08-27/CreditNotes.d.ts b/types/2020-08-27/CreditNotes.d.ts index 4dc25d18ec..0789de8c80 100644 --- a/types/2020-08-27/CreditNotes.d.ts +++ b/types/2020-08-27/CreditNotes.d.ts @@ -110,7 +110,7 @@ declare module 'stripe' { status: CreditNote.Status; /** - * The integer amount in %s representing the amount of the credit note, excluding tax and invoice level discounts. + * The integer amount in %s representing the amount of the credit note, excluding exclusive tax and invoice level discounts. */ subtotal: number; @@ -124,6 +124,11 @@ declare module 'stripe' { */ total: number; + /** + * The integer amount in %s representing the total amount of the credit note, excluding tax, but including discounts. + */ + total_excluding_tax: number | null; + /** * Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid. */ diff --git a/types/2020-08-27/Customers.d.ts b/types/2020-08-27/Customers.d.ts index f3070ebd18..2a34f91c7c 100644 --- a/types/2020-08-27/Customers.d.ts +++ b/types/2020-08-27/Customers.d.ts @@ -158,6 +158,11 @@ declare module 'stripe' { * Default footer to be displayed on invoices for this customer. */ footer: string | null; + + /** + * Default options for invoice PDF rendering for this customer. + */ + rendering_options: InvoiceSettings.RenderingOptions | null; } namespace InvoiceSettings { @@ -172,6 +177,13 @@ declare module 'stripe' { */ value: string; } + + interface RenderingOptions { + /** + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + */ + amount_tax_display: string | null; + } } interface Shipping { @@ -422,7 +434,7 @@ declare module 'stripe' { /** * Default options for invoice PDF rendering for this customer. */ - rendering_options?: InvoiceSettings.RenderingOptions; + rendering_options?: Stripe.Emptyable; } namespace InvoiceSettings { @@ -440,7 +452,7 @@ declare module 'stripe' { interface RenderingOptions { /** - * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. */ amount_tax_display?: Stripe.Emptyable< RenderingOptions.AmountTaxDisplay @@ -707,7 +719,7 @@ declare module 'stripe' { /** * Default options for invoice PDF rendering for this customer. */ - rendering_options?: InvoiceSettings.RenderingOptions; + rendering_options?: Stripe.Emptyable; } namespace InvoiceSettings { @@ -725,7 +737,7 @@ declare module 'stripe' { interface RenderingOptions { /** - * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. */ amount_tax_display?: Stripe.Emptyable< RenderingOptions.AmountTaxDisplay @@ -853,6 +865,13 @@ declare module 'stripe' { interface CustomerDeleteDiscountParams {} + interface CustomerListFundingInstructionsParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + interface CustomerListPaymentMethodsParams extends PaginationParams { /** * A required filter on the list, based on the object `type` field. @@ -1006,6 +1025,19 @@ declare module 'stripe' { options?: RequestOptions ): Promise>; + /** + * Retrieve all applicable funding instructions for a customer cash balance. + */ + listFundingInstructions( + id: string, + params?: CustomerListFundingInstructionsParams, + options?: RequestOptions + ): ApiListPromise; + listFundingInstructions( + id: string, + options?: RequestOptions + ): ApiListPromise; + /** * Returns a list of PaymentMethods for a given Customer */ diff --git a/types/2020-08-27/Invoices.d.ts b/types/2020-08-27/Invoices.d.ts index 5db76d28e1..c22ee4cf5d 100644 --- a/types/2020-08-27/Invoices.d.ts +++ b/types/2020-08-27/Invoices.d.ts @@ -290,6 +290,11 @@ declare module 'stripe' { */ receipt_number: string | null; + /** + * Options for invoice PDF rendering. + */ + rendering_options: Invoice.RenderingOptions | null; + /** * Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. */ @@ -318,7 +323,7 @@ declare module 'stripe' { subscription_proration_date?: number; /** - * Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated + * Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated */ subtotal: number; @@ -769,6 +774,13 @@ declare module 'stripe' { | 'wechat_pay'; } + interface RenderingOptions { + /** + * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. + */ + amount_tax_display: string | null; + } + type Status = | 'deleted' | 'draft' diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index e9e23e6482..6de283a1a0 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -1111,6 +1111,16 @@ declare module 'stripe' { * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). */ setup_future_usage?: Card.SetupFutureUsage; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: string; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: string; } namespace Card { @@ -2811,6 +2821,16 @@ declare module 'stripe' { * If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`. */ setup_future_usage?: Stripe.Emptyable; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: Stripe.Emptyable; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: Stripe.Emptyable; } namespace Card { @@ -4470,6 +4490,16 @@ declare module 'stripe' { * If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`. */ setup_future_usage?: Stripe.Emptyable; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: Stripe.Emptyable; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: Stripe.Emptyable; } namespace Card { @@ -6264,6 +6294,16 @@ declare module 'stripe' { * If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`. */ setup_future_usage?: Stripe.Emptyable; + + /** + * Provides information about a card payment that customers see on their statements. Concatenated with the Kana prefix (shortened Kana descriptor) or Kana statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 22 characters. + */ + statement_descriptor_suffix_kana?: Stripe.Emptyable; + + /** + * 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. + */ + statement_descriptor_suffix_kanji?: Stripe.Emptyable; } namespace Card { diff --git a/types/2020-08-27/TestHelpers/CustomerBalanceTransactions.d.ts b/types/2020-08-27/TestHelpers/CustomerBalanceTransactions.d.ts new file mode 100644 index 0000000000..cfb179f4e7 --- /dev/null +++ b/types/2020-08-27/TestHelpers/CustomerBalanceTransactions.d.ts @@ -0,0 +1,26 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + namespace TestHelpers { + interface CustomerBalanceTransactionFundCashBalanceParams { + /** + * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). + */ + amount: number; + + /** + * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). + */ + currency: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + reference?: string; + } + } + } +} diff --git a/types/2020-08-27/Treasury/CreditReversals.d.ts b/types/2020-08-27/Treasury/CreditReversals.d.ts index f456290452..ee89f16cd3 100644 --- a/types/2020-08-27/Treasury/CreditReversals.d.ts +++ b/types/2020-08-27/Treasury/CreditReversals.d.ts @@ -33,7 +33,7 @@ declare module 'stripe' { financial_account: string; /** - * A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ hosted_regulatory_receipt_url: string | null; diff --git a/types/2020-08-27/Treasury/DebitReversals.d.ts b/types/2020-08-27/Treasury/DebitReversals.d.ts index 22eceed13a..db18bbfd67 100644 --- a/types/2020-08-27/Treasury/DebitReversals.d.ts +++ b/types/2020-08-27/Treasury/DebitReversals.d.ts @@ -33,7 +33,7 @@ declare module 'stripe' { financial_account: string | null; /** - * A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ hosted_regulatory_receipt_url: string | null; diff --git a/types/2020-08-27/Treasury/InboundTransfers.d.ts b/types/2020-08-27/Treasury/InboundTransfers.d.ts index d4659a610f..d8ca20f310 100644 --- a/types/2020-08-27/Treasury/InboundTransfers.d.ts +++ b/types/2020-08-27/Treasury/InboundTransfers.d.ts @@ -53,7 +53,7 @@ declare module 'stripe' { financial_account: string; /** - * A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ hosted_regulatory_receipt_url: string | null; diff --git a/types/2020-08-27/Treasury/OutboundPayments.d.ts b/types/2020-08-27/Treasury/OutboundPayments.d.ts index a7aa6015bf..dfb154d496 100644 --- a/types/2020-08-27/Treasury/OutboundPayments.d.ts +++ b/types/2020-08-27/Treasury/OutboundPayments.d.ts @@ -38,7 +38,7 @@ declare module 'stripe' { currency: string; /** - * ID of the customer to whom an OutboundPayment is sent. + * ID of the [customer](https://stripe.com/docs/api/customers) to whom an OutboundPayment is sent. */ customer: string | null; @@ -73,7 +73,7 @@ declare module 'stripe' { financial_account: string; /** - * A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ hosted_regulatory_receipt_url: string | null; diff --git a/types/2020-08-27/Treasury/OutboundTransfers.d.ts b/types/2020-08-27/Treasury/OutboundTransfers.d.ts index 626ff0a547..13f0258662 100644 --- a/types/2020-08-27/Treasury/OutboundTransfers.d.ts +++ b/types/2020-08-27/Treasury/OutboundTransfers.d.ts @@ -60,7 +60,7 @@ declare module 'stripe' { financial_account: string; /** - * A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. + * A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses. */ hosted_regulatory_receipt_url: string | null; diff --git a/types/2020-08-27/Treasury/TransactionEntries.d.ts b/types/2020-08-27/Treasury/TransactionEntries.d.ts index 9aabdfe784..0b0b5de5b7 100644 --- a/types/2020-08-27/Treasury/TransactionEntries.d.ts +++ b/types/2020-08-27/Treasury/TransactionEntries.d.ts @@ -103,7 +103,7 @@ declare module 'stripe' { debit_reversal?: Stripe.Treasury.DebitReversal; /** - * Use InboundTransfers to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. + * Use [InboundTransfers](https://stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. */ inbound_transfer?: Stripe.Treasury.InboundTransfer; diff --git a/types/2020-08-27/Treasury/Transactions.d.ts b/types/2020-08-27/Treasury/Transactions.d.ts index 4c5ef1b63b..2a17441f6a 100644 --- a/types/2020-08-27/Treasury/Transactions.d.ts +++ b/types/2020-08-27/Treasury/Transactions.d.ts @@ -110,7 +110,7 @@ declare module 'stripe' { debit_reversal?: Stripe.Treasury.DebitReversal; /** - * Use InboundTransfers to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. + * Use [InboundTransfers](https://stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit. */ inbound_transfer?: Stripe.Treasury.InboundTransfer; diff --git a/types/2020-08-27/index.d.ts b/types/2020-08-27/index.d.ts index 0cea652d02..a90c752d2c 100644 --- a/types/2020-08-27/index.d.ts +++ b/types/2020-08-27/index.d.ts @@ -103,6 +103,7 @@ /// /// /// +/// /// /// ///