Add a member
Base URL https://payments.clocknext.com/api/v1
POST
apiKeyheader
AuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
id*stringCustomer id.
application/json- body
A member to add to a customer. An email of a removed member adds that member again.
name*stringThe member's name: 1–120 characters.
Length
1 <= length <= 120email?stringThe member's email. Optional. Unique among the customer's members, ignoring case (409 if taken).
Length
length <= 200Member added.
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 member that was added.
curl -X POST 'https://payments.clocknext.com/api/v1/customers/cus_abc123/members' \ -H 'Content-Type: application/json' \ -d '{ "name": "Priya Raman", "email": "priya.raman@northwindtraders.com"}'Example Response
{ "statusCode": 201, "statusDetail": { "status": "SUCCESS", "message": "Member added." }, "result": { "member": { "id": "cmvgvr4wn007208l2fgnjnmv4", "name": "Priya Raman", "email": "priya.raman@northwindtraders.com", "joinedAt": "2026-10-20T16:10:55.511Z" } }}Types
Every object type on this page, with its fields.
AddMemberInput
A member to add to a customer. An email of a removed member adds that member again.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The member's name: 1–120 characters. |
email | string | no | The member's email. Optional. Unique among the customer's members, ignoring case (409 if taken). |
Member
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | The member's id. Use it in /members/{memberId} paths. |
name | string | yes | The member's name. |
email | string | null | yes | The member's email. null when the member has none. |
joinedAt | string | yes | When the member was first added. A member that is removed and added again keeps this date. |