UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

24 lines 1.16 kB
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; /** Refund an invoice or a segment of a consolidated invoice. */ export interface RefundInvoice { /** The amount to be refunded in decimal format as a string. Example: "10.50". Must not exceed the remaining refundable balance of the payment. */ amount: string; /** A description that will be attached to the refund */ memo: string; /** The ID of the payment to be refunded */ paymentId: number; /** Flag that marks refund as external (no money is returned to the customer). Defaults to `false`. */ external?: boolean; /** If set to true, creates credit and applies it to an invoice. Defaults to `false`. */ applyCredit?: boolean; /** If `apply_credit` set to false and refunding full amount, if `void_invoice` set to true, invoice will be voided after refund. Defaults to `false`. */ voidInvoice?: boolean; [key: string]: unknown; } export declare const refundInvoiceSchema: Schema<RefundInvoice>; //# sourceMappingURL=refundInvoice.d.ts.map