Skip to content

Instantly share code, notes, and snippets.

@abisuq
abisuq / payjs.api.js
Last active December 28, 2017 06:54
NODE_KOA_PAYJS_DEMO
const uuid = require('uuid')
const md5 = require('md5')
const qs = require('query-string')
const Router = require('koa-router')
const apiRoute = new Router()
const NOTIFY_URL = ''
const CALLBACK_URL = ''
const MCHID = '🆔'
const KEY = '🗝'