title: Programmatically adding an email to a Stripe Charge
body: <p>I have the following piece of code handling POSTs from the form:</p>
  
  <pre><code>app.post('/:advertorial/payment', async (req, res) =&gt; {
    const advertorial = req.params.advertorial
    const stripeToken = req.body.stripeToken
  
    stripe.charges.create({
      amount: COSTS.RESTBETTER_DILATOR_PRICE,
      currency: 'usd',
      description: `Example charge for ${new Date()}`,
      source: stripeToken,
      receipt_email: req.body.result.token.email,
      metadata: {
        'customer_email': req.body.result.token.email
      }
    }).then(
      function (result) { res.send(JSON.stringify(result)) },
      function (err) { res.json(err) }
    )
  })
  </code></pre>
  
  <p>Interestingly, metadata is saved fine. According to the <a href="https://stripe.com/docs/api/charges/object" rel="nofollow noreferrer">documentation, <code>receipt_email</code> should be a field that I can include but in the resulting charge item in Stripe it is nowhere to be found</a></p>
  
  <p>On the other hand, the metadata piece seems to work:</p>
  
  <p><a href="https://i.stack.imgur.com/zxe2n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxe2n.png" alt="enter image description here"></a></p>
  
  <p>What am I missing here?</p>