Create API Provider

Learn how to create an API provider and connect it to a paywall.
 
To create a new API Provider in dashboard:
  • Login into your account, for that click the Sign in button on the right-top corner.
  • Click the API Providers tab in left menu. The API Providers list page in dashboard provides an overview of all the API Providers that have been set up in your account along with their metrics. Then click the New API Provider button.
    • notion image
  • In the opened Paywalls / New API Provider page, enter the name: The name that identifies the API Provider throughout Dashboard.
  • Then choose Query price level. It will identify which query type needs to be charged when the user makes a request to this endpoint. You also need to choose the query price level when enabling tokenization on the paywall page.
  • Enter Endpoint url. See the API Provider documentation.
When requesting the API provider URL, you can dynamically pass other parameters such as request headers, request body, and additional pathname (added after the API provider URL). These will be added to the saved API provider settings. All these parameters will be sent to the endpoint provider.
  • Choose Request method. See the API Provider documentation.
  • Enter Request headers. See the API Provider documentation.
  • Enter Request body if needed. See the API Provider documentation.
  • Click the "Create" button when finish.
    • notion image
Now the API Provider is created. Click the Install button on the right-top corner and follow the opened instructions.
notion image
 
Read more: