Base URL https://payments.clocknext.com/api/v1
apiKeyAuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
id*stringCustomer id.
A single customer.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The customer, in customer.
curl -X GET 'https://payments.clocknext.com/api/v1/customers/cus_abc123'{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "customer": { "id": "cmvgva5po000c07iir1vtn8vl", "externalId": "northwind", "slug": "northwind-traders", "name": "Northwind Traders", "description": "Logistics customer — Pro plan", "email": "billing@northwindtraders.com", "website": "https://northwindtraders.com", "phone": "+1 415 555 0142", "legalName": "Northwind Traders Inc.", "addressLine1": "500 Market Street", "city": "San Francisco", "state": "CA", "country": "United States", "pincode": "94105", "taxId": "US-EIN 94-1234567", "currencyCode": "USD", "createdAt": "2026-10-20T15:57:43.404Z", "updatedAt": "2026-10-20T16:06:35.623Z" } }}Base URL https://payments.clocknext.com/api/v1
The same call, addressed by YOUR id for the customer (its externalId) instead of ours. Same response.
apiKeyAuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
externalId*stringYour own id for the customer: 1–64 letters, numbers or "-". Case-sensitive.
^[A-Za-z0-9-]{1,64}$1 <= length <= 64A single customer.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The customer, in customer.
curl -X GET 'https://payments.clocknext.com/api/v1/customers/ext/string'{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "customer": { "id": "cmvgva5po000c07iir1vtn8vl", "externalId": "northwind", "slug": "northwind-traders", "name": "Northwind Traders", "description": "Logistics customer — Pro plan", "email": "billing@northwindtraders.com", "website": "https://northwindtraders.com", "phone": "+1 415 555 0142", "legalName": "Northwind Traders Inc.", "addressLine1": "500 Market Street", "city": "San Francisco", "state": "CA", "country": "United States", "pincode": "94105", "taxId": "US-EIN 94-1234567", "currencyCode": "USD", "createdAt": "2026-10-20T15:57:43.404Z", "updatedAt": "2026-10-20T16:06:35.623Z" } }}Types
Every object type on this page, with its fields.
Customer
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | The customer's ClockNext id. Use it in /customers/{id} paths and as customerId in other calls. |
externalId | string | null | no | Your own id for the customer: 1–64 letters, numbers or "-". Case-sensitive. |
slug | string | yes | A short, unique name made from name at creation (lower case, - between words). It never changes. |
name | string | yes | The customer's name. |
description | string | null | no | Your own note about the customer. null when not set. |
email | string | no | The customer's billing email. |
website | string | null | no | The customer's website. ClockNext uses it to find the customer's logo. null when not set. |
phone | string | null | no | The customer's phone number. null when not set. |
legalName | string | null | no | The customer's registered company name. Invoices show it in place of name. null when not set. |
addressLine1 | string | null | no | The first line of the billing address. null when not set. |
city | string | null | no | The city of the billing address. null when not set. |
state | string | null | no | The state or region of the billing address. null when not set. |
country | string | null | no | Billing country. It decides which taxes apply; no country means no tax. |
pincode | string | null | no | The postal code of the billing address. null when not set. |
taxId | string | null | no | The customer's tax id. Invoices show it as "Tax ID". null when not set. |
currencyCode | string | yes | The customer's currency (ISO 4217), as a label. Clocknext converts no money: every invoice and charge is USD, and Stripe, Paddle or the customer's bank converts. |
createdAt | string | yes | When the customer was created. |
updatedAt | string | yes | When the customer was last changed. |