Skip to content

SleepyMorpheus/payrexxsdk

Repository files navigation

Go SDK for Payrexx REST API

Usage

import "github.com/SleepyMorpheus/payrexxsdk"

func main() {
    // Create a payrexx client instance
    var client, _ = payrexxsdk.NewClient("<INSTANCE_NAME>", "<SECRET>", payrexxsdk.APIBaseDefault)
    
    // Fetch a gateway
    gateway, err = client.GatewayRetrieve("1")
    if err != nil {
        log.Println(err)
        return
    }

    // ... use gateway
}

Missing Endpoints

In case an endpoint is missing, you can use the built-in functions of the sdk to perform a request. NewClient -> NewRequest -> Send

About

Golang client for Payrexx REST API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages