Skip to content

Commit

Permalink
Add amazon_pay to Elements expressPaymentType (#638)
Browse files Browse the repository at this point in the history
* add amazon_pay to expressPaymentType

* run prettier
  • Loading branch information
crystalc-stripe committed Aug 20, 2024
1 parent 1ebe69f commit 945484e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion types/stripe-js/elements/express-checkout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,12 @@ export type StripeExpressCheckoutElement = StripeElementBase & {
): StripeExpressCheckoutElement;
};

export type ExpressPaymentType = 'google_pay' | 'apple_pay' | 'link' | 'paypal';
export type ExpressPaymentType =
| 'google_pay'
| 'apple_pay'
| 'amazon_pay'
| 'link'
| 'paypal';

export type ExpressCheckoutPartialAddress = {
city: string;
Expand Down

0 comments on commit 945484e

Please sign in to comment.