stremovskyy / go-ipay

go-ipay is GO client for the iPay.ua Payment Gate API

Home Page:https://ipay.ua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GO-iPay - iPay.ua Payment Gate Client

GoDoc

go-ipay is GO client for the iPay.ua Payment Gate API.

Jump to

Installation

go get github.com/stremovskyy/go-ipay

Usage

Create client

create a new iPay.ua client with default options

client := go_ipay.NewDefaultClient()

Using a merchant account

Merchant account is a structure that contains all the necessary information for the client to work with the iPay.ua API.

	merchant := &go_ipay.Merchant{
		Name:        private.MerchantName,
		MerchantID:  private.MerchantID,
		MerchantKey: private.MerchantKey,
	}

API examples

See examples for more examples.

License

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Author

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

TODO

  • Add tests
  • Add more API methods

About

go-ipay is GO client for the iPay.ua Payment Gate API

https://ipay.ua

License:MIT License


Languages

Language:Go 100.0%