Skip to main content
Answer

Problem with Google Play: Defer a Subscription API Call

  • September 8, 2025
  • 3 replies
  • 69 views

Forum|alt.badge.img+6

Hi Everyone,

I’m trying to give an existing subscriber a free month using RevenueCat’s “Google Play: Defer a Subscription” API (https://www.revenuecat.com/docs/api-v1#tag/transactions/operation/defer-a-google-subscription), but I keep getting "Subscription not found for subscriber" in the response.

I’m posting to this URL: https://api.revenuecat.com/v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/defer

I copied the product ID from the "product_id" field of the event data from when the user purchased the subscription, to make sure I was using the correct value.  I have tried it with the product ID as both plain text and URL-encoded.  The user ID contains only letters and numbers, so URI-encoding makes no difference there.

My POST body looks like this:

{
"expiry_time_ms": 1762620360000
}

I can’t figure out what I’m doing wrong.  Does anyone have any insight?

Best answer by jeffrey_bunn

Hi ​@Mike Davis! Sorry about the confusion here. Please use the Subscription ID for the Google Play product (i.e., your_subscription_id) rather than the full identifier, which includes the subscription ID and the base plan ID (i.e., your_subscription_id:your_base_plan). 

This post has been closed for comments

3 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • Answer
  • September 10, 2025

Hi ​@Mike Davis! Sorry about the confusion here. Please use the Subscription ID for the Google Play product (i.e., your_subscription_id) rather than the full identifier, which includes the subscription ID and the base plan ID (i.e., your_subscription_id:your_base_plan). 


Forum|alt.badge.img+6
  • Author
  • Dedicated Member
  • September 10, 2025

@jeffrey_bunn, that did the trick.  Thanks!

You might want to update the API docs, as this is not really clear from reading them.


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • September 10, 2025

@Mike Davis Glad to hear it! Right after I responded I started working on updating the API docs. The Product Identifier part of this endpoint will now say:

The identifier of the product belonging to the subscription that is being deferred. This can be found in RevenueCat's Product catalog -> {Product} -> Subscription Id.