Retrieve a payment link for a specific invoice. The ID returned from this endpoint can be used to fetch the payment link at a later stage. Use this endpoint when a customer wants to pay a specific invoice or if the system needs to generate a payment link.
id integer · min: 1 required Example Unique id identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/billing/invoice/{id}/payment-link curl -X GET "https://cloud.hostup.se/api/billing/invoice/48192/payment-link" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"hasActiveLink": true,
"paymentUrl": "string",
"uuid": "string",
"expiresAt": "string",
"viewCount": 0,
"lastViewed": "string"
}
}