diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index b92ca08b78..b9d9537ada 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -158,6 +158,11 @@ declare module 'stripe' { */ bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges. + */ + bancontact_payments?: Capabilities.BancontactPayments; + /** * The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards */ @@ -173,11 +178,26 @@ declare module 'stripe' { */ cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + /** + * The status of the EPS payments capability of the account, or whether the account can directly process EPS charges. + */ + eps_payments?: Capabilities.EpsPayments; + /** * The status of the FPX payments capability of the account, or whether the account can directly process FPX charges. */ fpx_payments?: Capabilities.FpxPayments; + /** + * The status of the giropay payments capability of the account, or whether the account can directly process giropay charges. + */ + giropay_payments?: Capabilities.GiropayPayments; + + /** + * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges. + */ + ideal_payments?: Capabilities.IdealPayments; + /** * The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency. */ @@ -193,6 +213,21 @@ declare module 'stripe' { */ oxxo_payments?: Capabilities.OxxoPayments; + /** + * The status of the P24 payments capability of the account, or whether the account can directly process P24 charges. + */ + p24_payments?: Capabilities.P24Payments; + + /** + * The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges. + */ + sepa_debit_payments?: Capabilities.SepaDebitPayments; + + /** + * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges. + */ + sofort_payments?: Capabilities.SofortPayments; + /** * The status of the tax reporting 1099-K (US) capability of the account. */ @@ -214,20 +249,34 @@ declare module 'stripe' { type BacsDebitPayments = 'active' | 'inactive' | 'pending'; + type BancontactPayments = 'active' | 'inactive' | 'pending'; + type CardIssuing = 'active' | 'inactive' | 'pending'; type CardPayments = 'active' | 'inactive' | 'pending'; type CartesBancairesPayments = 'active' | 'inactive' | 'pending'; + type EpsPayments = 'active' | 'inactive' | 'pending'; + type FpxPayments = 'active' | 'inactive' | 'pending'; + type GiropayPayments = 'active' | 'inactive' | 'pending'; + + type IdealPayments = 'active' | 'inactive' | 'pending'; + type JcbPayments = 'active' | 'inactive' | 'pending'; type LegacyPayments = 'active' | 'inactive' | 'pending'; type OxxoPayments = 'active' | 'inactive' | 'pending'; + type P24Payments = 'active' | 'inactive' | 'pending'; + + type SepaDebitPayments = 'active' | 'inactive' | 'pending'; + + type SofortPayments = 'active' | 'inactive' | 'pending'; + type TaxReportingUs1099K = 'active' | 'inactive' | 'pending'; type TaxReportingUs1099Misc = 'active' | 'inactive' | 'pending'; @@ -889,6 +938,11 @@ declare module 'stripe' { */ bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * The bancontact_payments capability. + */ + bancontact_payments?: Capabilities.BancontactPayments; + /** * The card_issuing capability. */ @@ -904,11 +958,26 @@ declare module 'stripe' { */ cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + /** + * The eps_payments capability. + */ + eps_payments?: Capabilities.EpsPayments; + /** * The fpx_payments capability. */ fpx_payments?: Capabilities.FpxPayments; + /** + * The giropay_payments capability. + */ + giropay_payments?: Capabilities.GiropayPayments; + + /** + * The ideal_payments capability. + */ + ideal_payments?: Capabilities.IdealPayments; + /** * The jcb_payments capability. */ @@ -924,6 +993,21 @@ declare module 'stripe' { */ oxxo_payments?: Capabilities.OxxoPayments; + /** + * The p24_payments capability. + */ + p24_payments?: Capabilities.P24Payments; + + /** + * The sepa_debit_payments capability. + */ + sepa_debit_payments?: Capabilities.SepaDebitPayments; + + /** + * The sofort_payments capability. + */ + sofort_payments?: Capabilities.SofortPayments; + /** * The tax_reporting_us_1099_k capability. */ @@ -955,6 +1039,13 @@ declare module 'stripe' { requested?: boolean; } + interface BancontactPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface CardIssuing { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -976,6 +1067,13 @@ declare module 'stripe' { requested?: boolean; } + interface EpsPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface FpxPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -983,6 +1081,20 @@ declare module 'stripe' { requested?: boolean; } + interface GiropayPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface IdealPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface JcbPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1004,6 +1116,27 @@ declare module 'stripe' { requested?: boolean; } + interface P24Payments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface SepaDebitPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface SofortPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface TaxReportingUs1099K { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1703,6 +1836,11 @@ declare module 'stripe' { */ bacs_debit_payments?: Capabilities.BacsDebitPayments; + /** + * The bancontact_payments capability. + */ + bancontact_payments?: Capabilities.BancontactPayments; + /** * The card_issuing capability. */ @@ -1718,11 +1856,26 @@ declare module 'stripe' { */ cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; + /** + * The eps_payments capability. + */ + eps_payments?: Capabilities.EpsPayments; + /** * The fpx_payments capability. */ fpx_payments?: Capabilities.FpxPayments; + /** + * The giropay_payments capability. + */ + giropay_payments?: Capabilities.GiropayPayments; + + /** + * The ideal_payments capability. + */ + ideal_payments?: Capabilities.IdealPayments; + /** * The jcb_payments capability. */ @@ -1738,6 +1891,21 @@ declare module 'stripe' { */ oxxo_payments?: Capabilities.OxxoPayments; + /** + * The p24_payments capability. + */ + p24_payments?: Capabilities.P24Payments; + + /** + * The sepa_debit_payments capability. + */ + sepa_debit_payments?: Capabilities.SepaDebitPayments; + + /** + * The sofort_payments capability. + */ + sofort_payments?: Capabilities.SofortPayments; + /** * The tax_reporting_us_1099_k capability. */ @@ -1769,6 +1937,13 @@ declare module 'stripe' { requested?: boolean; } + interface BancontactPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface CardIssuing { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1790,6 +1965,13 @@ declare module 'stripe' { requested?: boolean; } + interface EpsPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface FpxPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1797,6 +1979,20 @@ declare module 'stripe' { requested?: boolean; } + interface GiropayPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface IdealPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface JcbPayments { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. @@ -1818,6 +2014,27 @@ declare module 'stripe' { requested?: boolean; } + interface P24Payments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface SepaDebitPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface SofortPayments { + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + interface TaxReportingUs1099K { /** * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 997090a77d..098b162950 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -336,12 +336,12 @@ declare module 'stripe' { reason: string | null; /** - * Stripe's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. + * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar. */ risk_level?: string; /** - * Stripe's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams. + * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams. */ risk_score?: number; diff --git a/types/2020-08-27/CustomerBalanceTransactions.d.ts b/types/2020-08-27/CustomerBalanceTransactions.d.ts index f7019c4f62..5c49cdd91d 100644 --- a/types/2020-08-27/CustomerBalanceTransactions.d.ts +++ b/types/2020-08-27/CustomerBalanceTransactions.d.ts @@ -86,7 +86,7 @@ declare module 'stripe' { interface CustomerBalanceTransactionCreateParams { /** - * The integer amount in **%s** to apply to the customer's balance. Pass a negative amount to credit the customer's balance, and pass in a positive amount to debit the customer's balance. + * The integer amount in **%s** to apply to the customer's credit balance. */ amount: number; diff --git a/types/2020-08-27/Customers.d.ts b/types/2020-08-27/Customers.d.ts index e5afab05dd..50c7f19883 100644 --- a/types/2020-08-27/Customers.d.ts +++ b/types/2020-08-27/Customers.d.ts @@ -636,7 +636,7 @@ declare module 'stripe' { ): Promise>; /** - * Creates an immutable transaction that updates the customer's [balance](https://stripe.com/docs/api/customers/object#customer_object-balance). + * Creates an immutable transaction that updates the customer's credit [balance](https://stripe.com/docs/billing/customer/balance). */ createBalanceTransaction( id: string, @@ -645,7 +645,7 @@ declare module 'stripe' { ): Promise>; /** - * Retrieves a specific transaction that updated the customer's [balance](https://stripe.com/docs/api/customers/object#customer_object-balance). + * Retrieves a specific customer balance transaction that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). */ retrieveBalanceTransaction( customerId: string, @@ -660,7 +660,7 @@ declare module 'stripe' { ): Promise>; /** - * Most customer balance transaction fields are immutable, but you may update its description and metadata. + * Most credit balance transaction fields are immutable, but you may update its description and metadata. */ updateBalanceTransaction( customerId: string, @@ -670,7 +670,7 @@ declare module 'stripe' { ): Promise>; /** - * Returns a list of transactions that updated the customer's [balance](https://stripe.com/docs/api/customers/object#customer_object-balance). + * Returns a list of transactions that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). */ listBalanceTransactions( id: string,