Skip to content

Libraries

The three families of Wajub packages, and which one your layer needs.

Every Wajub package wraps the same HTTP API. What separates them is where the code runs, and that is the only question you need to answer to pick one.

Where your code runs

Your layerThe packageKey it holds
A browser page@wajub/js, or @wajub/react, /vue, /svelteA session token
Your backendOne of seven server SDKsYour sk. secret key
A mobile appwajub_mobile, @wajub/react-native, com.wajub:wajub-mobile-composeA session token
A terminal or CI job@wajub/cliA restricted rk. key
A WordPress siteThe Wajub pluginConfigured in the admin

Most integrations use two of them: a server SDK to create the payment, and a browser or mobile package to collect it.

The server SDKs

Seven packages, the same eighteen resources, the same method names transposed into each language.

LanguagePackageRegistry
Node.js@wajub/nodenpm
PythonwajubPyPI
PHPwajub/wajub-phpPackagist
Gogithub.com/wajubhq/wajub-goGo modules
RubywajubRubyGems
Javacom.wajub:wajub-javaMaven Central
C#WajubNuGet

Versions, runtime floors and the constraints that eliminate an option are on SDKs & Libraries and Choose your SDK.

Start here

What did you think of this content?