Answers for "get stripe create account id"

0

get stripe create account id

const stripe = require('stripe')('{{PLATFORM_SECRET_KEY}}');
const customer = await stripe.customers.create(
  {email: '[email protected]'},
  {stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}'}
);

// Fetching an account just needs the ID as a parameter
const account = await stripe.accounts.retrieve('{{CONNECTED_STRIPE_ACCOUNT_ID}}');
Posted by: Guest on August-03-2021

Code answers related to "get stripe create account id"

Browse Popular Code Answers by Language