🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/lapusta/moov-go

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/lapusta/moov-go

v0.0.0-20240728183238-6ccbc40d5a3c
Version published
Created

Moov Logo

GoDoc Go Report Card Apache 2 License X

Moov - Go Client

The official Go client for the Moov payments API.

Installation

import (
	"github.com/lapusta/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
)

Examples Usage

Checkout the examples exist for ach, card acquiring, debit push/pull, and rtp.

License

Apache License 2.0 - See LICENSE for details.

FAQs

Package last updated on 28 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts