Skip to content

Commit 6ff7d78

Browse files
authored
Add default billing/shipping address to checkout types (#840)
1 parent 0563a91 commit 6ff7d78

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

types/stripe-js/checkout.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export interface StripeCheckoutElementsOptions {
3636
export interface StripeCheckoutOptions {
3737
clientSecret: Promise<string> | string;
3838
elementsOptions?: StripeCheckoutElementsOptions;
39+
defaultValues?: {
40+
billingAddress?: StripeCheckoutContact;
41+
shippingAddress?: StripeCheckoutContact;
42+
};
3943
}
4044

4145
/* Elements with CheckoutSessions API types */

0 commit comments

Comments
 (0)