-
Notifications
You must be signed in to change notification settings - Fork 848
Using Stripe Connect with node.js
James Padolsey edited this page Oct 23, 2013
·
1 revision
As of 2.1.0-rc2 stripe-node supports passing Stripe Connect access-tokens on a per request basis:
stripe.RESOURCE.METHOD([params...][, ACCESS_TOKEN][, callback]);For example:
stripe.customers.update(
yourCustomerId,
{ description: 'Updated description here' },
accessToken, // Gained from the Connect OAuth POST
function(err, updatedCustomer) {
// ...
}
);