Stripe Customer
Stripe Customer with email, address, phone, and metadata.
stripe
Install
$ npx shadcn@latest add @open-types/stripe-customer
Dependencies
Source
import type { StripeAddress, StripeMetadata } from "./stripe-shared";
export interface StripeCustomer {
id: string;
object: "customer";
email: string | null;
name: string | null;
phone: string | null;
address: StripeAddress | null;
description: string | null;
metadata: StripeMetadata;
created: number;
livemode: boolean;
}
import type { StripeAddress, StripeMetadata } from "./stripe-shared";
export interface StripeCustomer {
id: string;
object: "customer";
email: string | null;
name: string | null;
phone: string | null;
address: StripeAddress | null;
description: string | null;
metadata: StripeMetadata;
created: number;
livemode: boolean;
}