A customer created through POST /v2/customers can start in another status.
Every webhook is delivered as JSON with the same envelope, customer.created carries the customer in data:
The event name, customer.created.
The customer this event is about.
Unique id for the customer.
Your external user id for this customer, if set.
The customer’s email address, if captured.
The customer’s name, if known.
Current status, for example lead or active.
The plan the customer is on, if any.
Id of the associated subscription, if any.
Id of the partner who referred the customer, if attributed.
Id of the link the customer came through, if any.
Id of the click that led to this customer, if any.
ISO timestamp when the customer became a lead.
ISO timestamp when the customer became active.
Id of the program the customer belongs to, if any.
Id of the organization that owns the program.
ISO timestamp when the customer was created.
ISO timestamp when the customer was last updated.
ISO 8601 time the event was emitted.
Deliveries can carry more fields than listed here, and the example below is shortened, so ignore fields you don't use.