Files
cfw-autumn/others/python-sdk/docs/models/customer.md
2026-02-16 17:45:45 +00:00

8.9 KiB
Raw Blame History

Customer

Fields

Field Type Required Description
name Nullable[str] ✔️ The name of the customer.
email Nullable[str] ✔️ The email address of the customer.
fingerprint Nullable[str] ✔️ A unique identifier (eg. serial number) to de-duplicate customers across devices or browsers. For example: apple device ID.
stripe_id Nullable[str] ✔️ Stripe customer ID.
env models.CustomerEnv ✔️ The environment this customer was created in.
metadata Dict[str, Any] ✔️ The metadata for the customer.
send_email_receipts bool ✔️ Whether to send email receipts to the customer.
subscriptions List[models.Subscription] ✔️ N/A
purchases List[models.Purchase] ✔️ N/A
balances Dict[str, models.Balances] ✔️ N/A
invoices List[models.Invoice] N/A
entities List[models.Entity] N/A
trials_used List[models.TrialsUsed] N/A
rewards OptionalNullable[models.Rewards] N/A
referrals List[models.Referral] N/A
payment_method OptionalNullable[Any] N/A