Institutional API
Balance operations desk
Read balances publicly and protect every balance mutation with your configured API key.
vpn_key
Modification key required
Set api_key in config.php or use the CHICHIBUCKS_API_KEY environment variable. Read requests do not need a key.
GET Endpoints
Read balance
https://chichibank.vinz3210.gg/api.php?action=get&user_id=12345
Add Chichibucks
https://chichibank.vinz3210.gg/api.php?action=add&user_id=12345&username=viewer&chichibucks=50&reference=Bonus&api_key=YOUR_KEY
Subtract Chichibucks
https://chichibank.vinz3210.gg/api.php?action=subtract&user_id=12345&chichibucks=10&reference=ManualAdjustment&api_key=YOUR_KEY
Set balance
https://chichibank.vinz3210.gg/api.php?action=set&user_id=12345&username=newname&chichibucks=250&api_key=YOUR_KEY