Coinstancy API v2 v2.0.0

https://app.coinstancy.com/api/v2/minipay

API documentation to integrate with Coinstancy platform

Authentication

Check Wallet
post /auth/check-wallet

Check if wallet address is known and return user info

Request

Body

Responses

200 - Successful response
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/check-wallet'
--header 'Content-Type: application/json'
Check Email
post /auth/check-email

Check if email exists in the system (case-insensitive)

Request

Body

Responses

200 - Successful response
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/check-email'
--header 'Content-Type: application/json'
Register
post /auth/register

Register new user with wallet address and PIN

Request

Body

Responses

200 - Successful registration
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/register'
--header 'Content-Type: application/json'
Login
post /auth/login

Login with email/password and link wallet address

Request

Body

Responses

200 - Successful login
Body
409 - Conflict - Wallet already linked
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/login'
--header 'Content-Type: application/json'
Verify PIN
post /auth/verify-pin

Verify PIN for known wallet address (3 attempts max)

Request

Body

Responses

200 - PIN verified successfully
Body
401 - Invalid PIN
Body
423 - PIN locked
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/verify-pin'
--header 'Content-Type: application/json'
Resend Verification
post /auth/resend-verification

Resend email verification notification

Request

Body

Responses

200 - Verification email sent
Body
400 - Email already verified
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/auth/resend-verification'
--header 'Content-Type: application/json'
Get Current User
get /auth/me

Get current authenticated user information

Responses

200 - Current user information
Body
401 - Unauthenticated
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/auth/me'
--header 'Content-Type: application/json'

KYC

Get KYC Status
get /kyc/status

Get current KYC verification status and questionnaire data

Responses

200 - KYC status information
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/status'
--header 'Content-Type: application/json'
Submit KYC Questionnaire
post /kyc/questionnaire

Submit KYC questionnaire with detailed user information

Request

Body

Responses

200 - Questionnaire submitted successfully
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/questionnaire'
--header 'Content-Type: application/json'
Initialize Compilot Session
post /kyc/init-compilot

Initialize KYC verification session with Compilot

Responses

200 - Compilot session initialized
Body
400 - KYC questionnaire must be completed first
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/init-compilot'
--header 'Content-Type: application/json'
Sync KYC Status
post /kyc/sync-status

Synchronize KYC verification status from Compilot

Responses

200 - KYC status synchronized
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/kyc/sync-status'
--header 'Content-Type: application/json'

Pools

Get Stable Pools
get /pools/stable

Get all available stable pools (USDT only)

Responses

200 - List of available stable pools
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/stable'
--header 'Content-Type: application/json'
Get Pool Details
get /pools/{id}

Get specific pool details with user participation

Responses

200 - Pool details
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/{id}'
--header 'Content-Type: application/json'
Get My Investments
get /pools/my-investments

Get user's current investments with calculated returns

Responses

200 - User's investments
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/my-investments'
--header 'Content-Type: application/json'
Get Transaction History
get /pools/my-transactions

Get user's transaction history from activity logs

Responses

200 - Transaction history
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/pools/my-transactions'
--header 'Content-Type: application/json'
Invest in Pool
post /pools/{id}/invest

Make investment in specific pool (requires KYC verification)

Request

Body

Responses

200 - Investment recorded successfully
Body
403 - KYC verification required
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/pools/{id}/invest'
--header 'Content-Type: application/json'

Withdrawals

Get Withdrawal History
get /withdrawals

Get user's withdrawal history

Responses

200 - Withdrawal history
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals'
--header 'Content-Type: application/json'
Create Withdrawal
post /withdrawals

Create new withdrawal request (1% fee, min 0.03 USD)

Request

Body

Responses

200 - Withdrawal created successfully
Body
400 - Insufficient balance or no investments found
Body
Request Sample
curl --request POST
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals'
--header 'Content-Type: application/json'
Get Specific Withdrawal
get /withdrawals/{id}

Get details of specific withdrawal

Responses

200 - Withdrawal details
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals/{id}'
--header 'Content-Type: application/json'
Get Withdrawal Methods
get /withdrawals/methods

Get available withdrawal methods and user balance

Responses

200 - Available withdrawal methods
Body
Request Sample
curl --request GET
--url 'https://app.coinstancy.com/api/v2/minipay/withdrawals/methods'
--header 'Content-Type: application/json'