gmo

Node.js client library for the GMO Payment Platform.

npm install gmo
4 downloads in the last week
8 downloads in the last month

GMO

GMO is a Node.js client library for the GMO Payment Platform, supporting the PG Multi Payment API, exec transactions, register users, and so on.

Installation

npm install gmo

Usage

gmo = require "gmo"

shopApi = new gmo.ShopAPI(
  host: "hoge.mul-pay.jp"
  shop_id: "shop_id"
  shop_pass: "shop_pass"
)

option =
  order_id: order_id
  job_cd: "AUTH"
  amount: "100"

shopApi.entryTran option , (err, res) ->
  if err
    console.log err
  if res
    console.log res

Contributors

Patches contributed by those people.

npm loves you