Skip to content

Go SDK

Terminal window
go get github.com/nuez-app/go-sdk
import "github.com/nuez-app/go-sdk/nuez"
client := nuez.NewClient("nz_sk_live_YOUR_KEY_HERE")
transfer, err := client.Transfers.Create(ctx, nuez.TransferParams{
Amount: 5000,
Destination: "proveedor.empresa",
Description: "Invoice #42",
IdempotencyKey: "inv-2026-04-001",
})
if err != nil {
// handle error
}
fmt.Println(transfer.ID, transfer.Status)
balance, err := client.Balance.Get(ctx)
if err != nil {
// handle error
}
fmt.Printf("Balance: %.2f ARS\n", balance.Balance)
page, err := client.Transactions.List(ctx, nuez.ListParams{Limit: 20})
if err != nil {
// handle error
}
for _, tx := range page.Transactions {
fmt.Println(tx.ID, tx.Amount, tx.Status)
}