Skip to content

Commit

Permalink
API Updates (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe authored Dec 17, 2021
1 parent 0983b43 commit 365321b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions types/2020-08-27/PaymentIntents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ declare module 'stripe' {
*/
payment_method_types: Array<string>;

/**
* If present, this property tells you about the processing state of the payment.
*/
processing: PaymentIntent.Processing | null;

/**
* Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
*/
Expand Down Expand Up @@ -776,6 +781,19 @@ declare module 'stripe' {
}
}

interface Processing {
card?: Processing.Card;

/**
* Type of the next action to perform, one of `card`.
*/
type: string;
}

namespace Processing {
interface Card {}
}

type SetupFutureUsage = 'off_session' | 'on_session';

interface Shipping {
Expand Down

0 comments on commit 365321b

Please sign in to comment.