How to test the Graphql billing API in apps?

Hi @Srinivasa_Pradeep, are you getting the following error when you call AppSubscriptionCreate?

Apps without a public distribution cannot use the Billing API

If so, the following should fix it:

  1. Open up your app in the Partner admin
  2. Click on Distribution on the left side
  3. Choose Public distribution and click on Select

At that point you should be able to access the AppSubscriptionCreate mutation with your app, even though it’s not published on the app store yet.

1 Like