/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
| Field | Type | Description |
|---|---|---|
| id | integer | Unique identifier for the resource. |
| created_at | datetime | Timestamp when the resource was created. |
| updated_at | datetime | Timestamp when the resource was last updated. |
| invoice_id | integer | ID of the invoice this payment belongs to. |
| reversal_of_id | integer | ID of the payment reversed by this payment record. |
| amount | money | Amount received or reversed by this payment. |
| paid_on | date | Date on which the payment was received. |
| notes | string | Free-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.