title: Is there a list of possible stripe failure messages ($charge['failure_message']) somewhere?
body: <p>Stripe uses a token system where it is created client side and charged server side.</p>
  
  <p>This question has nothing to do with the client side. The standard server side code is as follows:</p>
  
  <pre><code>require 'vendor/autoload.php';
  \Stripe\Stripe::setApiKey("sk_test_xdxZgi0OEHrL1oG15p3ypN88");
  $token = $_POST['stripeToken'];
  $charge = \Stripe\Charge::create([
      'amount' =&gt; 999,
      'currency' =&gt; 'usd',
      'description' =&gt; 'Example charge',
      'source' =&gt; $token,
  ]);
  </code></pre>
  
  <p>This creates <code>$charge</code> which has a long list of attributes documented <a href="https://stripe.com/docs/api#charges" rel="nofollow noreferrer">here</a>.</p>
  
  <p>The particular attribute I'm interested in is <a href="https://stripe.com/docs/api#charge_object-failure_message" rel="nofollow noreferrer">failure_message</a> (<code>$charge['failure_message']</code>). I'd like to see the full list of possible values it could contain. However, without trying to generate as many different types of failures as possible in the testing environment, I cannot find access to <em>any</em> messages. I have searched the API references, performed text searches on the library files for "failure_message" (four results, none helpful), googled "stripe" "failure_message" but I cannot find a single example of a failure message.</p>
  
  <p>This is important, because I would like to see if these messages meet an appropriate level of grammar and professionalism before deciding if I should pass them on to the customer directly or generate my own. Ideally, I'd like to read every possible message, but even reading a large number of them would be a nice compromise.</p>
  
  <p>Can anyone find a list anywhere? (Even if it's not the complete list)</p>