Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payments

Payments against invoices.

A payment is money received for an invoice, online through Shortcut or recorded offline. Offline payments can be reversed.

Fields: The payment object · The payment reversal object.

Record an offline payment

post

Records a cash, check, or other offline payment that settles an invoice in full, as Mark paid does in the app: amount must equal the invoice's total, and the invoice becomes paid. Partial payments are not supported (422 amount_mismatch). Paid and void invoices are refused, and so is an invoice with an online payment in progress (a bank payment awaiting confirmation, or an open checkout link), before anything happens, as the app hides Mark paid then. No card or bank account is ever charged. paidOn cannot be after today in the workspace's timezone. Repeating a request after it succeeded, with or without its Idempotency-Key, returns the payment it recorded with meta.alreadyRecorded: true. Your invoice-paid automations, which may email or text the customer, and Automations rules that start when a payment is recorded or an invoice is paid, run only if the token has automations:trigger.

Returns the payment object.

Errors specific to this endpoint: amount_mismatch, dependency_unavailable, rule_violation, state_conflict. Every endpoint can also return the common errors.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Header parameters
Idempotency-Keystring · max: 255Optional

Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.

Body
amountnumberRequired

Amount received, in US dollars. It must equal the invoice's total: recording a payment settles the invoice in full, as Mark paid does in the app.

methodstring · enumRequired

How the customer paid outside Shortcut.

Possible values:
paidOnstringOptional

The day the payment was received, YYYY-MM-DD, no later than today in the workspace's timezone. Defaults to now. The payment's paidAt is stored as midnight UTC of that date, as the app stores a chosen paid date.

Pattern: ^\d{4}-\d{2}-\d{2}$
referencestring · min: 1 · max: 255Optional

A reference such as a check number.

Responses
200

The same payment was already recorded for this invoice: nothing was recorded again, and meta.alreadyRecorded is true.

application/json
post/v1/invoices/{id}/payments
curl https://api.shortcutco.com/v1/invoices/d5d75355-d221-4e9c-8e6b-c9e3cab6052a/payments \
  -X POST \
  -H "Authorization: Bearer $SHORTCUT_TOKEN" \
  -H "Idempotency-Key: bd446375-b98e-4ebc-85d8-da03b223154a" \
  -H "Content-Type: application/json" \
  -d '{"amount":129.5,"method":"cash"}'
{
  "data": {
    "id": "30655ef2-2caf-4a39-88f9-d580254410c7",
    "object": "payment",
    "invoiceId": "d5d75355-d221-4e9c-8e6b-c9e3cab6052a",
    "customerId": "949f2b76-90e9-46bd-8d33-a204897ddd4b",
    "amount": 129.5,
    "method": "cash",
    "reference": null,
    "refundedAmount": 0,
    "paidAt": "2026-10-16T17:04:12.381Z",
    "createdAt": "2026-10-16T17:04:12.381Z"
  },
  "meta": {
    "alreadyRecorded": true
  }
}

List payments

get

Payments newest first, or oldest first from createdSince, which syncs new payments. refundedAmount is the succeeded-refund total at read time; a later refund changes neither the payment nor its invoice, so a sync does not pick it up. A manual payment the workspace undoes is removed; its invoice's updatedAt changes.

Returns a list of payment objects.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Query parameters
limitinteger · min: 1 · max: 200Optional

How many items to return, 1-200. Defaults to 50.

Default: 50
cursorstring · min: 1 · max: 4096Optional

The meta.nextCursor from the previous page. Omit it for the first page.

invoiceIdstring · uuidOptional

Only payments against this invoice.

customerIdstring · uuidOptional

Only this customer's payments.

createdSincestring · date-timeOptional

ISO 8601 timestamp. Returns objects created at or after it, oldest first. Keep the largest createdAt you have seen, subtract five minutes, and pass it on the next sync; deduplicate by id.

Responses
200

Success.

application/json
get/v1/payments
curl https://api.shortcutco.com/v1/payments \
  -H "Authorization: Bearer $SHORTCUT_TOKEN"
{
  "data": [
    {
      "id": "9c21c509-986c-4050-84b6-3b97910076de",
      "object": "payment",
      "invoiceId": "4052d88c-3c9d-43d3-88e7-4f1a35318a61",
      "customerId": "e80cd349-e457-4e90-80a1-49d7dceb851e",
      "amount": 129.5,
      "method": "online",
      "reference": "Check 2204",
      "refundedAmount": 0,
      "paidAt": "2026-10-16T17:04:12.381Z",
      "createdAt": "2026-10-16T17:04:12.381Z"
    }
  ],
  "meta": {
    "nextCursor": null,
    "hasMore": false
  }
}

