Looking for an API public function that requests daily payment when it's eligible

Talk about scripts, analytics, API, software, and shrinkers here.
Forum rules
WARNING: Tools in this forum are being supported or maintained by the original author and not Adf.ly Staff. Proceed at your own risk.
Post Reply
MrAnssaien
Newbie
Posts: 1
Joined: Thu Dec 08, 2016 10:39 pm

Looking for an API public function that requests daily payment when it's eligible

Post by MrAnssaien » Thu Dec 08, 2016 11:23 pm

Hello everyone,

Can anyone provide an API public function for requesting a daily payment when it's eligible? I've combed through the entire API docs, but I couldn't find what I'm looking for there although One of AdFly support staff told me that it was there. All I could find was data like true(1) or false(), not a function that sends a request. Let's just say I want something like this:

Code: Select all

				if ($res_withdraw->data->instantPayEligible->instant_pay_eligible==true){
					if($res_withdraw->data->withdrawRequested==false){
				// REQUEST PAYMENT BUTTON
				echo "<a class='button' href='https://adf.ly/account/instantpay' target='_blank'>";
				}
				else {
				// CANCEL PAYMENT BUTTON
				echo "<a class='button' href='https://adf.ly/account/cancelinstantpay' target='_blank'>";
				}
																		}
The problem with the code above is, I have to be logged in to adfly via browser. So please, if there's a way to connect to adfly and request a daily payment via API, let me know. Thanks in advance!

Post Reply