Skip to content

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

License

Notifications You must be signed in to change notification settings

stremovskyy/go-ipay

Repository files navigation

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

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