diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index da794494dc..749c898fd2 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v742 \ No newline at end of file +v755 \ No newline at end of file diff --git a/src/resources.ts b/src/resources.ts index 7a9ec67799..505c54b5ca 100644 --- a/src/resources.ts +++ b/src/resources.ts @@ -67,6 +67,7 @@ export {Charges} from './resources/Charges.js'; export {CountrySpecs} from './resources/CountrySpecs.js'; export {Coupons} from './resources/Coupons.js'; export {CreditNotes} from './resources/CreditNotes.js'; +export {CustomerSessions} from './resources/CustomerSessions.js'; export {Customers} from './resources/Customers.js'; export {Disputes} from './resources/Disputes.js'; export {EphemeralKeys} from './resources/EphemeralKeys.js'; diff --git a/src/resources/CustomerSessions.ts b/src/resources/CustomerSessions.ts new file mode 100644 index 0000000000..0b5736984e --- /dev/null +++ b/src/resources/CustomerSessions.ts @@ -0,0 +1,7 @@ +// File generated from our OpenAPI spec + +import {StripeResource} from '../StripeResource.js'; +const stripeMethod = StripeResource.method; +export const CustomerSessions = StripeResource.extend({ + create: stripeMethod({method: 'POST', fullPath: '/v1/customer_sessions'}), +}); diff --git a/test/resources/generated_examples_test.spec.js b/test/resources/generated_examples_test.spec.js index 5d6457da14..a9d724605a 100644 --- a/test/resources/generated_examples_test.spec.js +++ b/test/resources/generated_examples_test.spec.js @@ -674,6 +674,18 @@ describe('Generated tests', function() { expect(creditNote).not.to.be.null; }); + it('test_customer_sessions_post', async function() { + const customerSession = await stripe.customerSessions.create({ + customer: 'cus_123', + components: { + buy_button: { + enabled: true, + }, + }, + }); + expect(customerSession).not.to.be.null; + }); + it('test_customers_balance_transactions_get', async function() { const customerBalanceTransactions = await stripe.customers.listBalanceTransactions( 'cus_xxxxxxxxxxxxx', diff --git a/types/BalanceTransactions.d.ts b/types/BalanceTransactions.d.ts index 2b924383cd..90d116b8aa 100644 --- a/types/BalanceTransactions.d.ts +++ b/types/BalanceTransactions.d.ts @@ -80,7 +80,7 @@ declare module 'stripe' { status: string; /** - * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_inbound`, `obligation_outbound`, `obligation_reversal_inbound`, `obligation_reversal_outbound`, `obligation_payout`, `obligation_payout_failure`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead. + * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. Learn more about [balance transaction types and what they represent](https://stripe.com/docs/reports/balance-transaction-types). To classify transactions for accounting purposes, consider `reporting_category` instead. */ type: BalanceTransaction.Type; } @@ -129,12 +129,8 @@ declare module 'stripe' { | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' - | 'obligation_inbound' | 'obligation_outbound' - | 'obligation_payout' - | 'obligation_payout_failure' | 'obligation_reversal_inbound' - | 'obligation_reversal_outbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' @@ -157,7 +153,11 @@ declare module 'stripe' { | 'transfer' | 'transfer_cancel' | 'transfer_failure' - | 'transfer_refund'; + | 'transfer_refund' + | 'obligation_inbound' + | 'obligation_payout' + | 'obligation_payout_failure' + | 'obligation_reversal_outbound'; } } } diff --git a/types/BalanceTransactionsResource.d.ts b/types/BalanceTransactionsResource.d.ts index b4b161728e..f1f739b00a 100644 --- a/types/BalanceTransactionsResource.d.ts +++ b/types/BalanceTransactionsResource.d.ts @@ -33,7 +33,7 @@ declare module 'stripe' { source?: string; /** - * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_inbound`, `obligation_outbound`, `obligation_reversal_inbound`, `obligation_reversal_outbound`, `obligation_payout`, `obligation_payout_failure`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. + * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. */ type?: string; } diff --git a/types/CustomerSessions.d.ts b/types/CustomerSessions.d.ts new file mode 100644 index 0000000000..24c01550f4 --- /dev/null +++ b/types/CustomerSessions.d.ts @@ -0,0 +1,78 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + /** + * A customer session allows you to grant client access to Stripe's frontend SDKs (like StripeJs) + * control over a customer. + */ + interface CustomerSession { + /** + * String representing the object's type. Objects of the same type share the same value. + */ + object: 'customer_session'; + + /** + * The client secret of this customer session. Used on the client to set up secure access to the given `customer`. + * + * The client secret can be used to provide access to `customer` from your frontend. It should not be stored, logged, or exposed to anyone other than the relevant customer. Make sure that you have TLS enabled on any page that includes the client secret. + */ + client_secret: string; + + /** + * Configuration for the components supported by this customer session. + */ + components?: CustomerSession.Components; + + /** + * Time at which the object was created. Measured in seconds since the Unix epoch. + */ + created: number; + + /** + * The customer the customer session was created for. + */ + customer: string | Stripe.Customer; + + /** + * The timestamp at which this customer session will expire. + */ + expires_at: number; + + /** + * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. + */ + livemode: boolean; + } + + namespace CustomerSession { + interface Components { + /** + * This hash contains whether the buy button is enabled. + */ + buy_button?: Components.BuyButton; + + /** + * This hash contains whether the pricing table is enabled. + */ + pricing_table?: Components.PricingTable; + } + + namespace Components { + interface BuyButton { + /** + * Whether the buy button is enabled. + */ + enabled: boolean; + } + + interface PricingTable { + /** + * Whether the pricing table is enabled. + */ + enabled: boolean; + } + } + } + } +} diff --git a/types/CustomerSessionsResource.d.ts b/types/CustomerSessionsResource.d.ts new file mode 100644 index 0000000000..362650b4bc --- /dev/null +++ b/types/CustomerSessionsResource.d.ts @@ -0,0 +1,62 @@ +// File generated from our OpenAPI spec + +declare module 'stripe' { + namespace Stripe { + interface CustomerSessionCreateParams { + /** + * Configuration for each component. 1 component must be enabled. + */ + components: CustomerSessionCreateParams.Components; + + /** + * The ID of an existing customer for which to create the customer session. + */ + customer: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + namespace CustomerSessionCreateParams { + interface Components { + /** + * Configuration for buy button. + */ + buy_button?: Components.BuyButton; + + /** + * Configuration for the pricing table. + */ + pricing_table?: Components.PricingTable; + } + + namespace Components { + interface BuyButton { + /** + * Whether the buy button is enabled. + */ + enabled: boolean; + } + + interface PricingTable { + /** + * Whether the pricing table is enabled. + */ + enabled: boolean; + } + } + } + + class CustomerSessionsResource { + /** + * Creates a customer session object that includes a single-use client secret that you can use on your front-end to grant client-side API access for certain customer resources. + */ + create( + params: CustomerSessionCreateParams, + options?: RequestOptions + ): Promise>; + } + } +} diff --git a/types/Invoices.d.ts b/types/Invoices.d.ts index 5956e5d602..7e1ec5ca01 100644 --- a/types/Invoices.d.ts +++ b/types/Invoices.d.ts @@ -1095,12 +1095,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' diff --git a/types/InvoicesResource.d.ts b/types/InvoicesResource.d.ts index 345b335139..35fafb059f 100644 --- a/types/InvoicesResource.d.ts +++ b/types/InvoicesResource.d.ts @@ -435,12 +435,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' @@ -1069,12 +1071,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' diff --git a/types/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts index c07224f706..b5a438ce29 100644 --- a/types/Issuing/Cardholders.d.ts +++ b/types/Issuing/Cardholders.d.ts @@ -127,7 +127,7 @@ declare module 'stripe' { namespace Individual { interface CardIssuing { /** - * Information about cardholder acceptance of [Authorized User Terms](https://stripe.com/docs/issuing/cards). + * Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program. */ user_terms_acceptance: CardIssuing.UserTermsAcceptance | null; } @@ -135,12 +135,12 @@ declare module 'stripe' { namespace CardIssuing { interface UserTermsAcceptance { /** - * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. + * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. */ date: number | null; /** - * The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. + * The IP address from which the cardholder accepted the Authorized User Terms. */ ip: string | null; diff --git a/types/Issuing/CardholdersResource.d.ts b/types/Issuing/CardholdersResource.d.ts index 43012ec55a..2439a6bf85 100644 --- a/types/Issuing/CardholdersResource.d.ts +++ b/types/Issuing/CardholdersResource.d.ts @@ -145,7 +145,7 @@ declare module 'stripe' { namespace Individual { interface CardIssuing { /** - * Information about cardholder acceptance of [Authorized User Terms](https://stripe.com/docs/issuing/cards). + * Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program. */ user_terms_acceptance?: CardIssuing.UserTermsAcceptance; } @@ -1296,7 +1296,7 @@ declare module 'stripe' { namespace Individual { interface CardIssuing { /** - * Information about cardholder acceptance of [Authorized User Terms](https://stripe.com/docs/issuing/cards). + * Information about cardholder acceptance of Celtic [Authorized User Terms](https://stripe.com/docs/issuing/cards#accept-authorized-user-terms). Required for cards backed by a Celtic program. */ user_terms_acceptance?: CardIssuing.UserTermsAcceptance; } diff --git a/types/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts index 2650e253ff..b2cffb8866 100644 --- a/types/PaymentIntentsResource.d.ts +++ b/types/PaymentIntentsResource.d.ts @@ -993,7 +993,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -2072,7 +2072,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } @@ -3107,7 +3107,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -4186,7 +4186,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } @@ -5359,7 +5359,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -6438,7 +6438,7 @@ declare module 'stripe' { setup_future_usage?: Stripe.Emptyable; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } diff --git a/types/Reporting/ReportRunsResource.d.ts b/types/Reporting/ReportRunsResource.d.ts index dbc76c8b37..7b95e217c4 100644 --- a/types/Reporting/ReportRunsResource.d.ts +++ b/types/Reporting/ReportRunsResource.d.ts @@ -87,7 +87,6 @@ declare module 'stripe' { | 'issuing_dispute' | 'issuing_transaction' | 'network_cost' - | 'obligation' | 'other_adjustment' | 'partial_capture_reversal' | 'payout' @@ -102,7 +101,8 @@ declare module 'stripe' { | 'topup_reversal' | 'transfer' | 'transfer_reversal' - | 'unreconciled_customer_funds'; + | 'unreconciled_customer_funds' + | 'obligation'; type Timezone = | 'Africa/Abidjan' diff --git a/types/SetupIntentsResource.d.ts b/types/SetupIntentsResource.d.ts index 9af1febd47..aa97ac53e0 100644 --- a/types/SetupIntentsResource.d.ts +++ b/types/SetupIntentsResource.d.ts @@ -773,7 +773,7 @@ declare module 'stripe' { mandate_options?: AcssDebit.MandateOptions; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -1057,7 +1057,7 @@ declare module 'stripe' { networks?: UsBankAccount.Networks; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } @@ -1803,7 +1803,7 @@ declare module 'stripe' { mandate_options?: AcssDebit.MandateOptions; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -2087,7 +2087,7 @@ declare module 'stripe' { networks?: UsBankAccount.Networks; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } @@ -2913,7 +2913,7 @@ declare module 'stripe' { mandate_options?: AcssDebit.MandateOptions; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: AcssDebit.VerificationMethod; } @@ -3197,7 +3197,7 @@ declare module 'stripe' { networks?: UsBankAccount.Networks; /** - * Verification method for the intent + * Bank account verification method. */ verification_method?: UsBankAccount.VerificationMethod; } diff --git a/types/SubscriptionSchedules.d.ts b/types/SubscriptionSchedules.d.ts index 5f33c19d40..4859628332 100644 --- a/types/SubscriptionSchedules.d.ts +++ b/types/SubscriptionSchedules.d.ts @@ -55,7 +55,7 @@ declare module 'stripe' { default_settings: SubscriptionSchedule.DefaultSettings; /** - * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription. + * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription. */ end_behavior: SubscriptionSchedule.EndBehavior; diff --git a/types/SubscriptionSchedulesResource.d.ts b/types/SubscriptionSchedulesResource.d.ts index 6d3202a717..2a5d9fa8bd 100644 --- a/types/SubscriptionSchedulesResource.d.ts +++ b/types/SubscriptionSchedulesResource.d.ts @@ -14,7 +14,7 @@ declare module 'stripe' { default_settings?: SubscriptionScheduleCreateParams.DefaultSettings; /** - * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription. + * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription. */ end_behavior?: SubscriptionScheduleCreateParams.EndBehavior; @@ -469,7 +469,7 @@ declare module 'stripe' { default_settings?: SubscriptionScheduleUpdateParams.DefaultSettings; /** - * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription. + * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription. */ end_behavior?: SubscriptionScheduleUpdateParams.EndBehavior; diff --git a/types/Subscriptions.d.ts b/types/Subscriptions.d.ts index e86c4f68cf..742ba22dc1 100644 --- a/types/Subscriptions.d.ts +++ b/types/Subscriptions.d.ts @@ -39,6 +39,11 @@ declare module 'stripe' { */ billing_cycle_anchor: number; + /** + * The fixed values used to calculate the `billing_cycle_anchor`. + */ + billing_cycle_anchor_config?: Subscription.BillingCycleAnchorConfig | null; + /** * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period */ @@ -241,6 +246,33 @@ declare module 'stripe' { enabled: boolean; } + interface BillingCycleAnchorConfig { + /** + * The day of the month of the billing_cycle_anchor. + */ + day_of_month: number; + + /** + * The hour of the day of the billing_cycle_anchor. + */ + hour: number | null; + + /** + * The minute of the hour of the billing_cycle_anchor. + */ + minute: number | null; + + /** + * The month to start full cycle billing periods. + */ + month: number | null; + + /** + * The second of the minute of the billing_cycle_anchor. + */ + second: number | null; + } + interface BillingThresholds { /** * Monetary threshold that triggers the subscription to create an invoice @@ -521,12 +553,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' diff --git a/types/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts index 3a0b204955..3cb842dc3c 100644 --- a/types/SubscriptionsResource.d.ts +++ b/types/SubscriptionsResource.d.ts @@ -33,6 +33,11 @@ declare module 'stripe' { */ billing_cycle_anchor?: number; + /** + * Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC. + */ + billing_cycle_anchor_config?: SubscriptionCreateParams.BillingCycleAnchorConfig; + /** * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ @@ -241,6 +246,33 @@ declare module 'stripe' { enabled: boolean; } + interface BillingCycleAnchorConfig { + /** + * The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31. + */ + day_of_month: number; + + /** + * The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23. + */ + hour?: number; + + /** + * The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59. + */ + minute?: number; + + /** + * The month to start full cycle billing periods. Ranges from 1 to 12. + */ + month?: number; + + /** + * The second of the minute the billing_cycle_anchor should be. Ranges from 0 to 59. + */ + second?: number; + } + interface BillingThresholds { /** * Monetary threshold that triggers the subscription to advance to a new billing period @@ -596,12 +628,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' @@ -1316,12 +1350,14 @@ declare module 'stripe' { | 'card' | 'cashapp' | 'customer_balance' + | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'konbini' | 'link' + | 'p24' | 'paynow' | 'paypal' | 'promptpay' diff --git a/types/index.d.ts b/types/index.d.ts index a01f136281..683de85cff 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -26,6 +26,7 @@ /// /// /// +/// /// /// /// @@ -137,6 +138,7 @@ /// /// /// +/// /// /// /// @@ -263,6 +265,7 @@ declare module 'stripe' { countrySpecs: Stripe.CountrySpecsResource; coupons: Stripe.CouponsResource; creditNotes: Stripe.CreditNotesResource; + customerSessions: Stripe.CustomerSessionsResource; customers: Stripe.CustomersResource; disputes: Stripe.DisputesResource; ephemeralKeys: Stripe.EphemeralKeysResource;