API authentication is the process of verifying the identity and permissions of an application making API requests. Payment gateways use authentication to ensure only authorized merchants can create payments.Method Description Use Case
API Key Static token identifying the merchant Simple identification
API Key + HMAC Key + signature for each request Secure payment APIs
OAuth 2.0 Token-based with scopes User-authorized access
JWT Self-contained signed tokens Dashboard/portal access API Key: Identifies your merchant account
API Secret: Used to generate signatures (never sent)
HMAC Signature: Proves request authenticity
Timestamp: Prevents replay attacks Feature API Key Only API Key + HMAC
Identity verification β β
Request integrity β β
Replay protection β β
Man-in-middle protection β β Never expose secrets: Keep API Secret server-side only
Use HTTPS: Always encrypt traffic
Rotate credentials: Generate new keys periodically
Monitor usage: Watch for unusual patterns HMAC Signature
Webhooks
Crypto Payment Gateway API Authentication Guide
API Reference
Common Authentication Methods
|--------|-------------|----------|
Pulse2Pay Authentication
Pulse2Pay uses API Key + HMAC Signature:
POST /api/v1/payment/create
X-API-Key: mk_live_abc123...
X-Signature: 5f4d3c2b1a...
X-Timestamp: 1705320000
Components
Why HMAC Over Simple API Keys?
|---------|--------------|----------------|