From df0e357f299572e4e652c2439242c3d2238a00f4 Mon Sep 17 00:00:00 2001 From: Kush <3647166+kushsharma@users.noreply.github.com> Date: Fri, 5 Apr 2024 10:37:39 +0530 Subject: [PATCH] feat(frontier): allow coupon codes in delegated checkout (#352) Signed-off-by: Kush Sharma --- raystack/frontier/v1beta1/models.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raystack/frontier/v1beta1/models.proto b/raystack/frontier/v1beta1/models.proto index 21eddfb3..a2486ae9 100644 --- a/raystack/frontier/v1beta1/models.proto +++ b/raystack/frontier/v1beta1/models.proto @@ -860,6 +860,11 @@ message CheckoutSubscriptionBody { string plan = 1; bool skip_trial = 2; bool cancel_after_trial = 3; + + // provider_coupon_id is the coupon code that will be applied to the subscription + // generated by the billing provider, this will be deprecated once coupons are + // managed by the platform + string provider_coupon_id = 4; } message CheckoutProductBody {