5. Hosted Payment Links REST API
POST/api/v1/payment-links
Create a quick direct hosted checkout URL for immediate redirection. Accepting body parameters: productId (optional), custom checkout amount and description, and an optional orderId.
// JSON RESPONSE:
{
"success": true,
"checkoutUrl": "/i/inv_550e8400-e29b-41d4-a716-446655440000",
"invoice": { ... }
}