API Documentation
Doozy Exchange API
Integrate with our U.S. Virgin Islands licensed exchange. Connect your applications and websites to our professional trading platform.
Quick Start
Get started with Doozy Exchange integration in minutes
1
Include Script
Add our integration script to your website
2
Configure Buttons
Add data attributes to your trading buttons
3
Start Trading
Users get redirected to our secure exchange
External Connect API
Redirect users from external sites to our trading interface
POST /api/external-connect
Create a secure connection session and get redirect URL for users
// POST /api/external-connect
fetch('https://doozy.exchange/api/external-connect', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
action: 'sell',
asset: 'BTC',
amount: '0.5',
source: 'doozycrypto',
userId: 'user123',
referenceId: 'txn_abc123'
})
})
.then(response => response.json())
.then(data => {
if (data.success) {
// Redirect user to exchange
window.open('https://doozy.exchange' + data.redirectUrl, '_blank');
}
});
Parameter | Type | Required | Description |
---|---|---|---|
action | string | ✅ | "buy" or "sell" |
asset | string | ✅ | BTC, ETH, SOL, DOGE, XRP, XLM, SHIB |
amount | string | ❌ | Amount to trade |
source | string | ❌ | Source website identifier |
userId | string | ❌ | User identifier |
referenceId | string | ❌ | Transaction reference |
GET /api/external-connect
Direct redirect method using URL parameters
// GET /api/external-connect
const params = new URLSearchParams({
action: 'sell',
asset: 'BTC',
amount: '0.5',
source: 'doozycrypto'
});
// Direct redirect to exchange
window.open('https://doozy.exchange/api/external-connect?' + params.toString(), '_blank');
Security & Compliance
Enterprise-grade security for your integrations
Security Features
- • HTTPS-only API endpoints
- • Request signing and validation
- • Rate limiting and abuse protection
- • IP whitelisting available
- • End-to-end encryption
Regulatory Compliance
- • U.S. Virgin Islands banking license
- • FinCEN MSB registration
- • KYC/AML compliance monitoring
- • GDPR and CCPA compliant
- • SOC 2 Type II certified
Need Help?
Get support with your integration