title: Paypal: Orders API vs Payments API, and finding better documentation
body: <p>I am completely lost among PayPal's API documentation. I have been working with the orders API and the PayPal Checkout SDK trying to set up payments for a project. In trying to decipher the Orders v2 API reference, for the use of making multiple captures towards a previously authorized total for an order, I found a bunch of what seemed to be more useful documentation discussing the Payments API instead. I'm having trouble understanding what the difference between the two are or which I should be using or for what.</p>
  <p>The <a href="https://developer.paypal.com/docs/api/orders/v2/" rel="noreferrer">Orders API Reference</a> says the following:</p>
  <blockquote>
  <p>An order represents a payment between two or more parties. Use the Orders API to create, update, retrieve, authorize, and capture orders.</p>
  </blockquote>
  <p>While the <a href="https://developer.paypal.com/docs/api/payments/v2/" rel="noreferrer">Payments API Reference</a> says this:</p>
  <blockquote>
  <p>Call the Payments API to authorize payments, capture authorized
  payments, refund payments that have already been captured, and show
  payment information. Use the Payments API in conjunction with the
  Orders API. For more information, see the PayPal Checkout Overview.</p>
  </blockquote>
  <p>They are both describing doing almost the exact same things and the Payments API says it should be used in conjunction with the Orders API without actually providing any guidance for how they should be used together. The &quot;Checkout Overview&quot; link given goes to the guide for Smart Buttons with the Orders API and doesn't actually ever mention the Payments API.</p>
  <p>So my main questions are as follows:</p>
  <ul>
  <li>What is the difference between the two APIs?</li>
  <li>Which API do I need to use to support multiple captures? It seems like Payments is the only one which supports multiple captures but I already have infrastructure in place using only the Orders API to create an <code>intent=AUTHORIZE</code> transaction, have the <code>order_id</code> sent to the client so that PayPal can be popped up and the order authorized, and a webhook to receive the notification for that authorization. Can I now use the Payments API just to capture from that? Do I even need to? I can't find anything related to multiple captures in the Orders documentation.</li>
  <li>Is there any other good literature describing how all of the moving parts of the Checkout SDK and the Orders/Payments API fit together for a smaller scale project? PayPal's own guides are all over the place and do very little to describe how the different parts interact or when you need one API vs the other.</li>
  </ul>