KlockworkKlockworkAPI
Agency

Payments

Agency payment request and response fields.

Base URL https://api.klockwork.org. Send X-Klockwork-Key or Authorization: Bearer kw_…. An agency key acts as the agency that created it. JSON bodies use these fields. A missing required field returns 400 with { "error": "Validation failed", "details": {} }.

List payments

GET /api/public/agency/payments

Response 200: { payments: Payment[] }

FieldTypeRequired
idstring (uuid)yes
invoiceIdstring (uuid)yes
invoiceDisplayNumberstringyes
talentIdstring (uuid)yes
talentDisplayNamestringyes
currencystringyes
amountCentsinteger, min 0yes
method"wise" or "bank" or "gcash" or "maya" or "card" or "other"yes
paidAtstringyes
createdAtstringyes

Record payments

POST /api/public/agency/payments

Request body:

FieldTypeRequired
invoiceIdsarray of string (uuid)yes
method"wise" or "bank" or "gcash" or "maya" or "card" or "other"yes
paidAtstring, min 1no

Response 201: { payments: Payment[] }

FieldTypeRequired
idstring (uuid)yes
invoiceIdstring (uuid)yes
invoiceDisplayNumberstringyes
talentIdstring (uuid)yes
talentDisplayNamestringyes
currencystringyes
amountCentsinteger, min 0yes
method"wise" or "bank" or "gcash" or "maya" or "card" or "other"yes
paidAtstringyes
createdAtstringyes

On this page