Get a payment

get

One payment: its invoice, amount, how it was paid, and refundedAmount, the succeeded-refund total at the time of the request.

Returns the payment object.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Responses
200

Success.

application/json
get/v1/payments/{id}
curl https://api.shortcutco.com/v1/payments/bb9545ae-b7df-40f5-8429-bc3cb073f783 \
  -H "Authorization: Bearer $SHORTCUT_TOKEN"
{
  "data": {
    "id": "bb9545ae-b7df-40f5-8429-bc3cb073f783",
    "object": "payment",
    "invoiceId": "be2cde60-ba77-49a7-86c1-54eeb30b9035",
    "customerId": "31ed95bd-2e37-4104-8a82-0c4b26cc4792",
    "amount": 129.5,
    "method": "online",
    "reference": "Check 2204",
    "refundedAmount": 0,
    "paidAt": "2026-10-16T17:04:12.381Z",
    "createdAt": "2026-10-16T17:04:12.381Z"
  }
}

Undo an offline payment

post

Undoes a manual (offline) payment with the same rules as Undo payment in the app: the payment is removed and its invoice becomes unpaid again, or overdue when past due. Only the single manual payment on a paid invoice can be undone; online payments, payments with refunds on project invoices, and recorded external payments are refused. The reason is recorded on the customer's notes. Because the payment is removed, it no longer appears in GET /v1/payments. Automations rules that start on an invoice change run only if the token has automations:trigger. Needs payments:write and invoices:read.

Returns the payment reversal object.

Errors specific to this endpoint: dependency_unavailable, rule_violation, state_conflict, token_creator_unavailable. Every endpoint can also return the common errors.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.

Path parameters
idstring · uuidRequired

The object's id.

Header parameters
Idempotency-Keystring · max: 255Optional

Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.

Body
reasonstring · min: 1 · max: 500Required

Why the payment is being undone. It is recorded on the customer's notes, as in the app.

Responses
200

Success.

application/json
post/v1/payments/{id}/reverse
curl https://api.shortcutco.com/v1/payments/ad72a56f-a9bc-40b6-8607-1bfda2515744/reverse \
  -X POST \
  -H "Authorization: Bearer $SHORTCUT_TOKEN" \
  -H "Idempotency-Key: 147b5567-10c5-40ae-8d0f-cbf5095a073c" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Customer asked to pause for the winter."}'
{
  "data": {
    "object": "payment_reversal",
    "paymentId": "ad72a56f-a9bc-40b6-8607-1bfda2515744",
    "amount": 129.5,
    "invoice": {
      "id": "97269351-9370-4e98-8fbb-09df8c054526",
      "object": "invoice",
      "number": 1042,
      "kind": "standard",
      "status": "unpaid",
      "paymentActivity": null,
      "customerId": "52a14611-4eeb-4158-8b35-bc9f477ff7e6",
      "propertyId": "f21016ae-ee5a-41f5-8aa4-8d3ce6eec883",
      "propertyAddress": "412 Elm St, Bozeman, MT 59715",
      "propertyLabel": "Home",
      "subtotal": 120,
      "salesTax": 9.5,
      "taxMode": "flat",
      "taxExempt": true,
      "taxBreakdown": [
        {
          "level": "Example level",
          "name": "Weekly mowing",
          "state": "MT",
          "ratePct": 45,
          "taxableAmount": 45,
          "tax": 45
        }
      ],
      "processingFee": 0,
      "processingFeeScope": "all_payments",
      "cardProcessingFee": 45,
      "lateFees": 0,
      "total": 129.5,
      "dueDate": "2026-10-31",
      "dueAt": "2026-10-31T00:00:00.000Z",
      "coverageStartDate": null,
      "coverageEndDate": null,
      "sentAt": "2026-10-01T15:05:02.000Z",
      "paidAt": null,
      "createdAt": "2026-10-01T15:02:20.114Z",
      "updatedAt": "2026-10-16T17:04:12.381Z"
    }
  }
}

Last updated