List invoice payments
Completed and refunded rows only — money that moved. Declined attempts are not here.
amountCents is negative on a refund and refund says so without arithmetic; reference is
the gateway's own transaction id, which is what makes a row match a line on your statement.
apiToken invoices:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: invoices:read
id*integerThe payments against this invoice, oldest first.
application/json- response
items*array<>curl -X GET 'https://api.deluxhost.net/v1/invoices/0/payments' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"{ "items": [ { "id": 0, "amountCents": 0, "currency": "string", "status": "completed", "refund": true, "method": "string", "reference": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}Get invoice details GET
Previous Page
List credit notes GET
The documents that undo an invoice. **Read these if you are syncing invoices into your books**: a refund is a credit note plus a negative payment row, so an invoice list on its own counts refunded money as revenue. `totalCents` is POSITIVE — the direction is the document type, not the sign. Cursor-paginated like `/v1/invoices`.