Menu

Invoice Actions

POSThttps://api.vercel.com/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions
This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the Submit Invoice API.
https://api.vercel.com/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions
const response = await fetch('https://api.vercel.com/v1/installations/string/billing/invoices/string/actions', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
body: JSON.stringify("value"),
});
const data = await response.json();
console.log(data);
Response
{}
AuthorizationbearerToken

Default authentication mechanism

integrationConfigurationIdstringRequired
invoiceIdstringRequired

This endpoint expects an object.

No response body

400One of the provided values in the request body is invalid. One 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
409Error
Invoice Actions | Vercel API