ClockNext: create customer
clocknext_create_customerCreate a customer in ClockNext to bill your end-users, tenants, or organizations. Provide name and email to get a customer ID for subscriptions and usage recording.
Instructions
Create a ClockNext customer — the entity you bill (maps to one of your end-users / tenants / organisations). name and email are required; everything else is optional profile. Returns the customer with its ClockNext id, which you pass as customerId when subscribing to a plan (clocknext_create_purchase) and when recording usage (clocknext_record_usage).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"email": "<email>"
},
"name": "clocknext_create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| name | Yes | Customer / company name. | |
| Yes | Primary email — required, and the key bulk import matches back on. | ||
| notes | No | Internal notes about the customer. | |
| phone | No | ||
| state | No | ||
| taxId | No | ||
| country | No | ||
| logoUrl | No | ||
| pincode | No | ||
| website | No | The customer's website. | |
| legalName | No | ||
| description | No | Optional freeform description of the customer. | |
| addressLine1 | No | ||
| addressLine2 | No | ||
| currencyCode | No | ISO 4217 (3 letters); must be enabled for the org. Defaults to the org currency. |