Integrate powerful cryptocurrency investment solutions into your applications with our comprehensive RESTful API. Enable seamless investments, KYC verification, and crypto withdrawals.
Simple integration process with comprehensive documentation and examples for every endpoint.
Contact our partnership team to receive your API token and access credentials for the sandbox environment.
Use the X-API-TOKEN header for endpoint access and Bearer tokens for authenticated user operations.
Explore our comprehensive API endpoints for user authentication, KYC verification, pool management, and withdrawals.
// Initialize API client
const coinstancy = new CoinstancyAPI({
baseURL: 'https://app.coinstancy.com/api/v2/minipay',
apiToken: 'your_api_token_here'
});
// Check wallet and authenticate user
const walletCheck = await coinstancy.auth.checkWallet({
wallet_address: '0x742d35Cc6641C1532...'
});
if (walletCheck.wallet_known) {
// User exists, verify PIN
const auth = await coinstancy.auth.verifyPIN({
wallet_address: '0x742d35Cc6641C1532...',
pin: '1234'
});
console.log('User authenticated:', auth.user);
} else {
// Register new user
const newUser = await coinstancy.auth.register({
wallet_address: '0x742d35Cc6641C1532...',
email: '[email protected]',
first_name: 'John',
last_name: 'Doe',
password: 'secure_password',
pin: '1234'
});
}
// Get available investment pools
const pools = await coinstancy.pools.getStablePools();
console.log('Available pools:', pools); Comprehensive cryptocurrency investment capabilities with enterprise-grade security and reliability.
Multi-layer authentication with wallet integration, PIN verification, and JWT tokens. Built-in protection against brute force attacks and secure session management.
Access to stable cryptocurrency investment pools with competitive APY rates. Real-time portfolio tracking and compound interest calculations.
Automated withdrawal processing to Celo blockchain with transparent fee structure. Complete transaction history and status tracking.
Our API follows REST principles and provides predictable URLs, accepts JSON requests, returns JSON responses, and uses standard HTTP response codes for all operations.
Complete API specification with detailed schemas, examples, and interactive documentation.
Detailed error responses with clear messages and suggested resolutions for debugging.
Built-in rate limiting, request validation, and security headers for production use.
POST /api/v2/minipay/pools/1/invest
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
X-API-TOKEN: Secret_Token_for_MiniPay_API
Content-Type: application/json
{
"amount": 500.00,
"transaction_hash": "0x742d35Cc6641C1532e5B72aa..."
}
→ Response (200 OK)
{
"success": true,
"message": "Investment recorded successfully",
"investment": {
"pool_id": 1,
"amount": 500.00,
"currency": "USDT",
"total_amount": 1750.00,
"apy_rate": 12.5,
"estimated_monthly_return": 18.23
},
"transaction_info": {
"recipient_address": "0xA0b86a33E6776...",
"blockchain": "celo",
"network_fee": "0.002 CELO",
"confirmation_time": "~30 seconds"
}
} Join our partner ecosystem and offer cryptocurrency investment solutions to your users. Get access to dedicated technical support, custom integrations, and revenue sharing opportunities.