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

invoiceIdintegerRequired
Invoice identifier

Request

This endpoint expects an object.
amountdoubleRequired
Payment amount in dollars
paymentMethodenumRequired
paymentDatestringRequiredformat: "date-time"
notesstringOptional
Optional notes about the payment
paymentReferencestring or nullOptional

Response

Payment created successfully
idinteger
Payment record identifier
amountdouble
Payment amount in dollars
statusstring
Payment status
paymentMethodstring

Payment method (e.g. CASH, ACH, CREDIT_CARD, CHECK)

invoiceNumberinteger or null

Payment display number (when present)

paymentDatestring or nullformat: "date-time"

When the payment was recorded (ISO 8601); null if absent from upstream

paymentReferencestring or null
notesstring or null
isExternalboolean or null

Whether the payment originated from an external processor (e.g. Stripe)

createdAtstring or nullformat: "date-time"
updatedAtstring or nullformat: "date-time"
createdByobject or null

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error