Skip to main content
HackGATE stores a single set of billing details per organization. These details are used for invoicing and are shared across all members of your org.

Retrieve current billing information

curl https://api-admin.hackgate.io/api/billing \
  -H "Authorization: Bearer <token>"
Response:
{
  "bussinessName": "Acme Corp",
  "vat": "EU123456789",
  "address": "123 Main Street",
  "addressLine2": "",
  "city": "Budapest",
  "zipCode": "1051",
  "country": "Hungary",
  "state": "",
  "email": "billing@acme.com"
}

Update billing information

Send a POST request to /api/billing with the fields you want to set. All fields are optional per update — only the fields you include will be written.
curl -X POST https://api-admin.hackgate.io/api/billing \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "bussinessName": "Acme Corp",
    "vat": "EU123456789",
    "address": "123 Main Street",
    "addressLine2": "Suite 400",
    "city": "Budapest",
    "zipCode": "1051",
    "country": "Hungary",
    "state": "",
    "email": "billing@acme.com"
  }'
Returns 200 OK on success.

Billing fields reference

FieldDescription
bussinessNameLegal business name for invoices.
vatVAT or tax identification number.
addressPrimary street address.
addressLine2Apartment, suite, or additional address line.
cityCity.
zipCodePostal or ZIP code.
countryCountry name.
stateState or province, if applicable.
emailEmail address where invoices should be sent.
Billing information is per-organization. All members of your org share the same billing details. Updating billing information does not affect your active sites or credit balance.
For questions about invoices or purchasing credits, contact sales@hckrt.com.