/gmo-aozora-api-nodejs

Node.js SDK for GMO Aozora Net Bank, Ltd.

Primary LanguageJavaScriptMIT LicenseMIT

GMO Aozora Net Bank Open Api Node.js SDK

About

GMOあおぞらネット銀行について

https://gmo-aozora.com/

GMOあおぞらネット銀行 API開発者ポータルについて

https://api.gmo-aozora.com/ganb/developer/

Version

1.0.0

Requirements

Node 10+

Installation

  • clone the repository from Github in your project folder\
    git clone git@github.com:gmoaozora-sys/gmo-aozora-api-nodejs.git
    
    https://github.com/gmoaozora/gmo-aozora-api-nodejs
  • With the terminal, go to the folder and run\
    cd gmo-aozora-api-nodejs
    npm install
    

Getting started

Enviroment

Add the configuration below into your config file

  • stg

    conf.json

    {
        "AUTH_BASE_URL": "https://stg-api.gmo-aozora.com/ganb/api/auth/v1",
        "JWT_ISSUER": "https://stg-api.gmo-aozora.com/",
        "AUTH_PATH": "/authorization",
        "TOKEN_PATH": "/token",
        "SALT": "PleaseDefineYourself"
    }

    ApiClient.js - Personal

        this.basePath = 'https://stg-api.gmo-aozora.com/ganb/api/personal/v1'.replace(/\/+$/, '');

    ApiClient.js - Corporate

        this.basePath = 'https://stg-api.gmo-aozora.com/ganb/api/corporation/v1'.replace(/\/+$/, '');

    ApiClient.js - Webhook

        this.basePath = 'https://stg-api.gmo-aozora.com/ganb/api/webhook/v1'.replace(/\/+$/, '');
  • prod

    conf.json

    {
        "AUTH_BASE_URL": "https://api.gmo-aozora.com/ganb/api/auth/v1",
        "JWT_ISSUER": "https://api.gmo-aozora.com/",
        "AUTH_PATH": "/authorization",
        "TOKEN_PATH": "/token",
        "SALT": "PleaseDefineYourself"
    }

    ApiClient.js - Personal

        this.basePath = 'https://api.gmo-aozora.com/ganb/api/personal/v1'.replace(/\/+$/, '');

    ApiClient.js - Corporate

        this.basePath = 'https://api.gmo-aozora.com/ganb/api/corporation/v1'.replace(/\/+$/, '');

    ApiClient.js - Webhook

        this.basePath = 'https://api.gmo-aozora.com/ganb/api/webhook/v1'.replace(/\/+$/, '');

Documentation

Autor

GMO Aozora Net Bank, Ltd. (open-api@gmo-aozora.com)

Licence

MIT