title: How to update the amount on an existing Stripe charge using PHP?
body: <p>I am working with Stripe's auth and capture. Currently, the charge is $200 upon creating it. </p>
  
  <pre><code>$charge = \Stripe\Charge::create(array(
      "amount" =&gt; 20000,
      "currency" =&gt; "usd",
      "customer" =&gt; $custID, // obtained with Stripe.js
      "description" =&gt; "Charge for test@example.com",
      "capture" =&gt; false
  ));
  </code></pre>
  
  <p>But I want to change it to $100 upon capturing the charge. </p>
  
  <pre><code>$ch = \Stripe\Charge::retrieve("$chargeID");
  $ch-&gt;amount = 10000;
  $ch-&gt;save();
  $ch-&gt;capture();
  </code></pre>
  
  <p>This part is wrong:</p>
  
  <pre><code>$ch-&gt;amount = 10000;
  </code></pre>
  
  <p>How would I do this? I'm using PHP.</p>
  
  <p>This should be possible since Stripe's official article on auth and capture mentions it:
  <a href="https://support.stripe.com/questions/does-stripe-support-authorize-and-capture" rel="nofollow">https://support.stripe.com/questions/does-stripe-support-authorize-and-capture</a></p>