curl --location --request POST 'https://v1.popaap.cc/api/licenses/generate?Authorization=Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"plan_id": 1,
"count": 5,
"format": "random",
"prefix": "PREFIX-",
"custom_format": "XXXX-XXXX-XXXX-XXXX"
}'{
"licenses": [
{
"id": 1,
"license_key": "A1B2C3D4E5F6G7H8",
"status": "inactive",
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z",
"plan": {
"id": 1,
"name": "Plan Premium",
"duration_days": 365
}
}
]
}