New updates and improvements to Lago.

Coupons limited to specific metrics

We have added a new option to the coupon settings: it is now possible to limit the application scope of a coupon to specific billable metrics.

By default, coupons apply to all charges but when creating a new coupon, you can define the list of billable metrics to which the coupon applies.

This feature is related to the <text-code>billable_metric_codes<text-code> attribute of the <text-code>coupon<text-code> object (see API documentation).

Please refer to the guide for more information on coupons.

Coupon limitations