repositorypackage
0.0.3
Repository: https://github.com/walletera/payments.git
Documentation: pkg.go.dev
# README
Payments
The Payments service is part of the Walletera project. It exposes two APIs, an external one used by end user to create and consult withdrawals and deposits, and an internal one used by the payments gateways to create deposits and update the status of withdrawals.
What's on this repo
- the Payments API OpenApi specification
- a generated golang client for the Payments API
- TODO
How to generate the golang client
To generate the golang client code from the openapi specification you need to install ogen by executing in a terminal
go install -v github.com/ogen-go/ogen/cmd/ogen@latest
Once you have the generator installed open a terminal an execute the following command
go generate ./...