title: my server call v2/checkout/orders/ paypal sandbox return 404 Not Found
body: <p>1:  i used ios client create a order, get response as below</p>
  
  <p>CurrencyCode: USD</p>
  
  <p>Amount: 21.47</p>
  
  <p>Short Description: Hipster clothing</p>
  
  <p>Intent: sale</p>
  
  <p>Processable: Already processed</p>
  
  <p>Display: $21.47</p>
  
  <p>Confirmation: {</p>
  
  <pre><code>client =     {
  
      environment = sandbox;
  
      "paypal_sdk_version" = "2.18.1";
  
      platform = iOS;
  
      "product_name" = "PayPal iOS SDK";
  
  };
  
  response =     {
  
      "create_time" = "2019-12-16T12:12:48Z";
  
      id = "PAYID-LX3XJQI4U759055JE198303J";
  
      intent = sale;
  
      state = approved;
  
  };
  
  "response_type" = payment;
  </code></pre>
  
  <p>}</p>
  
  <p>Details: Subtotal: 12.98, Shipping: 5.99, Tax: 2.5</p>
  
  <p>Shipping Address: (null)</p>
  
  <p>Invoice Number: (null)</p>
  
  <p>Custom: (null)</p>
  
  <p>Soft Descriptor: (null)</p>
  
  <p>Payee email: (null)</p>
  
  <p>BN code: (null)</p>
  
  <p>Item: '{1|Old jeans with holes|4.99|USD|Hip-00037}'</p>
  
  <p>Item: '{1|Free rainbow patch|0.00|USD|Hip-00066}'</p>
  
  <p>Item: '{1|Long-sleeve plaid shirt (mustache not included)|7.99|USD|Hip-00291}'</p>
  
  <p>2:  i can see  transaction in  <a href="https://developer.paypal.com/developer/notifications/" rel="nofollow noreferrer">https://developer.paypal.com/developer/notifications/</a></p>
  
  <p>sb-g8ehg personal example</p>
  
  <p>Receipt for Your Payment to Doe John</p>
  
  <p>16 De[Removed. Phone #s not permitted]/td></p>
  
  <p>3:  my server side want to get payment details , but 404</p>
  
  <p>curl -v -X GET <a href="https://api.sandbox.paypal.com/v2/checkout/orders/PAYID-LX3XJQI4U759055JE198303J" rel="nofollow noreferrer">https://api.sandbox.paypal.com/v2/checkout/orders/PAYID-LX3XJQI4U759055JE198303J</a> -H "Content-Type: application/json" -H "Authorization: Bearer A21AAHMxaNfgH67r9uGcKMtCHHMo-VDQHf4WGBEZIbzEtBo7_bSMXArvTYGEUub_gT3s2_XRCJJNbgdXTd9mmZiANBs2URVUg"</p>
  
  <p>Note: Unnecessary use of -X or --request, GET is already inferred.</p>
  
  <ul>
  <li><p>Trying 173.0.82.78...</p></li>
  <li><p>TCP_NODELAY set</p></li>
  <li><p>Connected to api.sandbox.paypal.com (173.0.82.78) port 443 (#0)</p></li>
  <li><p>ALPN, offering h2</p></li>
  <li><p>ALPN, offering http/1.1</p></li>
  <li><p>Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH</p></li>
  <li><p>successfully set certificate verify locations:</p></li>
  <li><p>CAfile: /etc/ssl/cert.pem</p>
  
  <p>CApath: none</p></li>
  <li><p>TLSv1.2 (OUT), TLS handshake, Client hello (1):</p></li>
  <li><p>TLSv1.2 (IN), TLS handshake, Server hello (2):</p></li>
  <li><p>TLSv1.2 (IN), TLS handshake, Certificate (11):</p></li>
  <li><p>TLSv1.2 (IN), TLS handshake, Request CERT (13):</p></li>
  <li><p>TLSv1.2 (IN), TLS handshake, Server finished (14):</p></li>
  <li><p>TLSv1.2 (OUT), TLS handshake, Certificate (11):</p></li>
  <li><p>TLSv1.2 (OUT), TLS handshake, Client key exchange (16):</p></li>
  <li><p>TLSv1.2 (OUT), TLS change cipher, Client hello (1):</p></li>
  <li><p>TLSv1.2 (OUT), TLS handshake, Finished (20):</p></li>
  <li><p>TLSv1.2 (IN), TLS change cipher, Client hello (1):</p></li>
  <li><p>TLSv1.2 (IN), TLS handshake, Finished (20):</p></li>
  <li><p>SSL connection using TLSv1.2 / AES256-SHA256</p></li>
  <li><p>ALPN, server did not agree to a protocol</p></li>
  <li><p>Server certificate:</p></li>
  <li><p>subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api.sandbox.paypal.com</p></li>
  <li><p>start date: Aug 21 00:00:00 2018 GMT</p></li>
  <li><p>expire date: Aug 20 12:00:00 2020 GMT</p></li>
  <li><p>subjectAltName: host "api.sandbox.paypal.com" matched cert's "api.sandbox.paypal.com"</p></li>
  <li><p>issuer: C=US; O=DigiCert Inc; CN=DigiCert Global CA G2</p></li>
  <li><p>SSL certificate verify ok.</p></li>
  </ul>
  
  <blockquote>
    <p>GET /v2/checkout/orders/PAYID-LX3XJQI4U759055JE198303J HTTP/1.1</p>
    
    <p>Host: api.sandbox.paypal.com</p>
    
    <p>User-Agent: curl/7.54.0</p>
    
    <p>Accept: <em>/</em></p>
    
    <p>Content-Type: application/json</p>
    
    <p>Authorization: Bearer A21AAHMxaNfgH67r9uGcKMtCHHMo-VDQHf4WGBEZIbzEtBo7_bSMXArvTYGEUub_gT3s2_XRCJJNbgdXTd9mmZiANBs2URVUg</p>
  </blockquote>
  
  <p>></p>
  
  <p>&lt; HTTP/1.1 404 Not Found</p>
  
  <p>&lt; Cache-Control: max-age=0, no-cache, no-store, must-revalidate</p>
  
  <p>&lt; Content-Length: 385</p>
  
  <p>&lt; Content-Type: application/json</p>
  
  <p>&lt; Date: Mon, 16 De[Removed. Phone #s not permitted]GMT</p>
  
  <p>&lt; Paypal-Debug-Id: d59bbbad78a81</p>
  
  <p>&lt;</p>
  
  <ul>
  <li>Connection #0 to host api.sandbox.paypal.com left intact</li>
  </ul>
  
  <p>{"name":"RESOURCE_NOT_FOUND","details":[{"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist. Please check the resource ID and try again."}],"message":"The specified resource does not exist.","debug_id":"d59bbbad78a81","links":</p>