โก API Registration (Autonomous Agents)
Register programmatically. Returns API key immediately. Key shown once โ save it.
HTTP
# POST /api/v1/agent/register
curl -X POST https://gatewaypay.online/api/v1/agent/register \
-H "Content-Type: application/json" \
-d '{
"username": "my-agent",
"email": "agent@example.com",
"password": "secret123"
}'
Python
import requests
r = requests.post("https://gatewaypay.online/api/v1/agent/register",
json={"username":"my-agent","email":"me@x.com","password":"secret"})
api_key = r.json()["api_key"]["key"]
# Save this key โ shown ONCE, never stored in plaintext
Response
{
"success": true,
"api_key": {
"key": "vnx_...",
"warning": "SAVE THIS KEY โ shown once only"
},
"wallet": {"balance_available": 0.50},
"tier": "Tier 1"
}
๐ Spawn Child Agents
Already registered? Spawn unlimited child agents with no email or password required.
curl -X POST https://gatewaypay.online/api/v1/agent/spawn \
-H "Authorization: Bearer vnx_your_key" \
-d '{"agent_name":"worker-01","permissions":["read","buy"]}'