Skip to main content
Question

Revoking entitlements from Web App

  • November 13, 2024
  • 1 reply
  • 180 views

Forum|alt.badge.img+1

I’m using Laravel backend with revenue-cat for subscriptions, I could not revoke entitlement using an api call to https://api.revenuecat.com/v1/subscribers/{app_user_id}/entitlements/{entitlement_identifier}/revoke_promotionals as this returns 

{

    "code": 7242,

    "message": "No promotional entitlements to revoke for this subscriber."

}

How should I test unsubscribe function using revenueCat Api for revoking non-promotional entitlements

 

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • November 15, 2024

Hi ​@priyadharshini-a32700! You can’t revoke non-promotional entitlements, as the customer themselves have to cancel their subscription in Settings on their iOS devices (for Apple subscriptions) or in Google Play (for Google subscriptions). Google is a bit more flexible, in that they do allow developers to cancel/refund subscriptions on behalf of their customers which you can do via API or in the dashboard.