/
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/CustomersResource.d.ts
(49272B)
// File generated from our OpenAPI spec declare module 'stripe' { namespace Stripe { interface CustomerCreateParams { /** * The customer's address. */ address?: Stripe.Emptyable<Stripe.AddressParam>; /** * An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ balance?: number; /** * Balance information and default balance settings for this customer. */ cash_balance?: CustomerCreateParams.CashBalance; coupon?: string; /** * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. */ description?: string; /** * Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. */ email?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoice_prefix?: string; /** * Default invoice settings for this customer. */ invoice_settings?: CustomerCreateParams.InvoiceSettings; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.Emptyable<Stripe.MetadataParam>; /** * The customer's full name or business name. */ name?: string; /** * The sequence to be used on the customer's next invoice. Defaults to 1. */ next_invoice_sequence?: number; payment_method?: string; /** * The customer's phone number. */ phone?: string; /** * Customer's preferred languages, ordered by preference. */ preferred_locales?: Array<string>; /** * The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. */ promotion_code?: string; /** * The customer's shipping information. Appears on invoices emailed to this customer. */ shipping?: Stripe.Emptyable<CustomerCreateParams.Shipping>; source?: string; /** * Tax details about the customer. */ tax?: CustomerCreateParams.Tax; /** * The customer's tax exemption. One of `none`, `exempt`, or `reverse`. */ tax_exempt?: Stripe.Emptyable<CustomerCreateParams.TaxExempt>; /** * The customer's tax IDs. */ tax_id_data?: Array<CustomerCreateParams.TaxIdDatum>; /** * ID of the test clock to attach to the customer. */ test_clock?: string; validate?: boolean; } namespace CustomerCreateParams { interface CashBalance { /** * Settings controlling the behavior of the customer's cash balance, * such as reconciliation of funds received. */ settings?: CashBalance.Settings; } namespace CashBalance { interface Settings { /** * Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). */ reconciliation_mode?: Settings.ReconciliationMode; } namespace Settings { type ReconciliationMode = 'automatic' | 'manual' | 'merchant_default'; } } interface InvoiceSettings { /** * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. */ custom_fields?: Stripe.Emptyable<Array<InvoiceSettings.CustomField>>; /** * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. */ default_payment_method?: string; /** * Default footer to be displayed on invoices for this customer. */ footer?: string; /** * Default options for invoice PDF rendering for this customer. */ rendering_options?: Stripe.Emptyable<InvoiceSettings.RenderingOptions>; } namespace InvoiceSettings { interface CustomField { /** * The name of the custom field. This may be up to 40 characters. */ name: string; /** * The value of the custom field. This may be up to 140 characters. */ value: string; } interface RenderingOptions { /** * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. */ amount_tax_display?: Stripe.Emptyable< RenderingOptions.AmountTaxDisplay >; /** * ID of the invoice rendering template to use for future invoices. */ template?: string; } namespace RenderingOptions { type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax'; } } interface Shipping { /** * Customer shipping address. */ address: Stripe.AddressParam; /** * Customer name. */ name: string; /** * Customer phone (including extension). */ phone?: string; } interface Tax { /** * A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. */ ip_address?: Stripe.Emptyable<string>; /** * A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`. */ validate_location?: Tax.ValidateLocation; } namespace Tax { type ValidateLocation = 'deferred' | 'immediately'; } type TaxExempt = 'exempt' | 'none' | 'reverse'; interface TaxIdDatum { /** * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` */ type: TaxIdDatum.Type; /** * Value of the tax ID. */ value: string; } namespace TaxIdDatum { type Type = | 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'bg_uic' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'eu_oss_vat' | 'eu_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin'; } } interface CustomerRetrieveParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerUpdateParams { /** * The customer's address. */ address?: Stripe.Emptyable<Stripe.AddressParam>; /** * An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ balance?: number; /** * Balance information and default balance settings for this customer. */ cash_balance?: CustomerUpdateParams.CashBalance; coupon?: string; /** * If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method) parameter. * * Provide the ID of a payment source already attached to this customer to make it this customer's default payment source. * * If you want to add a new payment source and make it the default, see the [source](https://stripe.com/docs/api/customers/update#update_customer-source) property. */ default_source?: string; /** * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. */ description?: string; /** * Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. */ email?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. */ invoice_prefix?: string; /** * Default invoice settings for this customer. */ invoice_settings?: CustomerUpdateParams.InvoiceSettings; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.Emptyable<Stripe.MetadataParam>; /** * The customer's full name or business name. */ name?: string; /** * The sequence to be used on the customer's next invoice. Defaults to 1. */ next_invoice_sequence?: number; /** * The customer's phone number. */ phone?: string; /** * Customer's preferred languages, ordered by preference. */ preferred_locales?: Array<string>; /** * The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. */ promotion_code?: string; /** * The customer's shipping information. Appears on invoices emailed to this customer. */ shipping?: Stripe.Emptyable<CustomerUpdateParams.Shipping>; source?: string; /** * Tax details about the customer. */ tax?: CustomerUpdateParams.Tax; /** * The customer's tax exemption. One of `none`, `exempt`, or `reverse`. */ tax_exempt?: Stripe.Emptyable<CustomerUpdateParams.TaxExempt>; validate?: boolean; } namespace CustomerUpdateParams { interface CashBalance { /** * Settings controlling the behavior of the customer's cash balance, * such as reconciliation of funds received. */ settings?: CashBalance.Settings; } namespace CashBalance { interface Settings { /** * Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). */ reconciliation_mode?: Settings.ReconciliationMode; } namespace Settings { type ReconciliationMode = 'automatic' | 'manual' | 'merchant_default'; } } interface InvoiceSettings { /** * The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. */ custom_fields?: Stripe.Emptyable<Array<InvoiceSettings.CustomField>>; /** * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. */ default_payment_method?: string; /** * Default footer to be displayed on invoices for this customer. */ footer?: string; /** * Default options for invoice PDF rendering for this customer. */ rendering_options?: Stripe.Emptyable<InvoiceSettings.RenderingOptions>; } namespace InvoiceSettings { interface CustomField { /** * The name of the custom field. This may be up to 40 characters. */ name: string; /** * The value of the custom field. This may be up to 140 characters. */ value: string; } interface RenderingOptions { /** * How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts. */ amount_tax_display?: Stripe.Emptyable< RenderingOptions.AmountTaxDisplay >; /** * ID of the invoice rendering template to use for future invoices. */ template?: string; } namespace RenderingOptions { type AmountTaxDisplay = 'exclude_tax' | 'include_inclusive_tax'; } } interface Shipping { /** * Customer shipping address. */ address: Stripe.AddressParam; /** * Customer name. */ name: string; /** * Customer phone (including extension). */ phone?: string; } interface Tax { /** * A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes. */ ip_address?: Stripe.Emptyable<string>; /** * A flag that indicates when Stripe should validate the customer tax location. Defaults to `auto`. */ validate_location?: Tax.ValidateLocation; } namespace Tax { type ValidateLocation = 'auto' | 'deferred' | 'immediately'; } type TaxExempt = 'exempt' | 'none' | 'reverse'; } interface CustomerListParams extends PaginationParams { /** * Only return customers that were created during the given date interval. */ created?: Stripe.RangeQueryParam | number; /** * A case-sensitive filter on the list based on the customer's `email` field. The value must be a string. */ email?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * Provides a list of customers that are associated with the specified test clock. The response will not include customers with test clocks if this parameter is not set. */ test_clock?: string; } interface CustomerDeleteParams {} interface CustomerCreateBalanceTransactionParams { /** * The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. */ amount: number; /** * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Specifies the [`invoice_credit_balance`](https://stripe.com/docs/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value. */ currency: string; /** * An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.Emptyable<Stripe.MetadataParam>; } interface CustomerCreateFundingInstructionsParams { /** * Additional parameters for `bank_transfer` funding types */ bank_transfer: CustomerCreateFundingInstructionsParams.BankTransfer; /** * 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; /** * The `funding_type` to get the instructions for. */ funding_type: 'bank_transfer'; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } namespace CustomerCreateFundingInstructionsParams { interface BankTransfer { /** * Configuration for eu_bank_transfer funding type. */ eu_bank_transfer?: BankTransfer.EuBankTransfer; /** * List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned. * * Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`. */ requested_address_types?: Array<BankTransfer.RequestedAddressType>; /** * The type of the `bank_transfer` */ type: BankTransfer.Type; } namespace BankTransfer { interface EuBankTransfer { /** * The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`. */ country: string; } type RequestedAddressType = 'iban' | 'sort_code' | 'spei' | 'zengin'; type Type = | 'eu_bank_transfer' | 'gb_bank_transfer' | 'jp_bank_transfer' | 'mx_bank_transfer' | 'us_bank_transfer'; } } interface CustomerCreateSourceParams { /** * Please refer to full [documentation](https://stripe.com/docs/api) instead. */ source: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.MetadataParam; validate?: boolean; } interface CustomerCreateTaxIdParams { /** * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin` */ type: CustomerCreateTaxIdParams.Type; /** * Value of the tax ID. */ value: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } namespace CustomerCreateTaxIdParams { type Type = | 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'bg_uic' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'eu_oss_vat' | 'eu_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'hk_br' | 'hr_oib' | 'hu_tin' | 'id_npwp' | 'il_vat' | 'in_gst' | 'is_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'ro_tin' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'za_vat' | 'zm_tin' | 'zw_tin'; } interface CustomerDeleteDiscountParams {} interface CustomerDeleteSourceParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerDeleteTaxIdParams {} interface CustomerListBalanceTransactionsParams extends PaginationParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerListCashBalanceTransactionsParams extends PaginationParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerListPaymentMethodsParams extends PaginationParams { /** * This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`. */ allow_redisplay?: CustomerListPaymentMethodsParams.AllowRedisplay; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request. */ type?: CustomerListPaymentMethodsParams.Type; } namespace CustomerListPaymentMethodsParams { type AllowRedisplay = 'always' | 'limited' | 'unspecified'; type Type = | 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'sepa_debit' | 'sofort' | 'swish' | 'twint' | 'us_bank_account' | 'wechat_pay' | 'zip'; } interface CustomerListSourcesParams extends PaginationParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * Filter sources according to a particular object type. */ object?: string; } interface CustomerListTaxIdsParams extends PaginationParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrieveBalanceTransactionParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrieveCashBalanceParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrieveCashBalanceTransactionParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrievePaymentMethodParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrieveSourceParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerRetrieveTaxIdParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } interface CustomerSearchParams { /** * The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for customers](https://stripe.com/docs/search#query-fields-for-customers). */ query: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. */ limit?: number; /** * A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. */ page?: string; } interface CustomerUpdateBalanceTransactionParams { /** * An arbitrary string attached to the object. Often useful for displaying to users. */ description?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.Emptyable<Stripe.MetadataParam>; } interface CustomerUpdateCashBalanceParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * A hash of settings for this cash balance. */ settings?: CustomerUpdateCashBalanceParams.Settings; } namespace CustomerUpdateCashBalanceParams { interface Settings { /** * Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). */ reconciliation_mode?: Settings.ReconciliationMode; } namespace Settings { type ReconciliationMode = 'automatic' | 'manual' | 'merchant_default'; } } interface CustomerUpdateSourceParams { /** * The name of the person or business that owns the bank account. */ account_holder_name?: string; /** * The type of entity that holds the account. This can be either `individual` or `company`. */ account_holder_type?: CustomerUpdateSourceParams.AccountHolderType; /** * City/District/Suburb/Town/Village. */ address_city?: string; /** * Billing address country, if provided when creating card. */ address_country?: string; /** * Address line 1 (Street address/PO Box/Company name). */ address_line1?: string; /** * Address line 2 (Apartment/Suite/Unit/Building). */ address_line2?: string; /** * State/County/Province/Region. */ address_state?: string; /** * ZIP or postal code. */ address_zip?: string; /** * Two digit number representing the card's expiration month. */ exp_month?: string; /** * Four digit number representing the card's expiration year. */ exp_year?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; /** * 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Stripe.Emptyable<Stripe.MetadataParam>; /** * Cardholder name. */ name?: string; owner?: CustomerUpdateSourceParams.Owner; } namespace CustomerUpdateSourceParams { type AccountHolderType = 'company' | 'individual'; interface Owner { /** * Owner's address. */ address?: Stripe.AddressParam; /** * Owner's email address. */ email?: string; /** * Owner's full name. */ name?: string; /** * Owner's phone number. */ phone?: string; } } interface CustomerVerifySourceParams { /** * Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. */ amounts?: Array<number>; /** * Specifies which fields in the response should be expanded. */ expand?: Array<string>; } class CustomersResource { /** * Creates a new customer object. */ create( params?: CustomerCreateParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.Customer>>; create( options?: RequestOptions ): Promise<Stripe.Response<Stripe.Customer>>; /** * Retrieves a Customer object. */ retrieve( id: string, params?: CustomerRetrieveParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.Customer | Stripe.DeletedCustomer>>; retrieve( id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.Customer | Stripe.DeletedCustomer>>; /** * Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer's active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer's current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior. * * This request accepts mostly the same arguments as the customer creation call. */ update( id: string, params?: CustomerUpdateParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.Customer>>; /** * Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. */ list( params?: CustomerListParams, options?: RequestOptions ): ApiListPromise<Stripe.Customer>; list(options?: RequestOptions): ApiListPromise<Stripe.Customer>; /** * Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. */ del( id: string, params?: CustomerDeleteParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedCustomer>>; del( id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedCustomer>>; /** * Creates an immutable transaction that updates the customer's credit [balance](https://stripe.com/docs/billing/customer/balance). */ createBalanceTransaction( id: string, params: CustomerCreateBalanceTransactionParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerBalanceTransaction>>; /** * Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new * funding instructions will be created. If funding instructions have already been created for a given customer, the same * funding instructions will be retrieved. In other words, we will return the same funding instructions each time. */ createFundingInstructions( id: string, params: CustomerCreateFundingInstructionsParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.FundingInstructions>>; /** * When you create a new credit card, you must specify a customer or recipient on which to create it. * * If the card's owner has no default card, then the new card will become the default. * However, if the owner already has a default, then it will not change. * To change the default, you should [update the customer](https://stripe.com/docs/api#update_customer) to have a new default_source. */ createSource( id: string, params: CustomerCreateSourceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerSource>>; /** * Creates a new tax_id object for a customer. */ createTaxId( id: string, params: CustomerCreateTaxIdParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.TaxId>>; /** * Removes the currently applied discount on a customer. */ deleteDiscount( id: string, params?: CustomerDeleteDiscountParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedDiscount>>; deleteDiscount( id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedDiscount>>; /** * Delete a specified source for a given customer. */ deleteSource( customerId: string, id: string, params?: CustomerDeleteSourceParams, options?: RequestOptions ): Promise< Stripe.Response<Stripe.CustomerSource | Stripe.DeletedCustomerSource> >; deleteSource( customerId: string, id: string, options?: RequestOptions ): Promise< Stripe.Response<Stripe.CustomerSource | Stripe.DeletedCustomerSource> >; /** * Deletes an existing tax_id object. */ deleteTaxId( customerId: string, id: string, params?: CustomerDeleteTaxIdParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedTaxId>>; deleteTaxId( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.DeletedTaxId>>; /** * Returns a list of transactions that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). */ listBalanceTransactions( id: string, params?: CustomerListBalanceTransactionsParams, options?: RequestOptions ): ApiListPromise<Stripe.CustomerBalanceTransaction>; listBalanceTransactions( id: string, options?: RequestOptions ): ApiListPromise<Stripe.CustomerBalanceTransaction>; /** * Returns a list of transactions that modified the customer's [cash balance](https://stripe.com/docs/payments/customer-balance). */ listCashBalanceTransactions( id: string, params?: CustomerListCashBalanceTransactionsParams, options?: RequestOptions ): ApiListPromise<Stripe.CustomerCashBalanceTransaction>; listCashBalanceTransactions( id: string, options?: RequestOptions ): ApiListPromise<Stripe.CustomerCashBalanceTransaction>; /** * Returns a list of PaymentMethods for a given Customer */ listPaymentMethods( id: string, params?: CustomerListPaymentMethodsParams, options?: RequestOptions ): ApiListPromise<Stripe.PaymentMethod>; listPaymentMethods( id: string, options?: RequestOptions ): ApiListPromise<Stripe.PaymentMethod>; /** * List sources for a specified customer. */ listSources( id: string, params?: CustomerListSourcesParams, options?: RequestOptions ): ApiListPromise<Stripe.CustomerSource>; listSources( id: string, options?: RequestOptions ): ApiListPromise<Stripe.CustomerSource>; /** * Returns a list of tax IDs for a customer. */ listTaxIds( id: string, params?: CustomerListTaxIdsParams, options?: RequestOptions ): ApiListPromise<Stripe.TaxId>; listTaxIds( id: string, options?: RequestOptions ): ApiListPromise<Stripe.TaxId>; /** * Retrieves a specific customer balance transaction that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). */ retrieveBalanceTransaction( customerId: string, id: string, params?: CustomerRetrieveBalanceTransactionParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerBalanceTransaction>>; retrieveBalanceTransaction( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerBalanceTransaction>>; /** * Retrieves a customer's cash balance. */ retrieveCashBalance( id: string, params?: CustomerRetrieveCashBalanceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CashBalance>>; retrieveCashBalance( id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CashBalance>>; /** * Retrieves a specific cash balance transaction, which updated the customer's [cash balance](https://stripe.com/docs/payments/customer-balance). */ retrieveCashBalanceTransaction( customerId: string, id: string, params?: CustomerRetrieveCashBalanceTransactionParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerCashBalanceTransaction>>; retrieveCashBalanceTransaction( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerCashBalanceTransaction>>; /** * Retrieves a PaymentMethod object for a given Customer. */ retrievePaymentMethod( customerId: string, id: string, params?: CustomerRetrievePaymentMethodParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.PaymentMethod>>; retrievePaymentMethod( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.PaymentMethod>>; /** * Retrieve a specified source for a given customer. */ retrieveSource( customerId: string, id: string, params?: CustomerRetrieveSourceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerSource>>; retrieveSource( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerSource>>; /** * Retrieves the tax_id object with the given identifier. */ retrieveTaxId( customerId: string, id: string, params?: CustomerRetrieveTaxIdParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.TaxId>>; retrieveTaxId( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.TaxId>>; /** * Search for customers you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language). * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up * to an hour behind during outages. Search functionality is not available to merchants in India. */ search( params: CustomerSearchParams, options?: RequestOptions ): ApiSearchResultPromise<Stripe.Customer>; /** * Most credit balance transaction fields are immutable, but you may update its description and metadata. */ updateBalanceTransaction( customerId: string, id: string, params?: CustomerUpdateBalanceTransactionParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerBalanceTransaction>>; updateBalanceTransaction( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerBalanceTransaction>>; /** * Changes the settings on a customer's cash balance. */ updateCashBalance( id: string, params?: CustomerUpdateCashBalanceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CashBalance>>; updateCashBalance( id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CashBalance>>; /** * Update a specified source for a given customer. */ updateSource( customerId: string, id: string, params?: CustomerUpdateSourceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerSource>>; updateSource( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.CustomerSource>>; /** * Verify a specified bank account for a given customer. */ verifySource( customerId: string, id: string, params?: CustomerVerifySourceParams, options?: RequestOptions ): Promise<Stripe.Response<Stripe.BankAccount>>; verifySource( customerId: string, id: string, options?: RequestOptions ): Promise<Stripe.Response<Stripe.BankAccount>>; } } }
Save
cmd:
run