List saved payment methods
apiToken billing:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: billing:read
Operation completed or accepted; asynchronous actions may still be running.
application/json- response
methods*array<>autopay*booleancurl -X GET 'https://api.deluxhost.net/v1/payment-methods' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"{ "methods": [ { "id": 0, "gateway": "string", "type": "string", "label": "string", "isDefault": true, "status": "string", "expMonth": 0, "expYear": 0, "createdAt": "2019-08-24T14:15:22Z" } ], "autopay": true}Capture a PayPal payment 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.
Set the default payment method 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.