Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stremovskyy/go-ipay
go-ipay is GO client for the iPay.ua Payment Gate API
https://github.com/stremovskyy/go-ipay
golang golang-library golang-package ipay ipay-api-library ipay-ua payment-gateway payment-integration
Last synced: 4 days ago
JSON representation
go-ipay is GO client for the iPay.ua Payment Gate API
- Host: GitHub
- URL: https://github.com/stremovskyy/go-ipay
- Owner: stremovskyy
- License: mit
- Created: 2024-03-25T10:02:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T06:05:43.000Z (about 1 month ago)
- Last Synced: 2024-10-17T17:49:58.775Z (29 days ago)
- Topics: golang, golang-library, golang-package, ipay, ipay-api-library, ipay-ua, payment-gateway, payment-integration
- Language: Go
- Homepage: https://ipay.ua
- Size: 112 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# GO-iPay - iPay.ua Payment Gate Client
[![GoDoc](https://godoc.org/github.com/stremovskyy/go-ipay?status.svg)](https://godoc.org/github.com/stremovskyy/go-ipay)
**go-ipay** is GO client for the iPay.ua Payment Gate API.
## Jump to
* [Installation](#Installation)
* [Usage](#Usage)
* [API examples](#API-examples)
* [License](#License)
* [Contributing](#Contributing)
* [Authors](#Authors)
* [Acknowledgments](#Acknowledgments)
* [TODO](#TODO)## Installation
```bash
go get github.com/stremovskyy/go-ipay
```## Usage
### Create client
create a new iPay.ua client with default options
```go
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.
```go
merchant := &go_ipay.Merchant{
Name: private.MerchantName,
MerchantID: private.MerchantID,
MerchantKey: private.MerchantKey,
}
```## API examples
See [examples](examples) for more examples.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
## Acknowledgments
- [GoDoc](https://godoc.org/github.com/stremovskyy/gofondy)
## Author
* **Anton Stremovskyy** - *Initial work* - [stremovskyy](https://github.com/stremovskyy)
### 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