gmo

Node.js client library for the GMO Payment Platform.

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.

  • https://npmjs.org/package/gmo
npm install gmo
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
 

Patches contributed by those people.