Payments
Read the payments recorded on your account, across all invoices or for one invoice.
A payment is money recorded against an invoice, or a deposit recorded
against an estimate. The payments endpoints are read-only. To record a
payment, use POST /api/v1/invoices/{id}/payments — see
Invoices.
curl "https://api.fieldcamp.ai/api/v1/payments?updated_since=2026-06-01T00:00:00Z" \
-H "Authorization: Bearer $FIELDCAMP_API_KEY"The key needs the payments:read scope.
Response fields
| Field | Description |
|---|---|
id | Payment ID. |
recordId | The payment's record identifier. |
documentId | ID of the invoice (or estimate) the payment belongs to. |
document | A short summary of that document. Its object is invoice or estimate. null when the document no longer exists. |
amount | The amount paid. |
date | The payment date. |
method | Payment method as entered, for example Cash. |
note | Free-text note. |
paymentTypeCode | The payment type code, when one was sent. |
isOnlinePayment | true when the customer paid online. |
isDepositPayment | true when the payment is a deposit. |
createdAt | ISO-8601 timestamp. |
The same shape is the record of a payment.recorded
webhook event.
Filters and paging
invoiceIdnarrows the list to one document.documentIdis accepted as the same filter.updated_since(ISO-8601) returns only payments changed since that time.- The list is cursor paged:
limit(1–100, default 50) andcursorset tometa.next.cursorfrom the previous response.meta.nextisnullon the last page.
Endpoints
/api/v1/paymentsAuthorization
BearerAuth JWT from POST /api/auth/login (response.data.token). Tokens do not expire.
In: header
Query Parameters
Only this invoice's (alias documentId).
1–100, default 50.
meta.next.cursor of the previous page.
ISO-8601; only rows updated since.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/payments"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/payments/{id}Authorization
BearerAuth JWT from POST /api/auth/login (response.data.token). Tokens do not expire.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/payments/665f1c2ab3e4d5f6a7b8c9d0"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/invoices/{id}/paymentsAuthorization
BearerAuth JWT from POST /api/auth/login (response.data.token). Tokens do not expire.
In: header
Path Parameters
Query Parameters
1–100, default 50.
meta.next.cursor of the previous page.
ISO-8601; only rows updated since.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/invoices/665f1c2ab3e4d5f6a7b8c9d0/payments"{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}/api/v1/invoices/{id}/paymentsAuthorization
BearerAuth JWT from POST /api/auth/login (response.data.token). Tokens do not expire.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/invoices/665f1c2ab3e4d5f6a7b8c9d0/payments" \ -H "Content-Type: application/json" \ -d '{ "amount": 0 }'{ "success": true, "code": "success.created", "message": "Client created successfully", "data": null}