Manage Funds


Get Balance

If you're loading a remote script, be sure to set the Access-Control-Allow-Origin header to *. This is required

<?php
$curl = curl_init();
// Set some options - we are passing in a useragent too here
curl_setopt_array($curl, [
    CURLOPT_RETURNTRANSFER => 1,
    CURLOPT_URL => 'https://api.atomtask.com/OpenTask/',
	CURLOPT_POST => 1,
    CURLOPT_POSTFIELDS =>$json 
]);
// Send the request & save response to $resp
$resp = curl_exec($curl);
// Close request to clear up some resources
print $resp;
curl_close($curl);

Add Funds

If you're loading a remote script, be sure to set the Access-Control-Allow-Origin header to *. This is required



<?php

$curl = curl_init();
// Set some options - we are passing in a useragent too here
curl_setopt_array($curl, [
    CURLOPT_RETURNTRANSFER => 1,
    CURLOPT_URL => 'https://api.atomtask.com/OpenTask/',
	CURLOPT_POST => 1,
    CURLOPT_POSTFIELDS =>$json 
]);
// Send the request & save response to $resp
$resp = curl_exec($curl);
// Close request to clear up some resources
print $resp;
curl_close($curl);