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.
uuid string required Example UUID for uuid
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/billing/payment-link/{uuid} 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" {
"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"
}
}