Skip to main content
Question

Support Subscription API for subscirption data in sandbox in v2 API.

  • May 27, 2025
  • 1 reply
  • 10 views

Forum|alt.badge.img

Hello RevenueCat Team,

 

I am currently working on integrating the RevenueCat REST API v2 into our backend systems. During testing in the sandbox environment, I’ve encountered an issue where the /subscriptions endpoint returns an empty items array, even customer object has valid entitlements in Sandbox. This behavior is not limited to subscriptions integrated via Stripe like the post “REST v2 subscriptions empty in sandbox”; it also occurs with subscriptions made through StoreKit.

 

This issue has been previously discussed in the community before. However, the problem persists and significantly impacts our development workflow.

 

The inability to retrieve sandbox subscription data via the v2 API hinders our ability to manage and verify user subscription statuses during testing. Consequently, we are compelled to rely on the deprecated v1 API for this functionality, which is not ideal for maintaining a modern and efficient codebase.

 

We kindly request that the RevenueCat team consider extending support for sandbox subscription data in the v2 API’s /subscriptions endpoint. This enhancement would greatly facilitate testing and development processes, ensuring consistency across environments and reducing dependency on outdated API versions.

 

Additionally, if there are any current workarounds or best practices to retrieve sandbox subscription data using the v2 API, we would greatly appreciate it if you could share them. This information would be invaluable in helping us navigate this issue until a permanent solution is implemented.

 

Thank you for your attention to this matter. We look forward to your response and any updates regarding this feature request.

 

Best regards,

Haya

1 reply

Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • May 27, 2025

I would like to bring to your attention that the issue of empty subscriptions and entitlements fields in the sandbox environment is not limited to API v2. When using the API v1’s Get or Create Customer API, we are encountering the same problem: both subscriptions and entitlements return empty objects, even though the RevenueCat dashboard displays the correct entitlement information for the sandbox customer.

 

This inconsistency poses a significant challenge for us. We rely on these API responses to implement and test our plan-specific logic, such as distinguishing between Pro and Premium plans. The inability to retrieve accurate subscription and entitlement data in the sandbox environment hampers our ability to thoroughly test our implementations before deploying to production.

 

We kindly request that RevenueCat consider addressing this issue to ensure that both API v1 and v2 return consistent and accurate subscription and entitlement data in the sandbox environment. This would greatly enhance our testing capabilities and confidence in our implementations.

 

Thank you for your attention to this matter.

p.s. The attachments are current results in Revenuecat Dashboard and API response with v1 API.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings