- Subscription fees which correspond to the plan’s base amount;
- Fixed charge fees which apply fixed recurring amounts defined by add-ons in plans;
- Charge fees which represent usage-based costs tied to billable metrics in plans and can be linked to a true-up fee;
- Add-on fees which appear as line items on one-off invoices;
- Credits which reflect the purchase of prepaid credits.
- Type;
- Amount;
- Currency; and
- Taxes.
Update fee payment status
The
payment_status of a fee can only be configured if lago_invoice_id is
null.pending, succeeded, failed, and refunded.
Note that payment_status is used to group fees with a succeeded status into a specific invoice if regroup_paid_fee is set to invoice. Outside of this process, the payment_status is for your internal use.
Delete a fee
The deletion of a fee can only be done if
lago_invoice_id is null.