LINE Pay API SDK for Go LINE Pay Developers Website
- Request API
- Confirm API
- Capture API (not test yet)
- Void API
- Refund API
- Payment Details API
- Check Payment Status API
- Check RegKey API
- Pay Preapproved API
- Expire RegKey API
go get -v github.com/chy168/line-pay-sdk-go
replace necessary information in data_test.go
, then you can go test
what you want to try.
there is a built in web server to perform confirm api by transaction (can be used as confirmURL)
go run examples/cmd/callback_server.go --channel-id=<YOUR_CHANNEL_ID> --channel-secret=<YOUR_CHANNEL_SECRET>
Apache 2.0