Skip to main content
The Zentra Go SDK provides convenient access to the Zentra API from Go applications.
The reviewed public HTTP surface for SDK integrations today is transfers, webhooks, virtual accounts, payments, cards, and tenant-enabled identity. Customers, wallets, and other higher-level helpers remain compatibility or draft surfaces unless your environment explicitly enables them.

Configuration

Initialize the client with your API key:
For custom timeouts, retries, or a sandbox base URL:

Resources

Start new integrations from the reviewed resources first:
  • client.Transfers: Bank transfers
  • client.Payments: Reviewed public charges, refunds, and saved payment tokens
  • client.VirtualAccounts: Virtual bank accounts
  • client.Webhooks: Webhook handling
Compatibility helpers such as client.Customers, client.Cards, client.Identity, and client.Wallets may still exist in the package, but they should not be your default reviewed public API path unless your tenant explicitly enables them.

Examples

Create a Transfer

Create Charge

Verify Webhook Signature

Error Handling

The SDK returns typed errors:

Pagination

Iterate through paginated reviewed resources:

Source Code

GitHub Repo

View source code

pkg.go.dev

Documentation