What You Can Do
How to Get Started
1
Install Chimoney Plugin
Install the Chimoney WooCommerce plugin from the WordPress plugin directory or upload manually.
2
Configure API Credentials
Add your Chimoney API key in the plugin settings. Get your key from chimoney.app.
3
Enable Agent Payments
Configure payment methods and enable agent wallet functionality in your WooCommerce store.
API Integration (Alternative)
If you prefer direct API integration instead of WooCommerce, here's a quick example:
// Create agent wallet via API
const response = await fetch('https://api.chimoney.io/v0.2/wallets', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'WooCommerceAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);