import { UpdateInvoiceRequest } from "@vercel/sdk/models/updateinvoiceop.js";
let value: UpdateInvoiceRequest = {
integrationConfigurationId: "<id>",
invoiceId: "<id>",
requestBody: {
action: "refund",
reason: "<value>",
total: "<value>",
},
};
Field | Type | Required | Description |
---|---|---|---|
integrationConfigurationId |
string | ✔️ | N/A |
invoiceId |
string | ✔️ | N/A |
requestBody |
models.UpdateInvoiceRequestBody | ✔️ | N/A |