title: Create a card token in Stripe via API POSTMAN
body: <p>I am creating some API for stripe payment. I try to create API to getting card token for payment. below is my code </p>
  
  <p><strong>Postman Data</strong></p>
  
  <pre><code>Request Method: POST,
  Request URL: https://api.stripe.com/v1/tokens
  </code></pre>
  
  <p><strong>Headers Data</strong></p>
  
  <pre><code>Content-Type:application/x-www-form-urlencoded
  Authorization:Bearer SECRET_KEY
  </code></pre>
  
  <p><strong>Body</strong> 
  x-www-form-urlencoded</p>
  
  <pre><code>card:{"exp_month":12,"exp_year":2020,"number":'4242424242424242',"cvc":'123'}
  </code></pre>
  
  <p><strong>Response (Output)</strong></p>
  
  <pre><code>{
      "error": {
          "message": "You must pass full card details to create a token.",
          "type": "invalid_request_error"
      }
  }
  </code></pre>
  
  <p>Postman screenshots:</p>
  
  <p><strong>Headers</strong></p>
  
  <p><a href="https://i.stack.imgur.com/JwbXA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JwbXA.png" alt="enter image description here"></a> </p>
  
  <p><strong>Body</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/2O1NZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2O1NZ.png" alt="enter image description here"></a></p>