CodesWholesale
CodesWholesale is a B2B digital distribution platform offering a large catalog of game keys at wholesale prices.
Overview
| Feature |
Details |
| Type |
B2B Distributor |
| Catalog |
10,000+ products |
| Regions |
Global, EU, US, and more |
| Platforms |
Steam, Origin, Uplay, GOG, etc. |
Prerequisites
- CodesWholesale reseller account
- Approved API access
- Sufficient account balance
Getting API Credentials
- Log in to your CodesWholesale account
- Go to My Account → API
- Generate new API credentials:
- Copy both values
⚠️ Note: API access requires account approval. Contact CodesWholesale support if you don't see the API section.
Connecting to PremiumCDKeys
- Go to Manage → Suppliers
- Find CodesWholesale and click Connect
- Enter your credentials:
- Client ID: From CodesWholesale
- Client Secret: From CodesWholesale
- Select environment:
- Sandbox: For testing (no real purchases)
- Production: For live orders
- Click Connect
Configuration
Postback URL
⚠️ Important: Do NOT subscribe to any postback URL. PremiumCDKeys handles order status internally.
Currency
CodesWholesale prices are in EUR. PremiumCDKeys automatically converts based on your settings.
Product Mapping
Search Products
- Go to your application → Product Import
- Search CodesWholesale catalog by:
- Product name
- Platform (Steam, Origin, etc.)
- Region (EU, Global, etc.)
Map to Store Product
- Select your store product
- Find the matching CodesWholesale offer
- Click Map
- Configure pricing:
- Fixed price, or
- Margin percentage
Order Processing
Automatic Flow
Order Created → Stock Check → Purchase → Key Retrieved → Delivered
Purchase Response
CodesWholesale returns keys immediately upon successful purchase.
Error Handling
| Error |
Meaning |
Action |
| Insufficient Balance |
Account needs funds |
Add funds to CodesWholesale |
| Out of Stock |
Product unavailable |
Wait or use fallback |
| Invalid Product |
Product ID changed |
Re-map the product |
Best Practices
- Maintain balance: Keep sufficient funds in your CodesWholesale account
- Use sandbox first: Test your mappings before going live
- Monitor stock: Some products have limited availability
- Check regions: Ensure region matches your customer base
Pricing
CodesWholesale uses tiered pricing:
- Prices vary by region
- Bulk discounts may apply
- Prices update regularly
Troubleshooting
Connection Failed
- Verify Client ID and Secret are correct
- Check you're using the right environment (sandbox vs production)
- Ensure API access is enabled on your account
Keys Not Delivered
- Check your CodesWholesale balance
- Verify the product is in stock
- Review error messages in order details
Wrong Region
- Double-check product mapping
- Ensure you selected the correct regional variant
API Limits
CodesWholesale has rate limits:
- 100 requests per minute
- Contact CodesWholesale for higher limits
Support
For CodesWholesale-specific issues: