Stripe Shared
Common Stripe types: metadata record and address structure.
stripe
Install
$ npx shadcn@latest add @open-types/stripe-shared
Source
export type StripeMetadata = Record<string, string>;
export interface StripeAddress {
line1: string | null;
line2: string | null;
city: string | null;
state: string | null;
postal_code: string | null;
country: string | null;
}
export type StripeMetadata = Record<string, string>;
export interface StripeAddress {
line1: string | null;
line2: string | null;
city: string | null;
state: string | null;
postal_code: string | null;
country: string | null;
}