#
Activate Vignette
Finalizes and activates a draft vignette previously created using the /v1/vignette/create endpoint. Once activated,
the vignette becomes officially valid and is registered with the tolling system.
This step is essential in the vignette issuance process and should only be called once payment has been processed and confirmed.
#
Request
POST /v1/vignette/activate
#
Parameters
#
Code samples
curl -X POST "https://api.rovinieteonline.ro/v1/vignette/activate" \
-H "X-Authorization: [YOUR_API_KEY]" \
-H "Content-Type: application/json" \
-d '{
"sale_id": "string"
}'
try {
const res = await fetch("https://api.rovinieteonline.ro/v1/vignette/activate", {
method: "POST",
headers: {
"X-Authorization": "[YOUR_API_KEY]",
"Content-Type": "application/json"
},
body: JSON.stringify({
sale_id: "string"
})
})
const json = await res.json()
console.log(json)
} catch (err) {
console.log(err)
}
#
Response
Returns the full, finalized vignette record, including fiscal and vehicle details, product metadata, and validity period.
{
"success": true,
"vignetteId": "string",
}