ClocknextClocknextHelp
DocumentationAPI ReferenceMCP Tools
Dashboard

Get started

OverviewQuickstart

Good to know

Response formatHandling errorsPaginating resultsSending data reliablyYour own customer idsWebhooks

API reference

Signals

Record credit POSTRecord outcome POSTComplete outcome POSTRecord wallet POSTRecord unit POSTComplete composite POSTList raw signals GETRetry signals POSTList Customer Usage Log GETLook Up Usage Logs by ID GET

Deprecated

Record credit POSTRecord outcome POSTComplete outcome POSTRecord wallet POSTRecord unit POSTComplete composite POSTList raw signals GETRetry signals POST

Customers

List customers GETCreate a customer POSTGet a customer GETUpdate a customer PATCHDelete a customer DELETEGet a customer's balances GETGet a customer's wallet ledger GETSet a customer's low-balance alert for wallet PUTGet a customer's current plan GETChange a recurring grant PUTUpdate a customer's card POSTGet a customer's invoice balance GETAdjust a customer's invoice balance POST

Deprecated

List Customer Usage Log GETLook Up Usage Logs by ID GET

Manage

Manage a customer's credit balance POSTManage a customer's outcome balance POSTManage a customer's unit balance POSTManage a customer's composite balance POSTManage a customer's wallet balance POST

Members

List a customer's members GETAdd a member POSTUpdate a member PATCHRemove a member DELETE

Plans and Entitlements

PlansPackagesCreditsOutcomesUnitsComposites

Taxes

List taxes GETCreate a tax POSTGet a tax GETUpdate a tax PATCH

Purchases

List purchases GETCreate a purchase POSTGet a purchase GETUpdate a purchase's auto-payment setting PATCHCancel a purchase POST

Checkout

Create a checkout POST

Subscriptions

List subscriptions GETGet a subscription GETCancel a subscription POSTAdd packages to a subscription POSTRemove a package from a subscription POST

Plan changes

List plan changes GETPreview a plan change POSTChange a customer's plan POSTGet a plan change GET

Invoices

List invoices GETGet an invoice GETMint a hosted pay link GETRecord a payment POST

Credit notes

List credit notes GETCreate a credit note POSTGet a credit note GETVoid a credit note POST

Refunds

List refunds GETRefund to the card POSTGet a refund GET

Payments

List payments GETGet a payment GET

Webhooks

Customer Portal

Mint a customer-portal access token POST

List taxes

Lists your taxes, oldest first. Archived taxes are included; pass active=true for only the ones that apply to new invoices.

Base URL https://payments.clocknext.com/api/v1

GET
/taxes

Authorization

apiKey
headerAuthorizationBearer <cnk_…>

Organisation-scoped key from Settings → API Keys.

Query Parameters

active?boolean

true returns only active taxes.

Response Body

Taxes.

application/json
  1. response
  1. response
  2. …
statusCode*integer

The 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 workspace's tax rates.

Example Request
curl -X GET 'https://payments.clocknext.com/api/v1/taxes?active=true'
Example Response
{  "statusCode": 200,  "statusDetail": {    "status": "SUCCESS",    "message": "Request processed successfully."  },  "result": {    "taxes": [      {        "id": "cmvgv90dv000j08l5sbtoaa70",        "name": "California Sales Tax",        "description": "California base state sales tax rate",        "percentage": 7.25,        "countryCode": "US",        "behavior": "exclusive",        "isActive": true,        "createdAt": "2026-10-20T15:56:49.843Z",        "updatedAt": "2026-10-20T16:05:16.151Z"      },      {        "id": "cmvgv90mz000k08l5685p7twr",        "name": "GST",        "description": "India GST on digital services",        "percentage": 18,        "countryCode": "IN",        "behavior": "exclusive",        "isActive": true,        "createdAt": "2026-10-20T15:56:50.171Z",        "updatedAt": "2026-10-20T15:56:50.171Z"      },      {        "id": "cmvgv90vd000l08l549ncshw9",        "name": "UK VAT",        "description": "UK VAT, included in list price",        "percentage": 20,        "countryCode": "GB",        "behavior": "inclusive",        "isActive": true,        "createdAt": "2026-10-20T15:56:50.473Z",        "updatedAt": "2026-10-20T15:56:50.473Z"      },      {        "id": "cmvgv913z000m08l5dvkugk78",        "name": "Umsatzsteuer",        "description": "Updated 2026-10-20 — tax description",        "percentage": 19,        "countryCode": "DE",        "behavior": "exclusive",        "isActive": true,        "createdAt": "2026-10-20T15:56:50.783Z",        "updatedAt": "2026-10-20T16:05:09.853Z"      }    ]  }}

Types

Every object type on this page, with its fields.

Tax

FieldTypeRequiredDescription
idstringyesThe tax's id.
namestringyesShown on invoices. Unique among active taxes in the same country, ignoring case.
descriptionstring | nullyesOptional note for your team. Not shown to customers.
percentagenumberyesThe tax rate in percent, from 0 to 100. 18 means 18%.
countryCodestringyesISO 3166-1 alpha-2 country code. Lower case is accepted and stored upper case; a country name is refused.
behavior"inclusive" | "exclusive"yesinclusive — already inside the price. exclusive — added on top.
isActivebooleanyesfalse once archived in Settings → Taxes. An archived tax no longer applies to new invoices. Read-only.
createdAtstringyesWhen the tax was created.
updatedAtstringyesWhen the tax was last changed.

Composites

Credits, outcomes and units billed together as one thing. Nothing is deleted — archive instead.

Create a tax POST

Creates a tax for one country. Two active taxes can't share a name (ignoring case) in the same country — that's a `409`. `isActive` can't be sent.