All guides

SDK guide

Build crypto payment flows with the MakePay Go SDK

The MakePay Go SDK is for Go teams that want a dependency-free server-side integration for payment links, settings, checkout URLs, and webhooks.

Go SDK7 min readUpdated 2026-05-14

Go backends often run checkout APIs, billing workers, reconciliation jobs, and merchant-facing services. The MakePay Go SDK gives those systems a direct integration path without installing an ecommerce plugin.

Use it from trusted backend code only. MakePay API keys and webhook secrets should stay in server environments, private workers, or secret managers.

Where the SDK fits

Use the Go SDK when your product owns payment orchestration: creating links, attaching customer metadata, showing hosted checkout URLs, and reconciling signed webhooks.

For storefront platforms such as WooCommerce or Magento, the ready plugin is usually faster. For a custom Go service, the SDK is the cleaner fit.

Payment links from Go services

The SDK wraps MakePay API-key headers, JSON payloads, hosted checkout URL helpers, and settings calls using only the Go standard library.

That keeps payment-link creation consistent across HTTP handlers, queue workers, admin tools, and background reconciliation jobs.

Webhook safety

Never trust a payment status sent to a public route without verifying the MakePay signature. The SDK verifies the raw payload before your system updates an order.

Store transaction IDs and payment-link UIDs so webhook retries remain idempotent.

FAQ

Where is the Go SDK published?

The module is published as github.com/makecryptoio/makepay-go and indexed on pkg.go.dev.

Does the SDK need third-party Go dependencies?

No. The MakePay Go SDK uses the Go standard library only.