Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview
On this page

Go SDK

Use the generated Go SDK for the Vortex Payments API.

Go SDK

The Go SDK is generated from the Vortex Payments OpenAPI contract.

go get github.com/vortexnyc/vortex-go
import (
	"context"
	"os"

	vortex "github.com/vortexnyc/vortex-go"
)

// vp_test_ key = sandbox; vp_live_ key = production.
// Point at the sandbox host while you build and test.
cfg := vortex.NewConfiguration()
cfg.Host = "api.sandbox.vortex.nyc"
cfg.Scheme = "https"
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("VORTEX_API_KEY"))

client := vortex.NewAPIClient(cfg)
_ = context.Background()

Local source

  • Generated package: sdks/go
  • Module path: github.com/vortexnyc/vortex-go
  • Generator: OpenAPI Generator

Regenerate with:

pnpm run sdk:generate

Last updated on September 24, 2026

Was this page helpful?