title: PayPal recurring payments: How to add initial payment.
body: <p>I have been using implementing a function that use can do recurring payments using PayPal with this request (copied from <a href="https://developer.paypal.com/webapps/developer/docs/api/#create-a-plan" rel="nofollow">https://developer.paypal.com/webapps/developer/docs/api/#create-a-plan</a>) </p>
  
  <pre><code>curl -v POST https://api.sandbox.paypal.com/v1/payments/billing-plans \
  -H 'Content-Type:application/json' \
  -H 'Authorization: Bearer &lt;Access-Token&gt;' \
  -d '{
      "name": "T-Shirt of the Month Club Plan",
      "description": "Template creation.",
      "type": "fixed",
      "payment_definitions": [
          {
              "name": "Regular Payments",
              "type": "REGULAR",
              "frequency": "MONTH",
              "frequency_interval": "2",
              "amount": {
                  "value": "100",
                  "currency": "USD"
              },
              "cycles": "12",
              "charge_models": [
                  {
                      "type": "SHIPPING",
                      "amount": {
                          "value": "10",
                          "currency": "USD"
                      }
                  },
                  {
                      "type": "TAX",
                      "amount": {
                          "value": "12",
                          "currency": "USD"
                      }
                  }
              ]
          }
      ],
      "merchant_preferences": {
          "setup_fee": {
              "value": "1",
              "currency": "USD"
          },
          "return_url": "http://www.return.com",
          "cancel_url": "http://www.cancel.com",
          "auto_bill_amount": "YES",
          "initial_fail_amount_action": "CONTINUE",
          "max_fail_attempts": "0"
      }
  }'
  </code></pre>
  
  <p>the above request will create regular recurring payment. I want to add initial payment to the request above. I found a way with Classic API as in <a href="https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPRecurringPayments/" rel="nofollow">https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPRecurringPayments/</a> Specifying an Initial Payment part. However I could not find a way to add initial payment using REST API. Thanks!</p>