List payments
A payment is a PAID invoice. Newest first, paged with limit (at most 50) and cursor → nextCursor — see Paginating results. There is no status parameter: Any other query parameter is a 400 ("Unknown parameter offset.").
Base URL https://payments.clocknext.com/api/v1
apiKeyAuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
customerId?stringRestrict results to this customer.
limit?integerRows on one page: default 50, maximum 50 (a bigger value is cut to 50). Zero, a negative number or a non-number is a 400.
1 <= value <= 5050cursor?stringId to page after — the last id of the previous page.
Payments.
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*One page of payments.
curl -X GET 'https://payments.clocknext.com/api/v1/payments?customerId=cus_abc123&limit=50&cursor=cus_zzz789'{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Request processed successfully." }, "result": { "payments": [ { "id": "cmvgvkqb2004w08l208oh6j1e", "paymentNumber": "PAY-005", "invoiceNumber": "INV-0006", "purchaseNumber": "PUR-007", "noteType": "NEW_PURCHASE", "note": "New Purchase", "customerId": "cmvgvklx5002f08l2875y93k8", "customerName": "Litware Inc", "planName": "Starter", "amount": 31.1, "currencyCode": "USD", "paymentMode": "CARD", "paidWith": [ "CARD" ], "paymentReference": "Terminal txn 0091-7732", "paidAt": "2026-10-20T16:06:37.930Z", "paidByName": "Josewin D D" }, { "id": "cmvgvkort004308l2namjqdqp", "paymentNumber": "PAY-004", "invoiceNumber": "INV-0004", "purchaseNumber": "PUR-004", "noteType": "NEW_PURCHASE", "note": "New Purchase", "customerId": "cmvgv9ebb000707iipffdxzwj", "customerName": "Tailspin Studios", "planName": "Starter", "amount": 34.51, "currencyCode": "USD", "paymentMode": "SEPA", "paidWith": [ "SEPA" ], "paymentReference": "SEPA-DE89370400440532013000", "paidAt": "2026-10-20T16:06:37.317Z", "paidByName": "Josewin D D" }, { "id": "cmvgvkob7003v08l21w1in072", "paymentNumber": "PAY-003", "invoiceNumber": "INV-0003", "purchaseNumber": "PUR-003", "noteType": "NEW_PURCHASE", "note": "New Purchase", "customerId": "cmvgv9dyg000607ii9z6oghzf", "customerName": "Fabrikam Analytics", "planName": "Scale (pay as you go)", "amount": 1180, "currencyCode": "USD", "paymentMode": "UPI", "paidWith": [ "UPI" ], "paymentReference": "UPI/629413557812/fabrikam@hdfc", "paidAt": "2026-10-20T16:06:36.779Z", "paidByName": "Josewin D D" }, { "id": "cmvgvknob003d08l2sc3jhm55", "paymentNumber": "PAY-002", "invoiceNumber": "INV-0002", "purchaseNumber": "PUR-002", "noteType": "NEW_PURCHASE", "note": "New Purchase", "customerId": "cmvgv9th0000a07iisl2s8u6q", "customerName": "Contoso Pharmaceuticals", "planName": "Enterprise", "amount": 60000, "currencyCode": "USD", "paymentMode": "WIRE_TRANSFER", "paidWith": [ "WIRE_TRANSFER" ], "paymentReference": "SWIFT MT103 BARCGB22-88213", "paidAt": "2026-10-20T16:06:36.125Z", "paidByName": "Josewin D D" }, { "id": "cmvgvkn14002u08l2ct47s2a7", "paymentNumber": "PAY-001", "invoiceNumber": "INV-0001", "purchaseNumber": "PUR-001", "noteType": "NEW_PURCHASE", "note": "New Purchase", "customerId": "cmvgva5po000c07iir1vtn8vl", "customerName": "Northwind Traders", "planName": "Pro", "amount": 535.18, "currencyCode": "USD", "paymentMode": "ACH", "paidWith": [ "ACH" ], "paymentReference": "ACH-20261020-4471", "paidAt": "2026-10-20T16:06:35.286Z", "paidByName": "Josewin D D" } ], "nextCursor": null }}Types
Every object type on this page, with its fields.
PaymentRow
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | The paid invoice's id. It works with Get a payment and Get an invoice. |
paymentNumber | string | yes | The workspace's payment reference, such as PAY-0031, given when the invoice was paid. |
invoiceNumber | string | yes | The reference of the invoice this payment paid. |
purchaseNumber | string | null | no | The reference of the purchase that raised it. null without one, or when it was deleted. |
customerId | string | yes | The id of the customer who paid. |
customerName | string | yes | The customer's name. |
planName | string | yes | The plan's name, saved on the invoice when it was issued. |
packageInvoice | PackageInvoiceInfo | null | no | Set only on a package attach invoice: the packages it bills. Else null. |
noteType | "NEW_PURCHASE" | "RENEWAL" | "MANUAL" | no | NEW_PURCHASE: a purchase's first invoice. RENEWAL: a later one, or a package attach. MANUAL: none. |
note | "New Purchase" | "Subscription Renewal" | "Manual Invoice" | no | The label of noteType, as the app shows it. |
amount | number | yes | Amount paid in USD, tax included. |
currencyCode | string | yes | USD for every invoice issued since Clocknext stopped converting money (every invoice and charge is USD). An older invoice keeps the customer's currency it was issued with. |
paymentMode | string | null | no | How it was paid: STRIPE, PADDLE, or an offline mode such as BANK_TRANSFER. |
paidWith | string[] | no | What paid the invoice, balance first, such as [INVOICE_BALANCE, GATEWAY_CARD]. |
paymentReference | string | null | no | The Stripe or Paddle payment id, or the reference sent to POST /invoices/{id}/pay. null when none. |
paidAt | string | yes | When the invoice was paid. |
paidByName | string | null | no | Who paid: the payer's email for STRIPE or PADDLE when known, else the member who recorded it. |
PackageInvoiceInfo
What a package attach invoice bills: one row per package of the attach, in the order of the attach.
| Field | Type | Required | Description |
|---|---|---|---|
packages | object[] | yes | The packages the invoice bills. |
PackageInvoiceInfo.packages
| Field | Type | Required | Description |
|---|---|---|---|
purchasePackageId | string | yes | The package's id on the subscription. |
packageId | string | null | yes | The package in the catalog. null when it no longer exists. |
name | string | yes | The package's name. |
term | "RECURRING" | "ONE_TIME" | yes | RECURRING or ONE_TIME, as attached. |
subtotalUsd | number | yes | Its price on the invoice, before tax, in USD. |