/2026-07-14/payments

Payment

Payments record money received for an invoice, including reversals and the payment date.

Endpoints

GET /2026-07-14/payments List records

Example request

curl \
  -H "Authorization: Bearer $BUEZLI_API_TOKEN" \
  "https://api.buezli.app/2026-07-14/payments?page=1&limit=50"
POST /2026-07-14/payments Create a record

Example request

curl -X POST \
  -H "Content-Type: application/json" \
  -d @body.json \
  -H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
  "https://api.buezli.app/2026-07-14/payments"

Writes need a member's OAuth token with the payments:write scope; account API tokens only read.

Optional body
invoice_id, amount, paid_on, notes, reversal_of_id

Needs the payments:write scope as well.

GET /2026-07-14/payments/:id Retrieve one record

Example request

curl \
  -H "Authorization: Bearer $BUEZLI_API_TOKEN" \
  "https://api.buezli.app/2026-07-14/payments/123"

Fields

FieldTypeDescription
idintegerUnique identifier for the resource.
created_atdatetimeTimestamp when the resource was created.
updated_atdatetimeTimestamp when the resource was last updated.
invoice_idintegerID of the invoice this payment belongs to.
reversal_of_idintegerID of the payment reversed by this payment record.
amountmoneyAmount received or reversed by this payment.
paid_ondateDate on which the payment was received.
notesstringFree-form notes attached to the payment.

Relationships

invoice

Returned as an ID. Add expand=invoice to include the related record.

reversal_of

Returned as an ID. Add expand=reversal_of to include the related record.