diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 39d1ab8452..e7c73ddf5a 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v338 \ No newline at end of file +v350 \ No newline at end of file diff --git a/types/AccountLinks.d.ts b/types/AccountLinks.d.ts index c74fac1baa..71b278f76f 100644 --- a/types/AccountLinks.d.ts +++ b/types/AccountLinks.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { * Account Links are the means by which a Connect platform grants a connected account permission to access * Stripe-hosted applications, such as Connect Onboarding. * - * Related guide: [Connect Onboarding](https://stripe.com/docs/connect/connect-onboarding). + * Related guide: [Connect Onboarding](https://stripe.com/docs/connect/connect-onboarding) */ interface AccountLink { /** diff --git a/types/Accounts.d.ts b/types/Accounts.d.ts index c595ae0ccd..96642e86ba 100644 --- a/types/Accounts.d.ts +++ b/types/Accounts.d.ts @@ -84,7 +84,7 @@ declare module 'stripe' { * A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. * See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps. * - * Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information). + * Related guide: [Handling identity verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information) */ individual?: Stripe.Person; diff --git a/types/Apps/Secrets.d.ts b/types/Apps/Secrets.d.ts index 0fd6b7b0d1..3c8a8df5b0 100644 --- a/types/Apps/Secrets.d.ts +++ b/types/Apps/Secrets.d.ts @@ -12,7 +12,7 @@ declare module 'stripe' { * * A `user` scoped secret is accessible by the app backend and one specific Dashboard user. Use the `user` scope for per-user secrets like per-user OAuth tokens, where different users might have different permissions. * - * Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects). + * Related guide: [Store data between page reloads](https://stripe.com/docs/stripe-apps/store-auth-data-custom-objects) */ interface Secret { /** diff --git a/types/Balance.d.ts b/types/Balance.d.ts index 556dd516b7..7677b19d98 100644 --- a/types/Balance.d.ts +++ b/types/Balance.d.ts @@ -13,7 +13,7 @@ declare module 'stripe' { * The available and pending amounts for each currency are broken down further by * payment source types. * - * Related guide: [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). + * Related guide: [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances) */ interface Balance { /** diff --git a/types/BalanceTransactions.d.ts b/types/BalanceTransactions.d.ts index 7539c27ab9..c529bb336f 100644 --- a/types/BalanceTransactions.d.ts +++ b/types/BalanceTransactions.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { * Balance transactions represent funds moving through your Stripe account. * They're created for every type of transaction that comes into or flows out of your Stripe account balance. * - * Related guide: [Balance Transaction Types](https://stripe.com/docs/reports/balance-transaction-types). + * Related guide: [Balance transaction types](https://stripe.com/docs/reports/balance-transaction-types) */ interface BalanceTransaction { /** diff --git a/types/BankAccounts.d.ts b/types/BankAccounts.d.ts index 54409fc614..269e5fa81c 100644 --- a/types/BankAccounts.d.ts +++ b/types/BankAccounts.d.ts @@ -9,7 +9,7 @@ declare module 'stripe' { * destinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts). * They can be bank accounts or debit cards as well, and are documented in the links above. * - * Related guide: [Bank Debits and Transfers](https://stripe.com/docs/payments/bank-debits-transfers). + * Related guide: [Bank debits and transfers](https://stripe.com/docs/payments/bank-debits-transfers) */ interface BankAccount { /** diff --git a/types/BillingPortal/Sessions.d.ts b/types/BillingPortal/Sessions.d.ts index b920a6a39f..2789645b5b 100644 --- a/types/BillingPortal/Sessions.d.ts +++ b/types/BillingPortal/Sessions.d.ts @@ -85,6 +85,16 @@ declare module 'stripe' { */ subscription_cancel: Flow.SubscriptionCancel | null; + /** + * Configuration when `flow.type=subscription_update`. + */ + subscription_update: Flow.SubscriptionUpdate | null; + + /** + * Configuration when `flow.type=subscription_update_confirm`. + */ + subscription_update_confirm: Flow.SubscriptionUpdateConfirm | null; + /** * Type of flow that the customer will go through. */ @@ -134,7 +144,66 @@ declare module 'stripe' { subscription: string; } - type Type = 'payment_method_update' | 'subscription_cancel'; + interface SubscriptionUpdate { + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } + + interface SubscriptionUpdateConfirm { + /** + * The coupon or promotion code to apply to this subscription update. Currently, only up to one may be specified. + */ + discounts: Array | null; + + /** + * The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable. + */ + items: Array; + + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } + + namespace SubscriptionUpdateConfirm { + interface Discount { + /** + * The ID of the coupon to apply to this subscription update. + */ + coupon: string | null; + + /** + * The ID of a promotion code to apply to this subscription update. + */ + promotion_code: string | null; + } + + interface Item { + /** + * The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. + */ + id: string | null; + + /** + * The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). + */ + price: string | null; + + /** + * [Quantity](https://stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow. + */ + quantity?: number; + } + } + + type Type = + | 'payment_method_update' + | 'subscription_cancel' + | 'subscription_update' + | 'subscription_update_confirm'; } type Locale = diff --git a/types/BillingPortal/SessionsResource.d.ts b/types/BillingPortal/SessionsResource.d.ts index 7cf073c5bf..b9fe448b3c 100644 --- a/types/BillingPortal/SessionsResource.d.ts +++ b/types/BillingPortal/SessionsResource.d.ts @@ -52,6 +52,16 @@ declare module 'stripe' { */ subscription_cancel?: FlowData.SubscriptionCancel; + /** + * Configuration when `flow_data.type=subscription_update`. + */ + subscription_update?: FlowData.SubscriptionUpdate; + + /** + * Configuration when `flow_data.type=subscription_update_confirm`. + */ + subscription_update_confirm?: FlowData.SubscriptionUpdateConfirm; + /** * Type of flow that the customer will go through. */ @@ -101,7 +111,66 @@ declare module 'stripe' { subscription: string; } - type Type = 'payment_method_update' | 'subscription_cancel'; + interface SubscriptionUpdate { + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } + + interface SubscriptionUpdateConfirm { + /** + * The coupon or promotion code to apply to this subscription update. Currently, only up to one may be specified. + */ + discounts?: Array; + + /** + * The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable. + */ + items: Array; + + /** + * The ID of the subscription to be updated. + */ + subscription: string; + } + + namespace SubscriptionUpdateConfirm { + interface Discount { + /** + * The ID of the coupon to apply to this subscription update. + */ + coupon?: string; + + /** + * The ID of a promotion code to apply to this subscription update. + */ + promotion_code?: string; + } + + interface Item { + /** + * The ID of the [subscription item](https://stripe.com/docs/api/subscriptions/object#subscription_object-items-data-id) to be updated. + */ + id: string; + + /** + * The price the customer should subscribe to through this flow. The price must also be included in the configuration's [`features.subscription_update.products`](https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products). + */ + price?: string; + + /** + * [Quantity](https://stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow. + */ + quantity?: number; + } + } + + type Type = + | 'payment_method_update' + | 'subscription_cancel' + | 'subscription_update' + | 'subscription_update_confirm'; } type Locale = diff --git a/types/Capabilities.d.ts b/types/Capabilities.d.ts index e8988de265..60cf03b8c2 100644 --- a/types/Capabilities.d.ts +++ b/types/Capabilities.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * This is an object representing a capability for a Stripe account. * - * Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities). + * Related guide: [Account capabilities](https://stripe.com/docs/connect/account-capabilities) */ interface Capability { /** diff --git a/types/Cards.d.ts b/types/Cards.d.ts index bba17e43b1..d3ebc17e45 100644 --- a/types/Cards.d.ts +++ b/types/Cards.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * later. You can also store multiple debit cards on a recipient in order to * transfer to those cards later. * - * Related guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards). + * Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) */ interface Card { /** diff --git a/types/Charges.d.ts b/types/Charges.d.ts index b49281f9b0..a560b5dfc8 100644 --- a/types/Charges.d.ts +++ b/types/Charges.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * retrieve and refund individual charges as well as list all charges. Charges * are identified by a unique, random ID. * - * Related guide: [Accept a payment with the Charges API](https://stripe.com/docs/payments/accept-a-payment-charges). + * Related guide: [Accept a payment with the Charges API](https://stripe.com/docs/payments/accept-a-payment-charges) */ interface Charge { /** @@ -900,6 +900,8 @@ declare module 'stripe' { google_pay?: Wallet.GooglePay; + link?: Wallet.Link; + masterpass?: Wallet.Masterpass; samsung_pay?: Wallet.SamsungPay; @@ -919,6 +921,8 @@ declare module 'stripe' { interface GooglePay {} + interface Link {} + interface Masterpass { /** * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. @@ -1140,7 +1144,17 @@ declare module 'stripe' { } } - interface Cashapp {} + interface Cashapp { + /** + * A unique and immutable identifier assigned by Cash App to every buyer. + */ + buyer_id?: string | null; + + /** + * A public identifier for buyers using Cash App. + */ + cashtag?: string | null; + } interface CustomerBalance {} diff --git a/types/Checkout/Sessions.d.ts b/types/Checkout/Sessions.d.ts index aa1d98953d..10494a8a45 100644 --- a/types/Checkout/Sessions.d.ts +++ b/types/Checkout/Sessions.d.ts @@ -17,7 +17,7 @@ declare module 'stripe' { * You can create a Checkout Session on your server and redirect to its URL * to begin Checkout. * - * Related guide: [Checkout Quickstart](https://stripe.com/docs/checkout/quickstart). + * Related guide: [Checkout quickstart](https://stripe.com/docs/checkout/quickstart) */ interface Session { /** @@ -1552,7 +1552,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; @@ -1680,7 +1680,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ discount: Stripe.Discount; } @@ -1694,7 +1694,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; diff --git a/types/CreditNotes.d.ts b/types/CreditNotes.d.ts index 53ffe1292b..eef05ad6d3 100644 --- a/types/CreditNotes.d.ts +++ b/types/CreditNotes.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * Issue a credit note to adjust an invoice's amount after the invoice is finalized. * - * Related guide: [Credit Notes](https://stripe.com/docs/billing/invoices/credit-notes). + * Related guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes) */ interface CreditNote { /** @@ -213,7 +213,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; diff --git a/types/CustomerBalanceTransactions.d.ts b/types/CustomerBalanceTransactions.d.ts index 86302742fb..43a112db52 100644 --- a/types/CustomerBalanceTransactions.d.ts +++ b/types/CustomerBalanceTransactions.d.ts @@ -3,12 +3,12 @@ declare module 'stripe' { namespace Stripe { /** - * Each customer has a [`balance`](https://stripe.com/docs/api/customers/object#customer_object-balance) value, + * Each customer has a [Balance](https://stripe.com/docs/api/customers/object#customer_object-balance) value, * which denotes a debit or credit that's automatically applied to their next invoice upon finalization. * You may modify the value directly by using the [update customer API](https://stripe.com/docs/api/customers/update), * or by creating a Customer Balance Transaction, which increments or decrements the customer's `balance` by the specified `amount`. * - * Related guide: [Customer Balance](https://stripe.com/docs/billing/customer/balance) to learn more. + * Related guide: [Customer balance](https://stripe.com/docs/billing/customer/balance) */ interface CustomerBalanceTransaction { /** diff --git a/types/Customers.d.ts b/types/Customers.d.ts index 9de25296bf..c7d11ea63d 100644 --- a/types/Customers.d.ts +++ b/types/Customers.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * This object represents a customer of your business. It lets you create recurring charges and track payments that belong to the same customer. * - * Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment). + * Related guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment) */ interface Customer { /** diff --git a/types/Discounts.d.ts b/types/Discounts.d.ts index e5c1e91a1e..c02367781d 100644 --- a/types/Discounts.d.ts +++ b/types/Discounts.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ interface Discount { /** diff --git a/types/Disputes.d.ts b/types/Disputes.d.ts index c6fd9efaa4..dae7864594 100644 --- a/types/Disputes.d.ts +++ b/types/Disputes.d.ts @@ -9,7 +9,7 @@ declare module 'stripe' { * information about the dispute process in our [Disputes and * Fraud](https://stripe.com/docs/disputes) documentation. * - * Related guide: [Disputes and Fraud](https://stripe.com/docs/disputes). + * Related guide: [Disputes and fraud](https://stripe.com/docs/disputes) */ interface Dispute { /** diff --git a/types/FeeRefunds.d.ts b/types/FeeRefunds.d.ts index 8681898c75..4c86313781 100644 --- a/types/FeeRefunds.d.ts +++ b/types/FeeRefunds.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * has previously been created but not yet refunded. Funds will be refunded to * the Stripe account from which the fee was originally collected. * - * Related guide: [Refunding Application Fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee). + * Related guide: [Refunding application fees](https://stripe.com/docs/connect/destination-charges#refunding-app-fee) */ interface FeeRefund { /** diff --git a/types/Files.d.ts b/types/Files.d.ts index 2a6f2771ee..c2c20819ec 100644 --- a/types/Files.d.ts +++ b/types/Files.d.ts @@ -9,7 +9,7 @@ declare module 'stripe' { * been created by Stripe (for example, the results of a [Sigma scheduled * query](https://stripe.com/docs/api#scheduled_queries)). * - * Related guide: [File Upload Guide](https://stripe.com/docs/file-upload). + * Related guide: [File upload guide](https://stripe.com/docs/file-upload) */ interface File { /** diff --git a/types/FundingInstructions.d.ts b/types/FundingInstructions.d.ts index dd26d31369..dc90899afc 100644 --- a/types/FundingInstructions.d.ts +++ b/types/FundingInstructions.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * automatically applied to future invoices and payments using the `customer_balance` payment method. * Customers can fund this balance by initiating a bank transfer to any account in the * `financial_addresses` field. - * Related guide: [Customer Balance - Funding Instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) to learn more + * Related guide: [Customer balance funding instructions](https://stripe.com/docs/payments/customer-balance/funding-instructions) */ interface FundingInstructions { /** diff --git a/types/Identity/VerificationSessionsResource.d.ts b/types/Identity/VerificationSessionsResource.d.ts index a6622e614c..cc12c05c09 100644 --- a/types/Identity/VerificationSessionsResource.d.ts +++ b/types/Identity/VerificationSessionsResource.d.ts @@ -177,7 +177,7 @@ declare module 'stripe' { * * If your API key is in test mode, verification checks won't actually process, though everything else will occur as if in live mode. * - * Related guide: [Verify your users' identity documents](https://stripe.com/docs/identity/verify-identity-documents). + * Related guide: [Verify your users' identity documents](https://stripe.com/docs/identity/verify-identity-documents) */ create( params: VerificationSessionCreateParams, diff --git a/types/Invoices.d.ts b/types/Invoices.d.ts index 70d18817ef..4c3dc879ae 100644 --- a/types/Invoices.d.ts +++ b/types/Invoices.d.ts @@ -34,7 +34,7 @@ declare module 'stripe' { * More details on the customer's credit balance are * [here](https://stripe.com/docs/billing/customer/balance). * - * Related guide: [Send Invoices to Customers](https://stripe.com/docs/billing/invoices/sending). + * Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending) */ interface Invoice { /** @@ -621,7 +621,7 @@ declare module 'stripe' { * throughout its lifetime as it interfaces with Stripe.js to perform * authentication flows and ultimately creates at most one successful charge. * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) */ payment_intent?: Stripe.PaymentIntent; @@ -666,7 +666,7 @@ declare module 'stripe' { * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, * even as regulations change over time. * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) */ setup_intent?: Stripe.SetupIntent; @@ -923,7 +923,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; diff --git a/types/Issuing/Authorizations.d.ts b/types/Issuing/Authorizations.d.ts index 0e3ce3ab66..14f4e5eb87 100644 --- a/types/Issuing/Authorizations.d.ts +++ b/types/Issuing/Authorizations.d.ts @@ -8,7 +8,7 @@ declare module 'stripe' { * object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the * purchase to be completed successfully. * - * Related guide: [Issued Card Authorizations](https://stripe.com/docs/issuing/purchases/authorizations). + * Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) */ interface Authorization { /** diff --git a/types/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts index 8166046f40..04193e11a0 100644 --- a/types/Issuing/Cardholders.d.ts +++ b/types/Issuing/Cardholders.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. * - * Related guide: [How to create a Cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) + * Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) */ interface Cardholder { /** diff --git a/types/Issuing/Cards.d.ts b/types/Issuing/Cards.d.ts index f364ccf704..0942ee245f 100644 --- a/types/Issuing/Cards.d.ts +++ b/types/Issuing/Cards.d.ts @@ -30,7 +30,7 @@ declare module 'stripe' { /** * An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. * - * Related guide: [How to create a Cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) + * Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) */ cardholder: Stripe.Issuing.Cardholder; diff --git a/types/Issuing/Disputes.d.ts b/types/Issuing/Disputes.d.ts index 753076ba23..7828ae3d21 100644 --- a/types/Issuing/Disputes.d.ts +++ b/types/Issuing/Disputes.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * As a [card issuer](https://stripe.com/docs/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with. * - * Related guide: [Disputing Transactions](https://stripe.com/docs/issuing/purchases/disputes) + * Related guide: [Issuing disputes](https://stripe.com/docs/issuing/purchases/disputes) */ interface Dispute { /** diff --git a/types/Issuing/Transactions.d.ts b/types/Issuing/Transactions.d.ts index 02453e79be..aa3556de15 100644 --- a/types/Issuing/Transactions.d.ts +++ b/types/Issuing/Transactions.d.ts @@ -8,7 +8,7 @@ declare module 'stripe' { * your Stripe account, such as a completed purchase or refund, is represented by an Issuing * `Transaction` object. * - * Related guide: [Issued Card Transactions](https://stripe.com/docs/issuing/purchases/transactions). + * Related guide: [Issued card transactions](https://stripe.com/docs/issuing/purchases/transactions) */ interface Transaction { /** diff --git a/types/LineItems.d.ts b/types/LineItems.d.ts index 01ed6cc44f..4d1d3bddf2 100644 --- a/types/LineItems.d.ts +++ b/types/LineItems.d.ts @@ -78,7 +78,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ discount: Stripe.Discount; } @@ -92,7 +92,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; diff --git a/types/PaymentIntents.d.ts b/types/PaymentIntents.d.ts index baeb547438..cd3cc9f9d9 100644 --- a/types/PaymentIntents.d.ts +++ b/types/PaymentIntents.d.ts @@ -13,7 +13,7 @@ declare module 'stripe' { * throughout its lifetime as it interfaces with Stripe.js to perform * authentication flows and ultimately creates at most one successful charge. * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) */ interface PaymentIntent { /** @@ -299,7 +299,7 @@ declare module 'stripe' { * throughout its lifetime as it interfaces with Stripe.js to perform * authentication flows and ultimately creates at most one successful charge. * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) */ payment_intent?: Stripe.PaymentIntent; @@ -344,7 +344,7 @@ declare module 'stripe' { * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, * even as regulations change over time. * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) */ setup_intent?: Stripe.SetupIntent; diff --git a/types/PaymentMethods.d.ts b/types/PaymentMethods.d.ts index 49a1cd60b2..fa34e72a39 100644 --- a/types/PaymentMethods.d.ts +++ b/types/PaymentMethods.d.ts @@ -341,6 +341,8 @@ declare module 'stripe' { google_pay?: Wallet.GooglePay; + link?: Wallet.Link; + masterpass?: Wallet.Masterpass; samsung_pay?: Wallet.SamsungPay; @@ -360,6 +362,8 @@ declare module 'stripe' { interface GooglePay {} + interface Link {} + interface Masterpass { /** * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. @@ -492,7 +496,17 @@ declare module 'stripe' { | 'magnetic_stripe_track2'; } - interface Cashapp {} + interface Cashapp { + /** + * A unique and immutable identifier assigned by Cash App to every buyer. + */ + buyer_id?: string | null; + + /** + * A public identifier for buyers using Cash App. + */ + cashtag?: string | null; + } interface CustomerBalance {} diff --git a/types/Payouts.d.ts b/types/Payouts.d.ts index b36c671e26..c7a1a9c933 100644 --- a/types/Payouts.d.ts +++ b/types/Payouts.d.ts @@ -10,7 +10,7 @@ declare module 'stripe' { * schedules](https://stripe.com/docs/connect/manage-payout-schedule), depending on your country and * industry. * - * Related guide: [Receiving Payouts](https://stripe.com/docs/payouts). + * Related guide: [Receiving payouts](https://stripe.com/docs/payouts) */ interface Payout { /** diff --git a/types/Persons.d.ts b/types/Persons.d.ts index c29021e252..2f0796dd5f 100644 --- a/types/Persons.d.ts +++ b/types/Persons.d.ts @@ -8,7 +8,7 @@ declare module 'stripe' { * A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. * See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps. * - * Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information). + * Related guide: [Handling identity verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information) */ interface Person { /** diff --git a/types/Quotes.d.ts b/types/Quotes.d.ts index 7b17240409..cbf737fcc8 100644 --- a/types/Quotes.d.ts +++ b/types/Quotes.d.ts @@ -271,7 +271,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ discount: Stripe.Discount; } @@ -285,7 +285,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; @@ -388,7 +388,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ discount: Stripe.Discount; } @@ -402,7 +402,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; @@ -541,7 +541,7 @@ declare module 'stripe' { * A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes). * It contains information about when the discount began, when it will end, and what it is applied to. * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). + * Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts) */ discount: Stripe.Discount; } @@ -555,7 +555,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ rate: Stripe.TaxRate; diff --git a/types/Radar/EarlyFraudWarnings.d.ts b/types/Radar/EarlyFraudWarnings.d.ts index 7f674250ac..1b853882e9 100644 --- a/types/Radar/EarlyFraudWarnings.d.ts +++ b/types/Radar/EarlyFraudWarnings.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * An early fraud warning indicates that the card issuer has notified us that a * charge may be fraudulent. * - * Related guide: [Early Fraud Warnings](https://stripe.com/docs/disputes/measuring#early-fraud-warnings). + * Related guide: [Early fraud warnings](https://stripe.com/docs/disputes/measuring#early-fraud-warnings) */ interface EarlyFraudWarning { /** diff --git a/types/Radar/ValueListItems.d.ts b/types/Radar/ValueListItems.d.ts index 93b7eaff7a..083dbb5091 100644 --- a/types/Radar/ValueListItems.d.ts +++ b/types/Radar/ValueListItems.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * Value list items allow you to add specific values to a given Radar value list, which can then be used in rules. * - * Related guide: [Managing List Items](https://stripe.com/docs/radar/lists#managing-list-items). + * Related guide: [Managing list items](https://stripe.com/docs/radar/lists#managing-list-items) */ interface ValueListItem { /** diff --git a/types/Radar/ValueLists.d.ts b/types/Radar/ValueLists.d.ts index ee29f9c027..13f6a64ac5 100644 --- a/types/Radar/ValueLists.d.ts +++ b/types/Radar/ValueLists.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * Value lists allow you to group values together which can then be referenced in rules. * - * Related guide: [Default Stripe Lists](https://stripe.com/docs/radar/lists#managing-list-items). + * Related guide: [Default Stripe lists](https://stripe.com/docs/radar/lists#managing-list-items) */ interface ValueList { /** diff --git a/types/Refunds.d.ts b/types/Refunds.d.ts index 70ec7db719..e083d2193b 100644 --- a/types/Refunds.d.ts +++ b/types/Refunds.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * but not yet refunded. Funds will be refunded to the credit or debit card that * was originally charged. * - * Related guide: [Refunds](https://stripe.com/docs/refunds). + * Related guide: [Refunds](https://stripe.com/docs/refunds) */ interface Refund { /** diff --git a/types/SetupAttempts.d.ts b/types/SetupAttempts.d.ts index b7f00204c3..c88fe1d1e9 100644 --- a/types/SetupAttempts.d.ts +++ b/types/SetupAttempts.d.ts @@ -524,7 +524,7 @@ declare module 'stripe' { * throughout its lifetime as it interfaces with Stripe.js to perform * authentication flows and ultimately creates at most one successful charge. * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) */ payment_intent?: Stripe.PaymentIntent; @@ -569,7 +569,7 @@ declare module 'stripe' { * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, * even as regulations change over time. * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) */ setup_intent?: Stripe.SetupIntent; diff --git a/types/SetupIntents.d.ts b/types/SetupIntents.d.ts index 656fb1fe55..2eca28967c 100644 --- a/types/SetupIntents.d.ts +++ b/types/SetupIntents.d.ts @@ -24,7 +24,7 @@ declare module 'stripe' { * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, * even as regulations change over time. * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) */ interface SetupIntent { /** @@ -215,7 +215,7 @@ declare module 'stripe' { * throughout its lifetime as it interfaces with Stripe.js to perform * authentication flows and ultimately creates at most one successful charge. * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). + * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents) */ payment_intent?: Stripe.PaymentIntent; @@ -260,7 +260,7 @@ declare module 'stripe' { * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, * even as regulations change over time. * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). + * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents) */ setup_intent?: Stripe.SetupIntent; diff --git a/types/SubscriptionSchedules.d.ts b/types/SubscriptionSchedules.d.ts index cfd2d39081..4f6c59298b 100644 --- a/types/SubscriptionSchedules.d.ts +++ b/types/SubscriptionSchedules.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * A subscription schedule allows you to create and manage the lifecycle of a subscription by predefining expected changes. * - * Related guide: [Subscription Schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules). + * Related guide: [Subscription schedules](https://stripe.com/docs/billing/subscriptions/subscription-schedules) */ interface SubscriptionSchedule { /** diff --git a/types/Subscriptions.d.ts b/types/Subscriptions.d.ts index fd267d12aa..28e76db738 100644 --- a/types/Subscriptions.d.ts +++ b/types/Subscriptions.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * Subscriptions allow you to charge a customer on a recurring basis. * - * Related guide: [Creating Subscriptions](https://stripe.com/docs/billing/subscriptions/creating). + * Related guide: [Creating subscriptions](https://stripe.com/docs/billing/subscriptions/creating) */ interface Subscription { /** diff --git a/types/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts index 7b770d97f9..b504205419 100644 --- a/types/SubscriptionsResource.d.ts +++ b/types/SubscriptionsResource.d.ts @@ -809,7 +809,7 @@ declare module 'stripe' { proration_behavior?: SubscriptionUpdateParams.ProrationBehavior; /** - * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. + * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#upcoming_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. */ proration_date?: number; diff --git a/types/Tax/Calculations.d.ts b/types/Tax/Calculations.d.ts index 8e305fef39..8557b2dee9 100644 --- a/types/Tax/Calculations.d.ts +++ b/types/Tax/Calculations.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * A Tax Calculation allows you to calculate the tax to collect from your customer. * - * Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom). + * Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom) */ interface Calculation { /** diff --git a/types/Tax/Transactions.d.ts b/types/Tax/Transactions.d.ts index c3698ac06a..3fd625fe00 100644 --- a/types/Tax/Transactions.d.ts +++ b/types/Tax/Transactions.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * A Tax Transaction records the tax collected from or refunded to your customer. * - * Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction). + * Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction) */ interface Transaction { /** diff --git a/types/TaxIds.d.ts b/types/TaxIds.d.ts index 0e343c938a..16b516cdc5 100644 --- a/types/TaxIds.d.ts +++ b/types/TaxIds.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { * You can add one or multiple tax IDs to a [customer](https://stripe.com/docs/api/customers). * A customer's tax IDs are displayed on invoices and credit notes issued for the customer. * - * Related guide: [Customer Tax Identification Numbers](https://stripe.com/docs/billing/taxes/tax-ids). + * Related guide: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids) */ interface TaxId { /** diff --git a/types/TaxRates.d.ts b/types/TaxRates.d.ts index 9a967b5f4d..7cbd556b14 100644 --- a/types/TaxRates.d.ts +++ b/types/TaxRates.d.ts @@ -5,7 +5,7 @@ declare module 'stripe' { /** * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). + * Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates) */ interface TaxRate { /** @@ -86,6 +86,8 @@ declare module 'stripe' { namespace TaxRate { type TaxType = + | 'amusement_tax' + | 'communications_tax' | 'gst' | 'hst' | 'igst' diff --git a/types/TaxRatesResource.d.ts b/types/TaxRatesResource.d.ts index bbde3c90b2..80730fa6b8 100644 --- a/types/TaxRatesResource.d.ts +++ b/types/TaxRatesResource.d.ts @@ -61,6 +61,8 @@ declare module 'stripe' { namespace TaxRateCreateParams { type TaxType = + | 'amusement_tax' + | 'communications_tax' | 'gst' | 'hst' | 'igst' @@ -129,6 +131,8 @@ declare module 'stripe' { namespace TaxRateUpdateParams { type TaxType = + | 'amusement_tax' + | 'communications_tax' | 'gst' | 'hst' | 'igst' diff --git a/types/Terminal/ConnectionTokens.d.ts b/types/Terminal/ConnectionTokens.d.ts index b6a8502e7c..6e1beec285 100644 --- a/types/Terminal/ConnectionTokens.d.ts +++ b/types/Terminal/ConnectionTokens.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * A Connection Token is used by the Stripe Terminal SDK to connect to a reader. * - * Related guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations). + * Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) */ interface ConnectionToken { /** diff --git a/types/Terminal/Locations.d.ts b/types/Terminal/Locations.d.ts index ee3b87f439..9ce1b39ae6 100644 --- a/types/Terminal/Locations.d.ts +++ b/types/Terminal/Locations.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * A Location represents a grouping of readers. * - * Related guide: [Fleet Management](https://stripe.com/docs/terminal/fleet/locations). + * Related guide: [Fleet management](https://stripe.com/docs/terminal/fleet/locations) */ interface Location { /** diff --git a/types/Terminal/Readers.d.ts b/types/Terminal/Readers.d.ts index bd6037dfe6..72b7b97783 100644 --- a/types/Terminal/Readers.d.ts +++ b/types/Terminal/Readers.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { /** * A Reader represents a physical device for accepting payment details. * - * Related guide: [Connecting to a Reader](https://stripe.com/docs/terminal/payments/connect-reader). + * Related guide: [Connecting to a reader](https://stripe.com/docs/terminal/payments/connect-reader) */ interface Reader { /** diff --git a/types/Tokens.d.ts b/types/Tokens.d.ts index 6803a11196..cefdf39590 100644 --- a/types/Tokens.d.ts +++ b/types/Tokens.d.ts @@ -24,7 +24,7 @@ declare module 'stripe' { * [Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection, * performs best with integrations that use client-side tokenization. * - * Related guide: [Accept a payment](https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token) + * Related guide: [Accept a payment with Charges and Tokens](https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token) */ interface Token { /** @@ -44,7 +44,7 @@ declare module 'stripe' { * destinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts). * They can be bank accounts or debit cards as well, and are documented in the links above. * - * Related guide: [Bank Debits and Transfers](https://stripe.com/docs/payments/bank-debits-transfers). + * Related guide: [Bank debits and transfers](https://stripe.com/docs/payments/bank-debits-transfers) */ bank_account?: Stripe.BankAccount; @@ -53,7 +53,7 @@ declare module 'stripe' { * later. You can also store multiple debit cards on a recipient in order to * transfer to those cards later. * - * Related guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards). + * Related guide: [Card payments with Sources](https://stripe.com/docs/sources/cards) */ card?: Stripe.Card; diff --git a/types/Topups.d.ts b/types/Topups.d.ts index e25b0f4bbd..004d0e0e6c 100644 --- a/types/Topups.d.ts +++ b/types/Topups.d.ts @@ -7,7 +7,7 @@ declare module 'stripe' { * individual top-ups, as well as list all top-ups. Top-ups are identified by a * unique, random ID. * - * Related guide: [Topping Up your Platform Account](https://stripe.com/docs/connect/top-ups). + * Related guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups) */ interface Topup { /** diff --git a/types/TransferReversals.d.ts b/types/TransferReversals.d.ts index a778bc3c99..984a937a36 100644 --- a/types/TransferReversals.d.ts +++ b/types/TransferReversals.d.ts @@ -15,7 +15,7 @@ declare module 'stripe' { * transfer only if the destination account has enough balance to cover the * reversal. * - * Related guide: [Reversing Transfers](https://stripe.com/docs/connect/charges-transfers#reversing-transfers). + * Related guide: [Reversing transfers](https://stripe.com/docs/connect/charges-transfers#reversing-transfers) */ interface TransferReversal { /** diff --git a/types/Transfers.d.ts b/types/Transfers.d.ts index 59e041e357..1c212cea85 100644 --- a/types/Transfers.d.ts +++ b/types/Transfers.d.ts @@ -12,7 +12,7 @@ declare module 'stripe' { * information, read about the * [transfer/payout split](https://stripe.com/docs/transfer-payout-split). * - * Related guide: [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/charges-transfers). + * Related guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/charges-transfers) */ interface Transfer { /** diff --git a/types/Treasury/ReceivedCredits.d.ts b/types/Treasury/ReceivedCredits.d.ts index 709e52ede1..0589e632cd 100644 --- a/types/Treasury/ReceivedCredits.d.ts +++ b/types/Treasury/ReceivedCredits.d.ts @@ -214,7 +214,7 @@ declare module 'stripe' { * schedules](https://stripe.com/docs/connect/manage-payout-schedule), depending on your country and * industry. * - * Related guide: [Receiving Payouts](https://stripe.com/docs/payouts). + * Related guide: [Receiving payouts](https://stripe.com/docs/payouts) */ payout?: Stripe.Payout; diff --git a/types/Treasury/TransactionEntries.d.ts b/types/Treasury/TransactionEntries.d.ts index 593193505a..945505f1c5 100644 --- a/types/Treasury/TransactionEntries.d.ts +++ b/types/Treasury/TransactionEntries.d.ts @@ -112,7 +112,7 @@ declare module 'stripe' { * object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the * purchase to be completed successfully. * - * Related guide: [Issued Card Authorizations](https://stripe.com/docs/issuing/purchases/authorizations). + * Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) */ issuing_authorization?: Stripe.Issuing.Authorization; diff --git a/types/Treasury/Transactions.d.ts b/types/Treasury/Transactions.d.ts index d65772f255..2344019f3c 100644 --- a/types/Treasury/Transactions.d.ts +++ b/types/Treasury/Transactions.d.ts @@ -119,7 +119,7 @@ declare module 'stripe' { * object is created. [Authorizations](https://stripe.com/docs/issuing/purchases/authorizations) must be approved for the * purchase to be completed successfully. * - * Related guide: [Issued Card Authorizations](https://stripe.com/docs/issuing/purchases/authorizations). + * Related guide: [Issued card authorizations](https://stripe.com/docs/issuing/purchases/authorizations) */ issuing_authorization?: Stripe.Issuing.Authorization; diff --git a/types/UsageRecords.d.ts b/types/UsageRecords.d.ts index a6c2597291..e93f3d60a4 100644 --- a/types/UsageRecords.d.ts +++ b/types/UsageRecords.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { * Usage records allow you to report customer usage and metrics to Stripe for * metered billing of subscription prices. * - * Related guide: [Metered Billing](https://stripe.com/docs/billing/subscriptions/metered-billing). + * Related guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing) */ interface UsageRecord { /** diff --git a/types/WebhookEndpoints.d.ts b/types/WebhookEndpoints.d.ts index 48153c1b58..ecb69ad211 100644 --- a/types/WebhookEndpoints.d.ts +++ b/types/WebhookEndpoints.d.ts @@ -9,7 +9,7 @@ declare module 'stripe' { * * Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. * - * Related guide: [Setting up Webhooks](https://stripe.com/docs/webhooks/configure). + * Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure) */ interface WebhookEndpoint { /**