Create a credit top-up invoice
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.
apiToken billing:manageAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: billing:manage
Idempotency-Key*stringUnique per account and operation. Reuse only for an identical request. Completed requests replay the encrypted stored response; pending or failed attempts return 409 and are never automatically rerun.
1 <= length <= 128application/json- body
amountCents*numberconfirm*booleanOperation completed or accepted; asynchronous actions may still be running.
application/json- response
invoiceId*numbernumber*stringtotalCents*numbercurl -X POST 'https://api.deluxhost.net/v1/credit/topup' \ -H "Authorization: Bearer $DELUXHOST_TOKEN" \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "amountCents": 0, "confirm": true}'{ "invoiceId": 0, "number": "string", "totalCents": 0}Set automatic payments from credit 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.
Pay an invoice with account credit 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.