Skip to main content
GET
/
api
/
v3
/
auth
/
api-key
/
secure
Generate API Key.
curl --request GET \
  --url https://preview.kotanipay.com/api/v3/auth/api-key/secure \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Api-key generated successfully",
  "data": {
    "key": "5f9b2c7b9c9d6b0017b4e6b1"
  }
}

Documentation Index

Fetch the complete documentation index at: https://manual.kotanipay.com/llms.txt

Use this file to discover all available pages before exploring further.

Generate an API key that can be used to authorize transactions and other API operations.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

success
boolean
Example:

true

message
string
Example:

"Api-key generated successfully"

data
object