title: Paypal REST Api returning internal service error
body: <p>Im currently making paypal live on a website and am now at the executing payment part. Which is returning a 'Internal Service Error' This was working about 30 minutes ago but now has stopped.</p>
  
  <p>Heres my code</p>
  
  <blockquote>
    <blockquote>
      <p>$ch = curl_init();    </p>
    </blockquote>
    
    <p>$data = '{"payer_id": "'.$payerid.'"}'; curl_setopt($ch, CURLOPT_URL,
    "<a href="https://api.paypal.com/v1/payments/payment/" rel="nofollow">https://api.paypal.com/v1/payments/payment/</a>".$payref."/execute/");</p>
    
    <blockquote>
  <pre><code>            curl_setopt($ch, CURLOPT_POST, true);
              curl_setopt($ch, CURLOPT_POSTFIELDS, $data); 
              curl_setopt($ch, CURLOPT_HTTPHEADER, array(
              'Content-Type:application/json',
              "Authorization: Bearer " . $access_token)
              );
  
              $resultCurl = curl_exec($ch);
  </code></pre>
    </blockquote>
  </blockquote>
  
  <p>Can anybody tell me if theres anything wrong with this?</p>