cURL
curl --request GET \ --url https://sandbox-api.kotanipay.com/api/v3/auth/api-key/secure \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Api-key generated successfully", "data": { "key": "5f9b2c7b9c9d6b0017b4e6b1" } }
This endpoint is used to generate an the API Key which can be used to authorize transactions and more
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
true
"Api-key generated successfully"
Show child attributes