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