Account Balance Request
http://api.kopeechka.store/user-balance?token=$TOKEN&type=$TYPE&api=2.0
It will help you find out your account balance.
Required parameters:
$TOKEN - API key from kopeechka.store
$TYPE - What type of response do you expect to see (JSON/TEXT) (by default JSON)
✅ Answer:
JSON
{"status":"OK","balance":ВАШ_БАЛАНС}
TEXT
OK|YOUR_BALANCE
❌ Possible errors
Invalid token
JSON
{"status":"ERROR","value":"BAD_TOKEN"}
TEXT
ERROR|BAD_TOKEN
Have you figured it out? Rather try :)