API documentation to integrate with Coinstancy platform
Check if wallet address is known and return user info
200 - Successful response
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/check-wallet'
--header 'Content-Type: application/json'
Check if email exists in the system (case-insensitive)
200 - Successful response
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/check-email'
--header 'Content-Type: application/json'
Register new user with wallet address and PIN
200 - Successful registration
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/register'
--header 'Content-Type: application/json'
Login with email/password and link wallet address
200 - Successful login
Body
409 - Conflict - Wallet already linked
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/login'
--header 'Content-Type: application/json'
Verify PIN for known wallet address (3 attempts max)
200 - PIN verified successfully
Body
401 - Invalid PIN
Body
423 - PIN locked
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/verify-pin'
--header 'Content-Type: application/json'
Resend email verification notification
200 - Verification email sent
Body
400 - Email already verified
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/resend-verification'
--header 'Content-Type: application/json'
Get current authenticated user information
200 - Current user information
Body
401 - Unauthenticated
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/auth/me'
--header 'Content-Type: application/json'
Get current KYC verification status and questionnaire data
200 - KYC status information
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/status'
--header 'Content-Type: application/json'
Submit KYC questionnaire with detailed user information
200 - Questionnaire submitted successfully
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/questionnaire'
--header 'Content-Type: application/json'
Initialize KYC verification session with Compilot
200 - Compilot session initialized
Body
400 - KYC questionnaire must be completed first
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/init-compilot'
--header 'Content-Type: application/json'
Synchronize KYC verification status from Compilot
200 - KYC status synchronized
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/sync-status'
--header 'Content-Type: application/json'
Get all available stable pools (USDT only)
200 - List of available stable pools
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/stable'
--header 'Content-Type: application/json'
Get specific pool details with user participation
200 - Pool details
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/{id}'
--header 'Content-Type: application/json'
Get user's current investments with calculated returns
200 - User's investments
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/my-investments'
--header 'Content-Type: application/json'
Get user's transaction history from activity logs
200 - Transaction history
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/my-transactions'
--header 'Content-Type: application/json'
Make investment in specific pool (requires KYC verification)
200 - Investment recorded successfully
Body
403 - KYC verification required
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/pools/{id}/invest'
--header 'Content-Type: application/json'
Get user's withdrawal history
200 - Withdrawal history
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals'
--header 'Content-Type: application/json'
Create new withdrawal request (1% fee, min 0.03 USD)
200 - Withdrawal created successfully
Body
400 - Insufficient balance or no investments found
Body
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals'
--header 'Content-Type: application/json'
Get details of specific withdrawal
200 - Withdrawal details
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals/{id}'
--header 'Content-Type: application/json'
Get available withdrawal methods and user balance
200 - Available withdrawal methods
Body
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals/methods'
--header 'Content-Type: application/json'