Generate a unique payment link for a specific invoice. It returns a link the customer can use to complete the payment. You need to provide the invoice ID in the call. The ID returned in the response ('uuid') can be used for subsequent payment status checks or actions.
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 POST "https://cloud.hostup.se/api/billing/invoice/46090/payment-link" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"paymentUrl": "string",
"uuid": "string",
"expiresAt": "string",
"created": "string",
"message": "string"
}
}