Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1313

Merged
merged 1 commit into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/2020-08-27/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ declare module 'stripe' {

/**
* Preferred language of the Klarna authorization page that the customer is redirected to.
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR`
* Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, or `en-FR`
*/
preferred_locale: string | null;
}
Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ declare module 'stripe' {

interface InvoiceFinalizeInvoiceParams {
/**
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/overview#auto-advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
* Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/invoicing/automatic-charging) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action.
*/
auto_advance?: boolean;

Expand Down
2 changes: 1 addition & 1 deletion types/2020-08-27/Issuing/Cardholders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ declare module 'stripe' {
billing: CardholderCreateParams.Billing;

/**
* The cardholder's name. This will be printed on cards issued to them.
* The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters.
*/
name: string;

Expand Down
11 changes: 10 additions & 1 deletion types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ declare module 'stripe' {
card?: Processing.Card;

/**
* Type of the next action to perform, one of `card`.
* Type of the payment method for which payment is in `processing` state, one of `card`.
*/
type: string;
}
Expand Down Expand Up @@ -1751,6 +1751,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -1759,8 +1760,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down Expand Up @@ -2692,6 +2695,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -2700,8 +2704,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down Expand Up @@ -3747,6 +3753,7 @@ declare module 'stripe' {
| 'en-DK'
| 'en-ES'
| 'en-FI'
| 'en-FR'
| 'en-GB'
| 'en-IE'
| 'en-IT'
Expand All @@ -3755,8 +3762,10 @@ declare module 'stripe' {
| 'en-SE'
| 'en-US'
| 'es-ES'
| 'es-US'
| 'fi-FI'
| 'fr-BE'
| 'fr-FR'
| 'it-IT'
| 'nb-NO'
| 'nl-BE'
Expand Down
4 changes: 4 additions & 0 deletions types/2020-08-27/SetupAttempts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ declare module 'stripe' {

bancontact?: PaymentMethodDetails.Bancontact;

boleto?: PaymentMethodDetails.Boleto;

card?: PaymentMethodDetails.Card;

card_present?: PaymentMethodDetails.CardPresent;
Expand Down Expand Up @@ -150,6 +152,8 @@ declare module 'stripe' {
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
}

interface Boleto {}

interface Card {
/**
* Populated if this authorization used 3D Secure authentication.
Expand Down