GMOあおぞらネット銀行について
GMOあおぞらネット銀行 API開発者ポータルについて
https://api.gmo-aozora.com/ganb/developer/
1.0.0
Golang 1.8+
-
get the repository from Github
$ go get github.com/gmoaozora/gmo-aozora-api-go
-
get a package with the following command
$ go get github.com/antihax/optional
Add the configuration below into your config file
vi conf.json
-
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" }
BasePath: "https://stg-api.gmo-aozora.com/ganb/api/personal/v1",
BasePath: "https://stg-api.gmo-aozora.com/ganb/api/corporation/v1",
BasePath: "https://stg-api.gmo-aozora.com/ganb/api/webhooks/v1",
-
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" }
BasePath: "https://api.gmo-aozora.com/ganb/api/personal/v1",
BasePath: "https://api.gmo-aozora.com/ganb/api/corporation/v1",
BasePath: "https://api.gmo-aozora.com/ganb/api/webhooks/v1",
GMO Aozora Net Bank, Ltd. ([email protected])