Before using this API please create API provider
Call the function
paywall.makeRequest()
or paywall.makeStreamRequest()
to make request to created API provider. In search parameters specify paywall_id and test_mode (1 for testing, 0 for live mode).If the user is not authenticated, these methods return an error:
access-denied
or Unauthorized
.If users' queries have run out, it will return a
not-enough-queries
error.