line-pay-sdk-go
line-pay-sdk-go is a Go client library for accessing the LINE Pay API.
Usage
import "github.com/gotokatsuya/line-pay-sdk-go/linepay"
func main() {
pay, err := linepay.New("<channel id>", "<channel secret>")
...
}
Sandbox
Create sandbox in here.
func main() {
pay, err := linepay.New("<channel id>", "<channel secret>", linepay.WithSandbox())
...
}
License
This library is distributed under the MIT license.