Generate a secure payment link via Stripe for a specific invoice or service. Use this when a customer wants to complete a payment initiated earlier. The returned link is needed to redirect the user to the payment process.
uuid string required Example UUID for uuid
Accept Example Content-Type Example paymentMethod string · enum required stripe swish success boolean timestamp string requestId string data object https://cloud.hostup.se/api/billing/payment-link/{uuid}/pay curl -X POST "https://cloud.hostup.se/api/billing/payment-link/b8110b85-728a-44c5-b49c-4208ac407d3d/pay" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"paymentMethod": "stripe"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"stripeSessionUrl": "string",
"sessionId": "string",
"paymentMethod": "string"
}
} {
"paymentMethod": "stripe"
}