Go SDK | Moov Documentation
Installation
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.
dexport MOOV_PUBLIC_KEY="public key here"
dexport 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
)