Add funds to your account for future purchases

Add funds to your customer account. These funds can then be used to pay for new services or renew existing ones. Upon a successful call, invoice information is returned that can be used for follow-up payment processes.

Headers

Accept Example
Content-Type Example

Body

required
application/json
amount any required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/credit/add-funds
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/credit/add-funds" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": null
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "invoiceId": "string",
    "amount": 0,
    "message": "string"
  }
}
Request Body
{
  "amount": null
}