Whether generating Credentials for Test Environment or Live Environment, process is same for both, Live credentials will be generated from live dashboard while test credentials will be generated from test dashboard.
Log In to your PayKun Dashboard
‘Go to’ the Merchant Account under the ‘Payment Gateway’ section
Copy your Merchant ID which you will get by clicking on your profile picture
To Generate API Keys, go to the Setting
Then go to the Security Option.
Click on Generate API Key (web or device as per your platform) and download your Access Token and Encryption Key(API Secret Key).