Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

stripe subscription node js

var stripe = require('stripe')('sk_test_FceQdct2QZpFfQZC4Wx9hGeo00ghaTeqAc');

stripe.subscriptions.create(
  {
    customer: 'cus_HKZRMeUnGPOb66',
    items: [{price: 'gold'}],
  },
  function(err, subscription) {
    // asynchronously called
  }
);
Source by stripe.com #
 
PREVIOUS NEXT
Tagged: #stripe #subscription #node #js
ADD COMMENT
Topic
Name
2+3 =