API Keys

This section describes what API keys are and how to retrieve them.

Qwid authenticates all your API requests using your account’s auto generated API keys. Only the correct API keys inclusion will result to a successful api request call, either way you will encounter an error response.

{
    "status": false,
    "message": "Invalid/Unauthorised Secret and Public Token Access"
}

Also, while generating your API keys, the IP address of your server is required. With this, it help make your API keys request pointed to your IP address. If any request is made using your API keys without the requesting IP address linked to the API Keys, Qwid returns error

{
    "status": false,
    "message": "Invalid IP Address",
    "presentRequestIP": "127.0.0.1"
}

All API requests exist in either test or live mode, and one mode cannot be manipulated by data in the other. To get your live and test API keys, you need to have a Qwid Partner Account.

To create an account, Click Sandbox account or Production Account

There are also two types of API keys: public and secret key

Both Public and Secret API keys are meant to be provided in the header of all your request call. They are both needed to authenticate your request call to Qwid, along with a request calling from the IP Address linked.

Obtaining your API Keys

Your API keys can be generated in your Qwid Partner Dashboard by navigating to Settings - > API KEY & DOC.