title: INTERNAL_SERVICE_ERROR PayPal REST API https://api.paypal.com/v1/payments/payment
body: <p>Using "LIVE" credentials, I'm getting an INTERNAL_SERVICE_ERROR accepting a credit card payment, using this resource: <a href="https://api.paypal.com/v1/payments/payment" rel="nofollow">https://api.paypal.com/v1/payments/payment</a>.  Same error happens on the web and via cURL. NOTE: This does <strong>not</strong> happen in SANDBOX only LIVE.  See steps to recreate below.  For this post, I had to add a space in "http s" as I cannot submit more than 2 links.</p>
  
  <ol>
  <li><p>Get an OAuth token (substitute username/password in LIVE_USER_ID:LIVE_PASSWORD</p>
  
  <p>curl http s://api.paypal.com/v1/oauth2/token -H "Accept: application/json" -H  "Accept-Language: en_US" -u "LIVE_USER_ID:LIVE_PASSWORD" -d "grant_type=client_credentials"</p></li>
  <li><p>No problem getting a token using LIVE credentials.  Add the token to the following request to the resource:</p>
  
  <pre><code>curl -v http s://api.paypal.com/v1/payments/payment \
  </code></pre>
  
  <p>-H "Content-Type:application/json" \
  -H "Authorization:Bearer YK.GUHkGhBAQgGgGkilvHoL7DdE9SVq.IDl-mRwAZeM" \
  -d '{
    "intent": "sale",
    "payer": {
      "payment_method": "credit_card",
      "funding_instruments": [
        {
          "credit_card": {
            "number": "5500005555555559",
            "type": "mastercard",
            "expire_month": 12,
            "expire_year": 2018,
            "cvv2": 111,
            "first_name": "Joe",
            "last_name": "Shopper"
          }
        }
      ]
    },
    "transactions": [
      {
        "amount": {
          "total": "0.01",
          "currency": "USD"
        },
        "description": "This is the payment transaction description."
      }
    ]
  }'</p></li>
  </ol>
  
  <p>"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"http_s://developer.paypal.com/webapps/developer/docs/api/#INTERNAL_SERVICE_ERROR","debug_id":"525bfb7a6382a"}johnruffin:~ johnruffin$ 
  Thoughts???</p>