Typescript
import { Vercel } from "@vercel/sdk"; const vercel = new Vercel({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>", }); async function run() { await vercel.marketplace.updateInvoice({ integrationConfigurationId: "<id>", invoiceId: "<id>", requestBody: { action: "refund", reason: "<value>", total: "<value>", }, }); } run();
This response has no body data.
This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the Submit Invoice API.
Default authentication mechanism
refund
Refund reason.
The total amount to be refunded. Must be less than or equal to the total amount of the invoice.