diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 72a2ee91db..3c2b47ae76 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v226 \ No newline at end of file +v232 \ No newline at end of file diff --git a/types/Charges.d.ts b/types/Charges.d.ts index 2ea18be96c..cfcff6451c 100644 --- a/types/Charges.d.ts +++ b/types/Charges.d.ts @@ -1249,7 +1249,7 @@ declare module 'stripe' { interface Ideal { /** - * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. */ bank: Ideal.Bank | null; @@ -1294,11 +1294,13 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; type Bic = | 'ABNANL2A' | 'ASNBNL21' + | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' diff --git a/types/InvoiceItems.d.ts b/types/InvoiceItems.d.ts index 7273dc7198..90de680d8a 100644 --- a/types/InvoiceItems.d.ts +++ b/types/InvoiceItems.d.ts @@ -134,12 +134,12 @@ declare module 'stripe' { namespace InvoiceItem { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } diff --git a/types/InvoiceItemsResource.d.ts b/types/InvoiceItemsResource.d.ts index 8eb93470c3..fd2401a096 100644 --- a/types/InvoiceItemsResource.d.ts +++ b/types/InvoiceItemsResource.d.ts @@ -114,12 +114,12 @@ declare module 'stripe' { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } @@ -257,12 +257,12 @@ declare module 'stripe' { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } diff --git a/types/InvoiceLineItems.d.ts b/types/InvoiceLineItems.d.ts index c89c43b06b..19da62e379 100644 --- a/types/InvoiceLineItems.d.ts +++ b/types/InvoiceLineItems.d.ts @@ -139,12 +139,12 @@ declare module 'stripe' { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } diff --git a/types/InvoicesResource.d.ts b/types/InvoicesResource.d.ts index 9ece579656..60cb945cbb 100644 --- a/types/InvoicesResource.d.ts +++ b/types/InvoicesResource.d.ts @@ -1614,12 +1614,12 @@ declare module 'stripe' { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } @@ -2184,12 +2184,12 @@ declare module 'stripe' { interface Period { /** - * The end of the period, which must be greater than or equal to the start. + * The end of the period, which must be greater than or equal to the start. This value is inclusive. */ end: number; /** - * The start of the period. + * The start of the period. This value is inclusive. */ start: number; } diff --git a/types/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts index e9f1d7c397..97516d85e1 100644 --- a/types/Issuing/Cardholders.d.ts +++ b/types/Issuing/Cardholders.d.ts @@ -92,6 +92,9 @@ declare module 'stripe' { } interface Individual { + /** + * Information related to the card_issuing program for this cardholder. + */ card_issuing: Individual.CardIssuing | null; /** @@ -100,12 +103,12 @@ declare module 'stripe' { dob: Individual.Dob | null; /** - * The first name of this cardholder. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + * The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ first_name: string | null; /** - * The last name of this cardholder. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. + * The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ last_name: string | null; @@ -126,12 +129,12 @@ declare module 'stripe' { namespace CardIssuing { interface UserTermsAcceptance { /** - * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. + * The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. */ date: number | null; /** - * The IP address from which the cardholder accepted the Authorized User Terms. + * The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users. */ ip: string | null; diff --git a/types/Issuing/CardholdersResource.d.ts b/types/Issuing/CardholdersResource.d.ts index 9618b0ea1e..09b5319c94 100644 --- a/types/Issuing/CardholdersResource.d.ts +++ b/types/Issuing/CardholdersResource.d.ts @@ -15,7 +15,7 @@ declare module 'stripe' { name: string; /** - * One of `individual` or `company`. + * One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/docs/issuing/other/choose-cardholder) for more details. */ type: CardholderCreateParams.Type; @@ -116,12 +116,12 @@ declare module 'stripe' { dob?: Individual.Dob; /** - * The first name of this cardholder. This field cannot contain any special characters or numbers. + * The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ first_name?: string; /** - * The last name of this cardholder. This field cannot contain any special characters or numbers. + * The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ last_name?: string; @@ -1207,12 +1207,12 @@ declare module 'stripe' { dob?: Individual.Dob; /** - * The first name of this cardholder. This field cannot contain any special characters or numbers. + * The first name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ first_name?: string; /** - * The last name of this cardholder. This field cannot contain any special characters or numbers. + * The last name of this cardholder. Required before activating Cards. This field cannot contain any numbers, special characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin letters. */ last_name?: string; diff --git a/types/Issuing/Cards.d.ts b/types/Issuing/Cards.d.ts index d6e5914257..a7ac28feb5 100644 --- a/types/Issuing/Cards.d.ts +++ b/types/Issuing/Cards.d.ts @@ -107,7 +107,7 @@ declare module 'stripe' { spending_controls: Card.SpendingControls; /** - * Whether authorizations can be approved on this card. + * Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. */ status: Card.Status; diff --git a/types/Issuing/CardsResource.d.ts b/types/Issuing/CardsResource.d.ts index 9ca0078f4e..80d69c06ad 100644 --- a/types/Issuing/CardsResource.d.ts +++ b/types/Issuing/CardsResource.d.ts @@ -52,7 +52,7 @@ declare module 'stripe' { spending_controls?: CardCreateParams.SpendingControls; /** - * Whether authorizations can be approved on this card. Defaults to `inactive`. + * Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. */ status?: CardCreateParams.Status; } @@ -1097,7 +1097,7 @@ declare module 'stripe' { spending_controls?: CardUpdateParams.SpendingControls; /** - * Dictates whether authorizations can be approved on this card. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`. + * Dictates whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`. */ status?: CardUpdateParams.Status; } diff --git a/types/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts index 38546bfd9c..d7246eefc0 100644 --- a/types/PaymentIntentsResource.d.ts +++ b/types/PaymentIntentsResource.d.ts @@ -576,7 +576,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} @@ -2341,7 +2342,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} @@ -4241,7 +4243,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} diff --git a/types/PaymentMethods.d.ts b/types/PaymentMethods.d.ts index fa1100afc7..f1464d0229 100644 --- a/types/PaymentMethods.d.ts +++ b/types/PaymentMethods.d.ts @@ -501,7 +501,7 @@ declare module 'stripe' { interface Ideal { /** - * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. */ bank: Ideal.Bank | null; @@ -525,11 +525,13 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; type Bic = | 'ABNANL2A' | 'ASNBNL21' + | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' diff --git a/types/PaymentMethodsResource.d.ts b/types/PaymentMethodsResource.d.ts index 064e1bbe60..2896d1d119 100644 --- a/types/PaymentMethodsResource.d.ts +++ b/types/PaymentMethodsResource.d.ts @@ -397,7 +397,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} diff --git a/types/SetupAttempts.d.ts b/types/SetupAttempts.d.ts index a95bcf0dfb..5cb881a2a8 100644 --- a/types/SetupAttempts.d.ts +++ b/types/SetupAttempts.d.ts @@ -248,7 +248,7 @@ declare module 'stripe' { interface Ideal { /** - * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, or `van_lanschot`. + * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`. */ bank: Ideal.Bank | null; @@ -293,11 +293,13 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; type Bic = | 'ABNANL2A' | 'ASNBNL21' + | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' diff --git a/types/SetupIntentsResource.d.ts b/types/SetupIntentsResource.d.ts index 77d20c05cb..c84a855a74 100644 --- a/types/SetupIntentsResource.d.ts +++ b/types/SetupIntentsResource.d.ts @@ -492,7 +492,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} @@ -1368,7 +1369,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} @@ -2326,7 +2328,8 @@ declare module 'stripe' { | 'revolut' | 'sns_bank' | 'triodos_bank' - | 'van_lanschot'; + | 'van_lanschot' + | 'yoursafe'; } interface InteracPresent {} diff --git a/types/TaxRates.d.ts b/types/TaxRates.d.ts index 8f570cf824..a69b2067ed 100644 --- a/types/TaxRates.d.ts +++ b/types/TaxRates.d.ts @@ -83,6 +83,7 @@ declare module 'stripe' { type TaxType = | 'gst' | 'hst' + | 'igst' | 'jct' | 'pst' | 'qst' diff --git a/types/TaxRatesResource.d.ts b/types/TaxRatesResource.d.ts index 773ca4820f..68fbf92e3c 100644 --- a/types/TaxRatesResource.d.ts +++ b/types/TaxRatesResource.d.ts @@ -63,6 +63,7 @@ declare module 'stripe' { type TaxType = | 'gst' | 'hst' + | 'igst' | 'jct' | 'pst' | 'qst' @@ -129,6 +130,7 @@ declare module 'stripe' { type TaxType = | 'gst' | 'hst' + | 'igst' | 'jct' | 'pst' | 'qst' diff --git a/types/TestHelpers/Terminal/ReadersResource.d.ts b/types/TestHelpers/Terminal/ReadersResource.d.ts index 0205ef2a6b..2d06063ca2 100644 --- a/types/TestHelpers/Terminal/ReadersResource.d.ts +++ b/types/TestHelpers/Terminal/ReadersResource.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { namespace Terminal { interface ReaderPresentPaymentMethodParams { /** - * Simulated data for the card_present payment method + * Simulated data for the card_present payment method. */ card_present?: ReaderPresentPaymentMethodParams.CardPresent; @@ -16,12 +16,12 @@ declare module 'stripe' { expand?: Array; /** - * Simulated data for the interac_present payment method + * Simulated data for the interac_present payment method. */ interac_present?: ReaderPresentPaymentMethodParams.InteracPresent; /** - * Simulated payment type + * Simulated payment type. */ type?: ReaderPresentPaymentMethodParams.Type; } @@ -29,7 +29,7 @@ declare module 'stripe' { namespace ReaderPresentPaymentMethodParams { interface CardPresent { /** - * Card Number + * The card number, as a string without any separators. */ number?: string; }