Manage API Keys
Authentication
SDK Authentication Setup
import { SuiPayClient } from '@suipay/api';
const client = new SuiPayClient({
apiKey: 'sk_your_api_key_here'
});API Key Format
sk_1234567890abcdef1234567890abcdefGetting Your API Key

Configuration Options
Basic Configuration
Environment Variables
Testing Authentication
User Access Control
Authentication Errors
Common Authentication Errors
Error
Description
Solution
Security Best Practices
1. Environment Variables
2. Separate Keys per Environment
3. Key Validation
4. Error Handling
Best Practices Summary
Last updated