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

4.7 KiB
Raw Blame History

GetOrCreateCustomerParams

Fields

Field Type Required Description
customer_id Nullable[str] ✔️ N/A
name OptionalNullable[str] Customer's name
email OptionalNullable[str] Customer's email address
fingerprint OptionalNullable[str] Unique identifier (eg, serial number) to detect duplicate customers and prevent free trial abuse
metadata Dict[str, Any] Additional metadata for the customer
stripe_id OptionalNullable[str] Stripe customer ID if you already have one
create_in_stripe Optional[bool] Whether to create the customer in Stripe
auto_enable_plan_id Optional[str] The ID of the free plan to auto-enable for the customer
send_email_receipts Optional[bool] Whether to send email receipts to this customer
expand List[models.CustomerExpand] Customer expand options