4.0 KiB
4.0 KiB
CustomerData
Customer details to set when creating a customer
Fields
| Field | Type | Required | Description |
|---|---|---|---|
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 |