List credit transactions
The ledger behind creditCents on /v1/me. Signed amounts: positive adds, negative spends.
balanceAfterCents is the balance immediately after each row, so nothing has to be summed.
Cursor-paginated. Key on kind and invoiceId — description is free text for a human.
apiToken account:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: account:read
limit?integer1 <= value <= 10025before?integerCursor from the previous page.
One page of the ledger.
application/json- response
items*array<>nextCursor*integer|nullcurl -X GET 'https://api.deluxhost.net/v1/credit/transactions' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"{ "items": [ { "id": 0, "amountCents": 0, "balanceAfterCents": 0, "kind": "deposit", "invoiceId": 0, "description": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": 0}Apply account credit to an invoice POST
Requires confirm: true. Inspect the resource before retrying an uncertain outcome. Requires Idempotency-Key. Use the same key and payload to replay a completed response. A 409 for a pending or failed attempt requires checking the resource; a new key could duplicate a charge or purchase.
Get supported service actions GET