title: Why does adding items make Paypal Checkout return an error?
body: <p>I am trying to create a PayPal order using the Javascript SDK. I am unable to add items without PayPal returning a non-descriptive 400 error.</p>
  
  <p>This markup works fine:</p>
  
  <pre><code>return actions.order.create({
    purchase_units: [{
      description: "Stuff",
      amount: {
        value: '57.49',
        currency_code: "CAD",
      },
    }],
    application_context: {
      brand_name: "MyBusiness",
      shipping_preference: 'NO_SHIPPING'
    }
  });
  </code></pre>
  
  <p>This markup, where I add the amount breakdown and items doesn't:</p>
  
  <pre><code>return actions.order.create({
    purchase_units: [{
      description: "Stuff",
      amount: {
        value: '57.49',
        currency_code: "CAD",
        breakdown: {
          item_total: '57.49',
        }
      },
      items: [{
        unit_amount: '57.49',
        quantity: '1',
        name: "item 1",
      }],
    }],
    application_context: {
      brand_name: "MyBusiness",
      shipping_preference: 'NO_SHIPPING'
    }
  });
  </code></pre>
  
  <p>I am following this documentation:</p>
  
  <p><a href="https://developer.paypal.com/docs/api/orders/v2/#definition-purchase_unit_request" rel="nofollow noreferrer">https://developer.paypal.com/docs/api/orders/v2/#definition-purchase_unit_request</a></p>
  
  <p><a href="https://developer.paypal.com/docs/api/orders/v2/#definition-item" rel="nofollow noreferrer">https://developer.paypal.com/docs/api/orders/v2/#definition-item</a></p>
  
  <p>I'm guessing the way I added the breakdown doesn't work. But the spec implies that it is amount -> breakdown.</p>