title: Balanced Payments Account debit not working with Node.js
body: <p>I am trying to do an account credit request with Node.js using the following example. But it fails even when I use the sample code without any change.
  <a href="https://docs.balancedpayments.com/current/overview.html?language=node#charge-a-credit-card" rel="nofollow">https://docs.balancedpayments.com/current/overview.html?language=node#charge-a-credit-card</a></p>
  
  <pre><code>balanced.Accounts.get("/v1/marketplaces/TEST-MP60c88vnFHzgzEyzGcbMKic/accounts/AC1a77avbmVTUt8pciwDlMJW/debits", function(err, result) {
  var user = balanced.Accounts.nbalanced(result);
  user.Debits.create({ amount: 1000 }, function(err, result) {
  /* . . . */
  });
  </code></pre>
  
  <p>});</p>
  
  <p>It fails after this statement is executed...</p>
  
  <pre><code>var user = balanced.Accounts.nbalanced(result);
  </code></pre>
  
  <p>The error message I get is...</p>
  
  <blockquote>
    <p>The following properties are required and are missing or null (id).</p>
  </blockquote>
  
  <p>Here is the full stack trace...</p>
  
  <pre><code>C:\Users\Nabeel\GroupFund\node\node_modules\balanced-official\lib\nbalanced\validate.js:112
  if (!callback) throw error;
                       ^
  The following properties are required and are missing or null (id).
  </code></pre>