API Tokens
  • 11 Oct 2024
  • PDF

API Tokens

  • PDF

Article summary

⚠️ The pawaPay Dashboard Docs have moved home ⚠️

Visit our new and improved Docs Hub here: docs.pawapay.io, and learn about ‘API tokens’ here.

The pawaPay Merchant API can only be used with an authentication token. You can read more about how this token can be used to access our API from our API docs.

This functionality is available to users with the Technical Administration role. Read more about User roles.

Generating an API token

Press the "Generate Token" button to generate an API token. You can have at most 2 active API tokens at a time.

You can use the "Copy to clipboard" button to easily copy the API token.

Please note!

  • Store your token safely as pawaPay does not store your token after generating it for security reasons.

  • You need to configure your Callback URLs to be able to generate API tokens.

Active API tokens

Your active API tokens are listed together with the information about who generated them, when they were generated and the Token ID. Note that the Token ID, is not usable as the token, but only used for identifying a specific token, when contacting our support team.

Revoking tokens

If you need to revoke an API token, you can press the "Revoke" button which is found under the "Actions" column.

Please note!

Revoking an API token will immediately stop all payments that use the given token to authenticate API calls!

Signed requests

You can enable pawaPay to only accept signed requests for financial calls. You will need to provide us the public key of the key pair you aresigning your requests with.

Accepted algorithms

We accept 4 kinds of encryption algorithims:

Adding a public key

You can add your public key by navigating to the Security tab and pressing on “Add public key”

You will then be presented a window where you can:

  1. Name your key

  2. Add the key

  3. Choose if you wish to enable the feature by adding this key or not

Please note!

You can choose to either add a key alone or add a key and enable the feature.

After successfully adding a key you will be able to view and remove it.

You can also switch this feature on and off by using this slider. Switching the feature off will not remove any existing keys.

Signed callbacks

Enable to make pawaPay sign all callbacks. You can then verify those signatures when receiving the callback to ensure they have not been tampered with and are coming from pawaPay.

Read more about signed callbacks in our API docs.


Was this article helpful?