This page provides detailed information about the credentials required for secure payments integration using our API. For more comprehensive documentation, please refer to our API Documentation.
Required Credentials
- API Key: A unique identifier used to authenticate requests to the secure payment API.
- Secret Key: A confidential key used in conjunction with the API key for additional security.
- Merchant ID: Unique ID assigned to your business by the payment gateway.
How to Obtain Credentials
To obtain your credentials, follow these steps:
- Log in to your account on Merchant Dashboard.
- Navigate to the "API Settings" section.
- Click on "Generate Credentials".
Usage Example
Below is a sample code snippet demonstrating how to use the credentials in an API request:
const apiKey = 'YOUR_API_KEY';
const secretKey = 'YOUR_SECRET_KEY';
const merchantId = 'YOUR_MERCHANT_ID';
// Your API request code here
Security Best Practices
- Store your credentials securely and never share them with unauthorized parties.
- Regularly rotate your credentials to minimize the risk of unauthorized access.
Secure Payments
For further guidance on secure payments, visit our Security Best Practices.