Skip to content
Support

Payments API

Owner, AdminLast checked 25 November 20264 min readArticle ID: developers-api-payments
On this page

3 endpoints for payments: record a manual payment on an invoice; list payments; get a payment.

Record a manual payment on an invoice

POST /api/v1/invoices/{id}/payments

Records a payment that already happened outside Skeduler (cash, bank transfer, cheque, a card taken on a terminal, direct debit) on one of the business's issued invoices. Nothing is ever charged; stripe is refused. The same rules as the app apply. A draft, void or cancelled invoice can't take a payment, and the amount can't be more than what is still due (both validation_failed). The invoice's paid amount and status are recalculated, and invoice.paid fires when this payment settles it (to other apps' subscriptions, as an app is not sent webhooks for its own writes). The Idempotency-Key header is required here (invalid_idempotency_key without it), so a retried payment is replayed, never recorded twice. Another business's (or an archived) invoice is not_found.

Scope: write:payments

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
Idempotency-KeyheaderstringyesRequired here. Repeat a write with the same key and body to get the first answer back (with Idempotent-Replayed: true) instead of doing it twice. Keys are per app.

Request body

FieldTypeRequiredDescription
amount_centsintegeryesInteger minor units of the invoice's currency; no more than what is still due.
methodbank_transfer, cheque, credit_card, cash, direct_debityesHow the money was received. credit_card means a card taken outside Skeduler (a terminal); Skeduler charges nothing.
paid_onstring (date)yesThe day the money was received (YYYY-MM-DD).
auth_nostring, nullableYour reference for the payment, such as a bank reference or receipt number.
{
  "amount_cents": 15000,
  "method": "bank_transfer",
  "paid_on": "2026-11-03",
  "auth_no": "BANK-REF-123"
}

Response: 201 Created.

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "invoice_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "method": "bank_transfer",
    "currency": "AUD",
    "amount_cents": 15000,
    "auth_no": "R-14273",
    "date": "2026-11-03",
    "voided_at": "2026-11-03T01:00:00+00:00",
    "archived_at": "2026-11-03T01:00:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 401, 403, 404, 409, 422, 429, 500, 503. See Errors.

List payments

GET /api/v1/payments

Offset mode by default (newest first, meta.total). Pass updated_since or cursor for sync mode (oldest change first, keyset paging, no total). See the pagination guide. Archived records are left out (except here: voided payments are listed with voided_at set). Unknown query parameters are ignored.

Scope: read:payments

Parameters

NameInTypeRequiredDescription
per_pagequeryintegerPage size. Out-of-range values are clamped to 1..100.
pagequeryintegerPage number, newest first. Offset mode only; ignored in sync mode.
updated_sincequerystringSwitches to sync mode: rows changed at or after this date or timestamp (a bare date is midnight UTC), oldest change first. Rows are listed once they have settled (5 seconds).
cursorquerystringThe meta.next_cursor of a previous response; continues strictly after the last row received. Switches to sync mode. A value this API did not issue is validation_failed.
job_idquerystringOnly payments of this job.
invoice_idquerystringOnly payments of this invoice.
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": [
    {
      "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "invoice_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
      "number": "1042-001",
      "method": "bank_transfer",
      "currency": "AUD",
      "amount_cents": 15000,
      "auth_no": "R-14273",
      "date": "2026-11-03",
      "voided_at": "2026-11-03T01:00:00+00:00",
      "archived_at": "2026-11-03T01:00:00+00:00",
      "created_at": "2026-11-03T01:00:00+00:00",
      "updated_at": "2026-11-03T01:00:00+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total": 1
  }
}

Errors: 304, 401, 403, 422, 429, 500, 503. See Errors.

Get a payment

GET /api/v1/payments/{id}

Scope: read:payments

Parameters

NameInTypeRequiredDescription
idpathstringyesThe record id (a ULID).
If-None-MatchheaderstringThe ETag of a copy you already have. When the response would be unchanged you get 304 Not Modified with no body. Tags are per business.

Response: 200 OK

{
  "data": {
    "id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "job_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "invoice_id": "01JC7K3Q8N5ZT9X2V4W6Y8A0BC",
    "number": "1042-001",
    "method": "bank_transfer",
    "currency": "AUD",
    "amount_cents": 15000,
    "auth_no": "R-14273",
    "date": "2026-11-03",
    "voided_at": "2026-11-03T01:00:00+00:00",
    "archived_at": "2026-11-03T01:00:00+00:00",
    "created_at": "2026-11-03T01:00:00+00:00",
    "updated_at": "2026-11-03T01:00:00+00:00"
  }
}

Errors: 304, 401, 403, 404, 429, 500, 503. See Errors.

In this section