Skip to content
Docs

Finalize Installation

POSThttps://api.vercel.com/v1/installations/{integrationConfigurationId}/billing/finalize
This endpoint allows the partner to mark an installation as finalized. This means you will not send any more invoices for the installation. Use this after a customer has requested uninstall and you have sent any remaining invoices. This will allow the uninstall process to proceed immediately after all invoices have been paid.
Use the credentials.access_token we provided in the Upsert Installation body to authorize this request.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/billing/finalize
const response = await fetch('https://api.vercel.com/v1/installations/integrationConfigurationId/billing/finalize', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{}
AuthorizationbearerToken

Default authentication mechanism

integrationConfigurationIdstringRequired
204Success
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404Error
410Error
Finalize Installation | Vercel API