Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

stripe typescript

npm install stripe @types/stripe

import * as Stripe from 'stripe';
const stripe = new Stripe('xxx_xxx_xxx');

//Or alternatively
import { resources } from 'stripe';
const stripeData = require('stripe')('xxx_xxx_xxx');
const customers = new resources.Customers(stripeData, null);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stripe #typescript
ADD COMMENT
Topic
Name
1+3 =