fluent-interface-stripe
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

THIS PROJECT IS CURRENTLY A WORK IN PROGRESS, VERY LIMITED FEATURES HAVE BEEN IMPLEMENTED


Fluent Interface Stripe

A TypeScript wrapper of the stripe wrapper of the stripe API following the Fluent Interface design pattern. Currently a work in progress.

Getting Started

import { Stripe, Charge } from './stripe-wrapper/index';

// First initialise Stripe
let stripe = Stripe('sk_test_...');

// Then create the charge
let charge = new Charge('tok_visa');
charge.amount(1000)
      .currency('usd')
      .description('Example')
      .process();

Features

Currently implemented features:

  • [x] Charges
  • [ ] Customers
  • [ ] Invoices
  • [ ] Orders
  • [ ] Refunds

Readme

Keywords

Package Sidebar

Install

npm i fluent-interface-stripe

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • bennetthardwick