How to use the stripe.DEFAULT_HOST function in stripe

To help you get started, we’ve selected a few stripe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zeit / pkg / test / test-79-npm / stripe / stripe.js View on Github external
'use strict';

var stripe = require('stripe');
if (stripe.DEFAULT_HOST === 'api.stripe.com') {
  console.log('ok');
}