/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
stripe
/
types
/
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types
mkdir
upload
Name
Size
Mode
Actions
Apps/
-
0777
rm
Billing/
-
0777
rm
BillingPortal/
-
0777
rm
Checkout/
-
0777
rm
Climate/
-
0777
rm
crypto/
-
0777
rm
Entitlements/
-
0777
rm
FinancialConnections/
-
0777
rm
Forwarding/
-
0777
rm
Identity/
-
0777
rm
Issuing/
-
0777
rm
net/
-
0777
rm
Radar/
-
0777
rm
Reporting/
-
0777
rm
Sigma/
-
0777
rm
Tax/
-
0777
rm
Terminal/
-
0777
rm
test/
-
0777
rm
TestHelpers/
-
0777
rm
Treasury/
-
0777
rm
V2/
-
0777
rm
.eslintrc.js
620
0666
edit
dl
rm
AccountLinks.d.ts
893
0666
edit
dl
rm
AccountLinksResource.d.ts
2898
0666
edit
dl
rm
Accounts.d.ts
63448
0666
edit
dl
rm
AccountSessions.d.ts
17282
0666
edit
dl
rm
AccountSessionsResource.d.ts
19316
0666
edit
dl
rm
AccountsResource.d.ts
181754
0666
edit
dl
rm
ApplePayDomains.d.ts
1241
0666
edit
dl
rm
ApplePayDomainsResource.d.ts
1962
0666
edit
dl
rm
ApplicationFees.d.ts
3040
0666
edit
dl
rm
ApplicationFeesResource.d.ts
6115
0666
edit
dl
rm
Applications.d.ts
1064
0666
edit
dl
rm
Balance.d.ts
8675
0666
edit
dl
rm
BalanceResource.d.ts
817
0666
edit
dl
rm
BalanceTransactions.d.ts
6553
0666
edit
dl
rm
BalanceTransactionSources.d.ts
499
0666
edit
dl
rm
BalanceTransactionsResource.d.ts
3247
0666
edit
dl
rm
BankAccounts.d.ts
18753
0666
edit
dl
rm
Capabilities.d.ts
17891
0666
edit
dl
rm
Cards.d.ts
8674
0666
edit
dl
rm
CashBalances.d.ts
1711
0666
edit
dl
rm
Charges.d.ts
81258
0666
edit
dl
rm
ChargesResource.d.ts
19232
0666
edit
dl
rm
ConfirmationTokens.d.ts
54015
0666
edit
dl
rm
ConfirmationTokensResource.d.ts
698
0666
edit
dl
rm
ConnectCollectionTransfers.d.ts
1063
0666
edit
dl
rm
CountrySpecs.d.ts
2759
0666
edit
dl
rm
CountrySpecsResource.d.ts
1145
0666
edit
dl
rm
Coupons.d.ts
4525
0666
edit
dl
rm
CouponsResource.d.ts
7997
0666
edit
dl
rm
CreditNoteLineItems.d.ts
5515
0666
edit
dl
rm
CreditNotes.d.ts
10417
0666
edit
dl
rm
CreditNotesResource.d.ts
21683
0666
edit
dl
rm
CustomerBalanceTransactions.d.ts
3534
0666
edit
dl
rm
CustomerCashBalanceTransactions.d.ts
7655
0666
edit
dl
rm
Customers.d.ts
10312
0666
edit
dl
rm
CustomerSessions.d.ts
6659
0666
edit
dl
rm
CustomerSessionsResource.d.ts
5543
0666
edit
dl
rm
CustomerSources.d.ts
227
0666
edit
dl
rm
CustomersResource.d.ts
49272
0666
edit
dl
rm
Deprecations.d.ts
6759
0666
edit
dl
rm
Discounts.d.ts
5697
0666
edit
dl
rm
Disputes.d.ts
18934
0666
edit
dl
rm
DisputesResource.d.ts
15462
0666
edit
dl
rm
EphemeralKeys.d.ts
975
0666
edit
dl
rm
EphemeralKeysResource.d.ts
1793
0666
edit
dl
rm
Errors.d.ts
9706
0666
edit
dl
rm
Events.d.ts
14107
0666
edit
dl
rm
EventsResource.d.ts
2309
0666
edit
dl
rm
EventTypes.d.ts
120304
0666
edit
dl
rm
ExchangeRates.d.ts
2348
0666
edit
dl
rm
ExchangeRatesResource.d.ts
1294
0666
edit
dl
rm
ExternalAccounts.d.ts
210
0666
edit
dl
rm
FeeRefunds.d.ts
1730
0666
edit
dl
rm
FileLinks.d.ts
1529
0666
edit
dl
rm
FileLinksResource.d.ts
3788
0666
edit
dl
rm
Files.d.ts
2560
0666
edit
dl
rm
FilesResource.d.ts
4886
0666
edit
dl
rm
FundingInstructions.d.ts
7588
0666
edit
dl
rm
index.d.ts
26330
0666
edit
dl
rm
InvoiceItems.d.ts
5720
0666
edit
dl
rm
InvoiceItemsResource.d.ts
16679
0666
edit
dl
rm
InvoiceLineItems.d.ts
8170
0666
edit
dl
rm
InvoiceRenderingTemplates.d.ts
1735
0666
edit
dl
rm
InvoiceRenderingTemplatesResource.d.ts
3109
0666
edit
dl
rm
Invoices.d.ts
59291
0666
edit
dl
rm
InvoicesResource.d.ts
272335
0666
edit
dl
rm
lib.d.ts
9208
0666
edit
dl
rm
LineItems.d.ts
3747
0666
edit
dl
rm
LoginLinks.d.ts
805
0666
edit
dl
rm
Mandates.d.ts
6963
0666
edit
dl
rm
MandatesResource.d.ts
629
0666
edit
dl
rm
OAuth.d.ts
13056
0666
edit
dl
rm
PaymentIntents.d.ts
126400
0666
edit
dl
rm
PaymentIntentsResource.d.ts
425657
0666
edit
dl
rm
PaymentLinks.d.ts
26988
0666
edit
dl
rm
PaymentLinksResource.d.ts
61599
0666
edit
dl
rm
PaymentMethodConfigurations.d.ts
46290
0666
edit
dl
rm
PaymentMethodConfigurationsResource.d.ts
82027
0666
edit
dl
rm
PaymentMethodDomains.d.ts
5253
0666
edit
dl
rm
PaymentMethodDomainsResource.d.ts
4080
0666
edit
dl
rm
PaymentMethods.d.ts
48133
0666
edit
dl
rm
PaymentMethodsResource.d.ts
31934
0666
edit
dl
rm
Payouts.d.ts
6830
0666
edit
dl
rm
PayoutsResource.d.ts
8033
0666
edit
dl
rm
Persons.d.ts
28323
0666
edit
dl
rm
Plans.d.ts
7540
0666
edit
dl
rm
PlansResource.d.ts
11964
0666
edit
dl
rm
Prices.d.ts
12348
0666
edit
dl
rm
PricesResource.d.ts
23771
0666
edit
dl
rm
ProductFeatures.d.ts
1595
0666
edit
dl
rm
Products.d.ts
5225
0666
edit
dl
rm
ProductsResource.d.ts
22445
0666
edit
dl
rm
PromotionCodes.d.ts
4009
0666
edit
dl
rm
PromotionCodesResource.d.ts
7472
0666
edit
dl
rm
Quotes.d.ts
22541
0666
edit
dl
rm
QuotesResource.d.ts
32380
0666
edit
dl
rm
Refunds.d.ts
12150
0666
edit
dl
rm
RefundsResource.d.ts
6972
0666
edit
dl
rm
ReserveTransactions.d.ts
812
0666
edit
dl
rm
Reviews.d.ts
3939
0666
edit
dl
rm
ReviewsResource.d.ts
1895
0666
edit
dl
rm
SetupAttempts.d.ts
30914
0666
edit
dl
rm
SetupAttemptsResource.d.ts
972
0666
edit
dl
rm
SetupIntents.d.ts
35147
0666
edit
dl
rm
SetupIntentsResource.d.ts
130075
0666
edit
dl
rm
shared.d.ts
4263
0666
edit
dl
rm
ShippingRates.d.ts
4744
0666
edit
dl
rm
ShippingRatesResource.d.ts
8383
0666
edit
dl
rm
SourceMandateNotifications.d.ts
3491
0666
edit
dl
rm
Sources.d.ts
20443
0666
edit
dl
rm
SourcesResource.d.ts
19833
0666
edit
dl
rm
SourceTransactions.d.ts
5248
0666
edit
dl
rm
SubscriptionItems.d.ts
4653
0666
edit
dl
rm
SubscriptionItemsResource.d.ts
23230
0666
edit
dl
rm
Subscriptions.d.ts
30567
0666
edit
dl
rm
SubscriptionSchedules.d.ts
23402
0666
edit
dl
rm
SubscriptionSchedulesResource.d.ts
61127
0666
edit
dl
rm
SubscriptionsResource.d.ts
88064
0666
edit
dl
rm
TaxCodes.d.ts
685
0666
edit
dl
rm
TaxCodesResource.d.ts
1291
0666
edit
dl
rm
TaxDeductedAtSources.d.ts
886
0666
edit
dl
rm
TaxIds.d.ts
6322
0666
edit
dl
rm
TaxIdsResource.d.ts
6265
0666
edit
dl
rm
TaxRates.d.ts
5056
0666
edit
dl
rm
TaxRatesResource.d.ts
6537
0666
edit
dl
rm
ThinEvent.d.ts
847
0666
edit
dl
rm
Tokens.d.ts
3363
0666
edit
dl
rm
TokensResource.d.ts
34353
0666
edit
dl
rm
Topups.d.ts
3284
0666
edit
dl
rm
TopupsResource.d.ts
5249
0666
edit
dl
rm
TransferReversals.d.ts
2543
0666
edit
dl
rm
Transfers.d.ts
3676
0666
edit
dl
rm
TransfersResource.d.ts
10601
0666
edit
dl
rm
UpcomingInvoices.d.ts
108
0666
edit
dl
rm
UsageRecords.d.ts
1261
0666
edit
dl
rm
UsageRecordSummaries.d.ts
1474
0666
edit
dl
rm
WebhookEndpoints.d.ts
2865
0666
edit
dl
rm
WebhookEndpointsResource.d.ts
26655
0666
edit
dl
rm
Webhooks.d.ts
4627
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/stripe/types/PaymentLinks.d.ts
(26988B)
// File generated from our OpenAPI spec declare module 'stripe' { namespace Stripe { /** * A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times. * * When a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links. * * Related guide: [Payment Links API](https://stripe.com/docs/payment-links) */ interface PaymentLink { /** * Unique identifier for the object. */ id: string; /** * String representing the object's type. Objects of the same type share the same value. */ object: 'payment_link'; /** * Whether the payment link's `url` is active. If `false`, customers visiting the URL will be shown a page saying that the link has been deactivated. */ active: boolean; after_completion: PaymentLink.AfterCompletion; /** * Whether user redeemable promotion codes are enabled. */ allow_promotion_codes: boolean; /** * The ID of the Connect application that created the Payment Link. */ application: | string | Stripe.Application | Stripe.DeletedApplication | null; /** * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. */ application_fee_amount: number | null; /** * This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. */ application_fee_percent: number | null; automatic_tax: PaymentLink.AutomaticTax; /** * Configuration for collecting the customer's billing address. Defaults to `auto`. */ billing_address_collection: PaymentLink.BillingAddressCollection; /** * When set, provides configuration to gather active consent from customers. */ consent_collection: PaymentLink.ConsentCollection | null; /** * 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; /** * Collect additional information from your customer using custom fields. Up to 3 fields are supported. */ custom_fields: Array<PaymentLink.CustomField>; custom_text: PaymentLink.CustomText; /** * Configuration for Customer creation during checkout. */ customer_creation: PaymentLink.CustomerCreation; /** * The custom message to be displayed to a customer when a payment link is no longer active. */ inactive_message: string | null; /** * Configuration for creating invoice for payment mode payment links. */ invoice_creation: PaymentLink.InvoiceCreation | null; /** * The line items representing what is being sold. */ line_items?: ApiList<Stripe.LineItem>; /** * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ metadata: Stripe.Metadata; /** * The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details. */ on_behalf_of: string | Stripe.Account | null; /** * Indicates the parameters to be passed to PaymentIntent creation during checkout. */ payment_intent_data: PaymentLink.PaymentIntentData | null; /** * Configuration for collecting a payment method during checkout. Defaults to `always`. */ payment_method_collection: PaymentLink.PaymentMethodCollection; /** * The list of payment method types that customers can use. When `null`, Stripe will dynamically show relevant payment methods you've enabled in your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). */ payment_method_types: Array<PaymentLink.PaymentMethodType> | null; phone_number_collection: PaymentLink.PhoneNumberCollection; /** * Settings that restrict the usage of a payment link. */ restrictions: PaymentLink.Restrictions | null; /** * Configuration for collecting the customer's shipping address. */ shipping_address_collection: PaymentLink.ShippingAddressCollection | null; /** * The shipping rate options applied to the session. */ shipping_options: Array<PaymentLink.ShippingOption>; /** * Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button. */ submit_type: PaymentLink.SubmitType; /** * When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`. */ subscription_data: PaymentLink.SubscriptionData | null; tax_id_collection: PaymentLink.TaxIdCollection; /** * The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to. */ transfer_data: PaymentLink.TransferData | null; /** * The public URL that can be shared with customers. */ url: string; } namespace PaymentLink { interface AfterCompletion { hosted_confirmation?: AfterCompletion.HostedConfirmation; redirect?: AfterCompletion.Redirect; /** * The specified behavior after the purchase is complete. */ type: AfterCompletion.Type; } namespace AfterCompletion { interface HostedConfirmation { /** * The custom message that is displayed to the customer after the purchase is complete. */ custom_message: string | null; } interface Redirect { /** * The URL the customer will be redirected to after the purchase is complete. */ url: string; } type Type = 'hosted_confirmation' | 'redirect'; } interface AutomaticTax { /** * If `true`, tax will be calculated automatically using the customer's location. */ enabled: boolean; /** * The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account. */ liability: AutomaticTax.Liability | null; } namespace AutomaticTax { interface Liability { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Liability.Type; } namespace Liability { type Type = 'account' | 'self'; } } type BillingAddressCollection = 'auto' | 'required'; interface ConsentCollection { /** * Settings related to the payment method reuse text shown in the Checkout UI. */ payment_method_reuse_agreement: ConsentCollection.PaymentMethodReuseAgreement | null; /** * If set to `auto`, enables the collection of customer consent for promotional communications. */ promotions: ConsentCollection.Promotions | null; /** * If set to `required`, it requires cutomers to accept the terms of service before being able to pay. If set to `none`, customers won't be shown a checkbox to accept the terms of service. */ terms_of_service: ConsentCollection.TermsOfService | null; } namespace ConsentCollection { interface PaymentMethodReuseAgreement { /** * Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used. * * When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI. */ position: PaymentMethodReuseAgreement.Position; } namespace PaymentMethodReuseAgreement { type Position = 'auto' | 'hidden'; } type Promotions = 'auto' | 'none'; type TermsOfService = 'none' | 'required'; } type CustomerCreation = 'always' | 'if_required'; interface CustomField { dropdown?: CustomField.Dropdown; /** * String of your choice that your integration can use to reconcile this field. Must be unique to this field, alphanumeric, and up to 200 characters. */ key: string; label: CustomField.Label; numeric?: CustomField.Numeric; /** * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`. */ optional: boolean; text?: CustomField.Text; /** * The type of the field. */ type: CustomField.Type; } namespace CustomField { interface Dropdown { /** * The options available for the customer to select. Up to 200 options allowed. */ options: Array<Dropdown.Option>; } namespace Dropdown { interface Option { /** * The label for the option, displayed to the customer. Up to 100 characters. */ label: string; /** * The value for this option, not displayed to the customer, used by your integration to reconcile the option selected by the customer. Must be unique to this option, alphanumeric, and up to 100 characters. */ value: string; } } interface Label { /** * Custom text for the label, displayed to the customer. Up to 50 characters. */ custom: string | null; /** * The type of the label. */ type: 'custom'; } interface Numeric { /** * The maximum character length constraint for the customer's input. */ maximum_length: number | null; /** * The minimum character length requirement for the customer's input. */ minimum_length: number | null; } interface Text { /** * The maximum character length constraint for the customer's input. */ maximum_length: number | null; /** * The minimum character length requirement for the customer's input. */ minimum_length: number | null; } type Type = 'dropdown' | 'numeric' | 'text'; } interface CustomText { /** * Custom text that should be displayed after the payment confirmation button. */ after_submit: CustomText.AfterSubmit | null; /** * Custom text that should be displayed alongside shipping address collection. */ shipping_address: CustomText.ShippingAddress | null; /** * Custom text that should be displayed alongside the payment confirmation button. */ submit: CustomText.Submit | null; /** * Custom text that should be displayed in place of the default terms of service agreement text. */ terms_of_service_acceptance: CustomText.TermsOfServiceAcceptance | null; } namespace CustomText { interface AfterSubmit { /** * Text may be up to 1200 characters in length. */ message: string; } interface ShippingAddress { /** * Text may be up to 1200 characters in length. */ message: string; } interface Submit { /** * Text may be up to 1200 characters in length. */ message: string; } interface TermsOfServiceAcceptance { /** * Text may be up to 1200 characters in length. */ message: string; } } interface InvoiceCreation { /** * Enable creating an invoice on successful payment. */ enabled: boolean; /** * Configuration for the invoice. Default invoice values will be used if unspecified. */ invoice_data: InvoiceCreation.InvoiceData | null; } namespace InvoiceCreation { interface InvoiceData { /** * The account tax IDs associated with the invoice. */ account_tax_ids: Array< string | Stripe.TaxId | Stripe.DeletedTaxId > | null; /** * A list of up to 4 custom fields to be displayed on the invoice. */ custom_fields: Array<InvoiceData.CustomField> | null; /** * An arbitrary string attached to the object. Often useful for displaying to users. */ description: string | null; /** * Footer to be displayed on the invoice. */ footer: string | null; /** * The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. */ issuer: InvoiceData.Issuer | null; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ metadata: Stripe.Metadata | null; /** * Options for invoice PDF rendering. */ rendering_options: InvoiceData.RenderingOptions | null; } namespace InvoiceData { interface CustomField { /** * The name of the custom field. */ name: string; /** * The value of the custom field. */ value: string; } interface Issuer { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Issuer.Type; } namespace Issuer { type Type = 'account' | 'self'; } interface RenderingOptions { /** * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. */ amount_tax_display: string | null; } } } interface PaymentIntentData { /** * Indicates when the funds will be captured from the customer's account. */ capture_method: PaymentIntentData.CaptureMethod | null; /** * An arbitrary string attached to the object. Often useful for displaying to users. */ description: string | null; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on [Payment Intents](https://stripe.com/docs/api/payment_intents) generated from this payment link. */ metadata: Stripe.Metadata; /** * Indicates that you intend to make future payments with the payment method collected during checkout. */ setup_future_usage: PaymentIntentData.SetupFutureUsage | null; /** * For a non-card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge. */ statement_descriptor: string | null; /** * For a card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge. Concatenated with the account's statement descriptor prefix to form the complete statement descriptor. */ statement_descriptor_suffix: string | null; /** * A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details. */ transfer_group: string | null; } namespace PaymentIntentData { type CaptureMethod = 'automatic' | 'automatic_async' | 'manual'; type SetupFutureUsage = 'off_session' | 'on_session'; } type PaymentMethodCollection = 'always' | 'if_required'; type PaymentMethodType = | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'klarna' | 'konbini' | 'link' | 'mobilepay' | 'multibanco' | 'oxxo' | 'p24' | 'pay_by_bank' | 'paynow' | 'paypal' | 'pix' | 'promptpay' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'us_bank_account' | 'wechat_pay' | 'zip'; interface PhoneNumberCollection { /** * If `true`, a phone number will be collected during checkout. */ enabled: boolean; } interface Restrictions { completed_sessions: Restrictions.CompletedSessions; } namespace Restrictions { interface CompletedSessions { /** * The current number of checkout sessions that have been completed on the payment link which count towards the `completed_sessions` restriction to be met. */ count: number; /** * The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met. */ limit: number; } } interface ShippingAddressCollection { /** * An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. */ allowed_countries: Array<ShippingAddressCollection.AllowedCountry>; } namespace ShippingAddressCollection { type AllowedCountry = | 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ'; } interface ShippingOption { /** * A non-negative integer in cents representing how much to charge. */ shipping_amount: number; /** * The ID of the Shipping Rate to use for this shipping option. */ shipping_rate: string | Stripe.ShippingRate; } type SubmitType = 'auto' | 'book' | 'donate' | 'pay' | 'subscribe'; interface SubscriptionData { /** * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; invoice_settings: SubscriptionData.InvoiceSettings; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on [Subscriptions](https://stripe.com/docs/api/subscriptions) generated from this payment link. */ metadata: Stripe.Metadata; /** * Integer representing the number of trial period days before the customer is charged for the first time. */ trial_period_days: number | null; /** * Settings related to subscription trials. */ trial_settings: SubscriptionData.TrialSettings | null; } namespace SubscriptionData { interface InvoiceSettings { issuer: InvoiceSettings.Issuer; } namespace InvoiceSettings { interface Issuer { /** * The connected account being referenced when `type` is `account`. */ account?: string | Stripe.Account; /** * Type of the account referenced. */ type: Issuer.Type; } namespace Issuer { type Type = 'account' | 'self'; } } interface TrialSettings { /** * Defines how a subscription behaves when a free trial ends. */ end_behavior: TrialSettings.EndBehavior; } namespace TrialSettings { interface EndBehavior { /** * Indicates how the subscription should change when the trial ends if the user did not provide a payment method. */ missing_payment_method: EndBehavior.MissingPaymentMethod; } namespace EndBehavior { type MissingPaymentMethod = 'cancel' | 'create_invoice' | 'pause'; } } } interface TaxIdCollection { /** * Indicates whether tax ID collection is enabled for the session. */ enabled: boolean; required: TaxIdCollection.Required; } namespace TaxIdCollection { type Required = 'if_supported' | 'never'; } interface TransferData { /** * The amount in cents (or local equivalent) that will be transferred to the destination account. By default, the entire amount is transferred to the destination. */ amount: number | null; /** * The connected account receiving the transfer. */ destination: string | Stripe.Account; } } } }
Save
cmd:
run