Get payment information for a specific invoice

Retrieve detailed information about a specific invoice, including payment status and due date. It also returns a unique token that can be used to create a payment link. The ID (uuid) submitted to this endpoint is typically obtained from a previous request, such as generating a payment link for an invoice.

Path Parameters

uuid string required Example

UUID for uuid

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
410
error string
message string
code string
timestamp string
requestId string
GET https://cloud.hostup.se/api/billing/payment-link/{uuid}
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/billing/payment-link/b8110b85-728a-44c5-b49c-4208ac407d3d" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "invoice": {
      "id": "string",
      "number": "string",
      "total": 0,
      "subtotal": 0,
      "tax": "string",
      "currency": "string",
      "dueDate": "string",
      "status": "string",
      "dateCreated": "string",
      "amountPaid": 0,
      "creditApplied": 0,
      "outstanding": 0,
      "items": [
        {
          "description": "string",
          "amount": "string",
          "quantity": "string",
          "price": "string"
        }
      ]
    },
    "token": "string",
    "isLoggedIn": true,
    "clientEmail": "string"
  }
}