Skip to content

List invoice copy addresses

GET /api/v2/billing/payment-methods/contacts

List the extra e-mail addresses that get copies of the account’s invoice e-mails. They only receive e-mail. They get no access to the account. When billing notifications are turned off for the account, invoice e-mails go to these addresses only.

Authentication: An API key with the scope read:billing. About keys and scopes

Example

GET /api/v2/billing/payment-methods/contacts
curl "https://cloud.hostup.se/api/v2/billing/payment-methods/contacts" \
-H "Authorization: Bearer $HOSTUP_API_KEY"

Responses

200 The invoice copy addresses, oldest first.

Response 200
{
"contacts": [
{
"id": "42",
"email": "invoices@example.com",
"description": "Accounts payable"
}
]
}
Response fields
contactsarray of object
idstring
The billing contact ID.
emailstring
descriptionstring or null

Errors

Errors are Problem Details with a stable code. Branch on the code, not on the text.

400Invalid request. The response body is an RFC 7807 Problem Details document.
401Unauthorized. Authentication is required.
403Forbidden. The caller lacks a required scope or does not own the resource.
404Not found. The resource does not exist or is not owned by the caller.
429Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
500Internal error. Retry later or contact support if the issue persists.