flatmarket-service
v3.0.1
Published
The core Flatmarket service.
Downloads
5
Readme
flatmarket-service
The core Flatmarket service.
Installation
npm install flatmarket-service
Usage
var handleRequest = require('flatmarket-service')(yourStripeSecretKey, yourSchemaUri)
handleRequest(payload).then(function (res) {})
createHandler()
createHandler(stripeSecretKey: string, schemaUri: string): (payload: object) => Promise
The shape of the payload
object is specified in lib/validate.
License
See LICENSE.