zooz alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view zooz alternatives based on common mentions on social networks and blogs.
-
go-openai
OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go -
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
twitter-scraper
Scrape the Twitter frontend API without authentication with Golang. -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Instant Messaging API only) -
clarifai
DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc -
go-trending
Go library for accessing trending repositories and developers at Github. -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
google-play-scraper
Golang scraper to get data from Google Play Store
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of zooz or a related project?
Popular Comparisons
README
Zooz API client

This repo contains Zooz API client written in Go.
Zooz API documentation: https://developers.paymentsos.com/docs/api
Before using this client you need to register and configure Zooz account: https://developers.paymentsos.com/docs/quick-start.html
How to install
Download package:
go get github.com/gojuno/go-zooz
Client uses github.com/pkg/errors
, so you may need to download this package as well:
go get github.com/pkg/errors
How to use
To init client you will need private_key
and app_id
which you can get from your Zooz account profile.
import "github.com/gojuno/go-zooz"
...
// Init client
client := zooz.New(
zooz.OptAppID("com.yourhost.go_client"),
zooz.OptPrivateKey("a630518c-22da-4eaa-bb39-502ad7832030"),
)
// Create new customer
customer, customerErr := client.Customer().New(
context.Background(),
"customer_idempotency_key",
&zooz.CustomerParams{
CustomerReference: "1234",
FirstName: "John",
LastName: "Doe",
},
)
// Create new payment method
paymentMethod, paymentMethodErr := client.PaymentMethod().New(
context.Background(),
"payment_method_idempotency_key",
customer.ID,
"918a917e-4cf9-4303-949c-d0cd7ff7f619",
)
// Delete customer
deleteCustomerErr := client.Customer().Delete(context.Background(), customer.ID)
Custom HTTP client
By default Zooz client uses http.DefaultClient
. You can set custom HTTP client using zooz.OptHTTPClient
option:
httpClient := &http.Client{
Timeout: time.Minute,
}
client := zooz.New(
zooz.OptAppID("com.yourhost.go_client"),
zooz.OptPrivateKey("a630518c-22da-4eaa-bb39-502ad7832030"),
zooz.OptHTTPClient(httpClient),
)
You can use any HTTP client, implementing zooz.HTTPClient
interface with method Do(r *http.Request) (*http.Response, error)
. Built-in net/http
client implements it, of course.
Test/live environment
Zooz supports test and live environment. Environment is defined by x-payments-os-env
request header.
By default, client sends test
value. You can redefine this value to live
using zooz.OptEnv(zooz.EnvLive)
option.
client := zooz.New(
zooz.OptAppID("com.yourhost.go_client"),
zooz.OptPrivateKey("a630518c-22da-4eaa-bb39-502ad7832030"),
zooz.OptEnv(zooz.EnvLive),
)
Tokens
API methods for Tokens are not implemented in this client, because they are supposed to be used on client-side, not server-side. See example here: https://developers.paymentsos.com/docs/collecting-payment-details.html