Toyyibpay unnofficial client SDK written in Golang
go get github.com/qhkm/toyyibpay
import "github.com/qhkm/toyyibpay"
// Create client instance
client, err := toyyibpay.NewClient(secretKey)
params := toyyibpay.CreateBillParams{}
code, err := client.CreateSingleBill(params)
params := toyyibpay.RunBillParams{}
htmlTag, err := client.RunBill(rbp)
params := toyyibpay.CreateBillTransactions{}
resp, err := client.GetTransactions(params)
- Fork a repository
- Add/Fix something
- Check that tests are passing
- Create PR
- Unit tests: go test
- Integration tests: go test -tags=integration