Authentication
API authentication basics and best practices.
The API uses Bearer (Token) Authentication to authenticate any request. These tokens are JSON Web Tokens (JWT) which need to be created server side by your application.
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 application.
Server-side SDKs
By far the easiest way to create a JWT is with one of our server-side SDKs.
C# SDK
Make server-side calls with our C# SDK.
Go SDK
Make server-side calls with our Go SDK.
Java SDK
Make server-side calls with our Java SDK.
PHP SDK
Make server-side calls with our PHP SDK.
Python SDK
Make server-side calls with our Python SDK.
TypeScript SDK
Make server and client-side API calls with our TypeScript SDK.
Without SDKs
It is also possible to generate the JWT without our SDKs using any number of open source JWT libraries.