The official Go client for the Moov payments API.
import (
"github.com/moovfinancial/moov-go/pkg/moov"
)
This SDK requires an API key. To generate an API login to the Moov Dashboard and follow the following instructions on API Keys. If you have not done so already, use the Moov Dashboard to create an account.
Note
Note that API Keys for Sandbox and Production are different keys.
export MOOV_PUBLIC_KEY="public key here"
export MOOV_SECRET_KEY="secret key here"
In your Go program, create a new Moov client initiated with your public and secret keys.
mc, err := moov.NewClient(
moov.WithCredentials(moov.CredentialsFromEnv()), // optional, default is to read from environment
)
Checkout the examples exist for ach, card acquiring, debit push/pull, and rtp.
Apache License 2.0 - See LICENSE for details.