Authentication

Payaza authenticates your API requests using your account's API keys, Add your Base 64 encoded API key in the Authorization header with the Payaza Prefix

Authorization: Payaza [Add-your-Base 64 encoded API key]

Sample

Authorization: Payaza UFo4748S0xJVkUtSJDS5RThDQzEtQjAzMS00RUNBLTgwOTctRUVCMjA5NzJENTY0

If you do not include your base 64 encoded key when making an API request or use one that is incorrect, we will return this error:

You can manage your API keys from your Payaza dashboard.

Payaza uses two types of API keys: Secret and Public

  • Secret Keys: should be kept confidential and only stored on your own servers. Your account’s secret API key can perform any API request and is used by us to authorize your API calls. If you believe your secret key has been compromised, you can log in to your dashboard to reset it.
  • Public Keys: Can be shared with your developers or trustworthy team members.

API requests exist in either test or live mode, one mode’s data cannot affect the other.

We have provided a toggle button to help you switch easily between both modes and an indicator to help identify what mode you are in.

Note

Only use the test API Key for test development purposes. Payments in test mode are not processed or settled.

Retrieving your API Keys

Your API keys are available on your dashboard. Follow the steps below to access them:

  • Login to your Payaza dashboard
  • Click on settings in the navigation
  • Click on API Key and Webhooks on the tab

Your API keys are available on your dashboard. Follow the steps below to access them:

Was this article helpful?
Contact support

Need help or want to ask questions, try connecting with our customer experience team