curl --location 'https://api.wiser.cloud/v1/custom-payment-links/preview' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"planId": "plan_123",
"business": "wiseup-online",
"conditions": {
"amount": 150,
"cycles": 3
}
}'{
"invoices": [
{
"cycle": 1,
"dueDate": "2026-08-01T00:00:00.000Z",
"amount": 150,
"isEntry": false,
"hasDiscount": false,
"maxInstallments": 1
},
{
"cycle": 2,
"dueDate": "2026-09-01T00:00:00.000Z",
"amount": 150,
"isEntry": false,
"hasDiscount": false,
"maxInstallments": 1
},
{
"cycle": 3,
"dueDate": "2026-10-01T00:00:00.000Z",
"amount": 150,
"isEntry": false,
"hasDiscount": false,
"maxInstallments": 1
}
],
"totalAmount": 450,
"cycles": 3
}