gmo

0.0.2 • Public • Published

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.

/gmo/

    Package Sidebar

    Install

    npm i gmo

    Weekly Downloads

    5

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • tatsuokaniwa