To enable communication between your application and Transactpay, you'll need your API Keys. Transactpay authenticates every request your application makes with these keys. Generally, every account comes with two sets of API keys - public and secret API keys for Test and Live modes.
Your public keys are non-sensitive identifiers that can be used on the client-side of your application. By design, public keys cannot modify any part of your account besides initiating transactions for you.
Your secret keys, on the other hand, are to be kept secret and confidential. They are required for accessing any financial data and can be used to make any API call on your account.
Your secret keys should never be shared on any client-side code. Treat them like any other password. And, if for any reason you believe your secret key has been compromised, get in touch with us to generate a new one.
Obtaining your API Keys
Your API keys are always available on your dashboard. To find your API keys,
- Login to your dashboard.
- Navigate to Settings on the side menu.
- Go to the 'API Keys & Webhooks' tab on the Settings page. In the Transactpay API's section, you’d see both your Public and Secret keys.
You should always keep your API keys safe and protect your account.