Welcome to MediumPath's documentation page, an account is required in order to use any of our tools.Creating an app
An application is required to use any of our tools. Once you have created an app you will have an API KEY and a SECRET KEY (But before it you will have to wait until your site or app get approved), after that you will need to integrate our offerwall to your app.
You can create an app with following these steps
1. Login to your MediumPath Account
2. In Menu, click I'm a Publisher >> Submit new app
3. Complete the form field and click 'Submit'.
4. You can check your app/website status inside 'My apps' page by clicking I'm a Publisher >> My apps in the Menu
P.S. The API key, Secret key will not show until the app status be ApprovedOfferwall addons
Whenever a user completes an offer, we will make a call to the Postback URL that you indicated in your app attaching all the information that you will need to credit your users.
|user_id||This is the your website's user id.|
|transId||Unique identification code of the transaction made by your user on Mediumpath.|
|reward||The amount of your virtual currency to be credited to your user.|
|currency||The offer payout in your currency.|
|signature||MD5 hash that can be used to verify that the call has been made from our servers.|
|status||Determines whether to add or subtract the amount of the reward. "SUCCESS" is when the virtual currency should be added to the user and "ERROR" when it should be subtracted. This may be because the advertiser has canceled the user's transaction, either because he/she committed fraud or because it has been a mistake entering the data needed to complete the campaign.|
|userIp||The user's IP address who completed the action.|
|campaign_id||Id of the completed offer.|
|country||Country (ISO2 form) from the lead comes.|
Postback File Example
Replace [USER_ID] by the unique identifier code of the user in your site who is viewing the wall, and Replace [YOUR_SITE_API_KEY] with your API Key that you got when your site got approved.
You can freely change the width and height just as your needOfferwall SDKs