This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the “link” property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The lead to create
Plan ID
"pln_hlo238549czyfnc9sns26rb9"
ID of the previous supplier, possible to obtain via /suppliers
"mp_iyp2lqj1ngs98qae1bfqmkbe"
If set to false we will request the cancellation of the previous supplier / grid operator signup to the date provided in intended_start_date. If set to true we will request the next possible date.
true
Intended start date of the subscription. Must be a date in the future.
"2024-01-01"
Reason of changing the supplier
supplier_change, move_in "supplier_change"
Email of the user who created the lead
Metadata of the lead, can be internal data
{
"utm_source": "google",
"utm_campaign": "campaign_name",
"user_id": "1234567890"
}The created lead details
lead Unique identifier for the lead
"lead_a8n8ol7yd4h0wohx824f0bui"
URL of the lead
"https://nomos.checkout.energy/?id=lead_a8n8ol7yd4h0wohx824f0bui"
Timestamp when the lead was created
"2024-03-14T12:00:00Z"
ID of the subscription, if the lead is converted to a subscription
"sub_a8n8ol7yd4h0wohx824f0bui"
Timestamp when the lead was converted to a subscription
"2024-03-14T12:00:00Z"
Email of the user who created the lead
Timestamp when the lead was last visited
"2024-03-14T12:00:00Z"
Metadata of the lead, can be internal data
{
"utm_source": "google",
"utm_campaign": "campaign_name",
"user_id": "1234567890"
}