{"name":"Fikra API agent-assisted accounts","version":1,"summary":"Agents can create a provisional account for a human, use the API with a 6-hour delegated token, and top it up. The human claim link converts it to a full account. No signup credit. Mandarin UX at https://fikraapi.co.ke/zh/ (USD settlement).","account":{"endpoint":"POST /v1/agents/accounts","body":{"email":"human@example.com","agent_name":"your-agent","agent_version":"1.0","idempotency_key":"optional"},"returns":["account_id","token","token_expires_at","claim_url"],"provisional_hours":6,"signup_credit":0},"auth":{"header":"Authorization: Bearer <agent token>","token_hours":6,"scopes":["keys:read","keys:write","chat:write","usage:read","balance:read","topup:link","topup:charge"]},"endpoints":["GET /v1/agents/me","POST /v1/agents/token/refresh","POST /v1/agents/token/revoke","POST /v1/agents/keys","GET /v1/agents/keys","POST /v1/agents/keys/{id}/revoke","GET /v1/agents/balance","GET /v1/agents/usage","GET /v1/agents/settings","POST /v1/agents/topup","GET /v1/agents/topup/{reference}"],"payments":{"amount_required":true,"minimum_usd":1.0,"confirm_required":true,"claim_required_before_first_charge":true,"checkout":"POST /v1/agents/topup returns a Whop-hosted card checkout URL. USD only. Send the URL to the human.","poll":"GET /v1/agents/topup/{reference}. The Whop webhook credits the wallet; this endpoint reports status.","confirm":"Every agent charge requires confirm: true. Amounts are never inferred.","auto_recharge":"Not available to agents.","card_data":"Never seen by the agent or stored by Fikra."},"claim":{"url":"https://fikraapi.co.ke/agents/claim/<token>","ttl_days":30},"docs":"https://fikraapi.co.ke/for-agents","contact":"developers@fikraapi.co.ke"}