Create an API key
To sign a JWT, you’ll need to create a new API key. Please contact a Wpay representative to request API key generation. You can store the API key with your code or store it in a secure environment accessible to your app. Keys can also be provisioned and managed over the API. See Managing API keys to automate key provisioning at scale.Server-side SDKs
C# SDK
Make server-side calls with the C# SDK.
Go SDK
Make server-side calls with the Go SDK.
Java SDK
Make server-side calls with the Java SDK.
PHP SDK
Make server-side calls with the PHP SDK.
Python SDK
Make server-side calls with the Python SDK.
TypeScript SDK
Make server and client-side API calls with the TypeScript SDK.
Mobile SDKs
Swift SDK
A low-level, client-side Swift SDK for those looking to build their own
custom user experiences on Apple devices.
Kotlin SDK
A low-level, client-side Kotlin SDK for those looking to build their own
custom user experiences on Android
Embed for iOS SDK
A fully embedded drop-in UI for Apple devices with support for card,
Apple Pay, and other payment methods.
Embed for Android SDK
A fully embedded drop-in UI for Android devices with support for card,
Google Pay, and other payment methods.
Development tools
CLI
Create API tokens and checkout sessions with the command line interface tool.
Postman
Start exploring the API using the official Postman collection.
Without SDKs
It is also possible to generate the JWT without the SDKs using any number of open source JWT libraries.Troubleshoot a 401 response
If the API returns a401 Unauthorized response for a token signed with a valid API key, check
that you send the request to the host for the environment the key belongs to. The sandbox and
production environments have separate infrastructure, so a key created in one environment
doesn’t work in the other. See environments for the hostname of each
environment.