Create Invoice Payment
Record a manual payment against an invoice.
**Request body**
- `amount`: Positive number in **dollars**
- `paymentDate`: ISO 8601 datetime string
- `paymentMethod`: One of `CASH`, `ACH`, `CREDIT_CARD`, `KLARNA`, `AFFIRM`, `CHECK`
- `notes` (optional)
- `paymentReference` (optional)
Authentication
x-api-keystring
API Key authentication via header
Path parameters
invoiceId
Invoice identifier
Request
This endpoint expects an object.
amount
Payment amount in dollars
paymentMethod
paymentDate
notes
Optional notes about the payment
paymentReference
Response
Payment created successfully
id
Payment record identifier
amount
Payment amount in dollars
status
Payment status
paymentMethod
Payment method (e.g. CASH, ACH, CREDIT_CARD, CHECK)
invoiceNumber
Payment display number (when present)
paymentDate
When the payment was recorded (ISO 8601); null if absent from upstream
paymentReference
notes
isExternal
Whether the payment originated from an external processor (e.g. Stripe)
createdAt
updatedAt
createdBy
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
