Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

529 B
Raw Blame
// GET /api/v1/me/dev-plan/receipts: every plan payment on the account, newest first.

import { defineEndpoint } from '../../../_lib/gateway.js';
import { listDevPlanReceipts } from '../../../_lib/dev-plans/billing.js';

export default defineEndpoint({
	name: 'v1.me.dev-plan.receipts',
	method: 'GET',
	auth: 'required',
	handler: async ({ res, principal, query }) => {
		res.setHeader('cache-control', 'private, no-store');
		return { receipts: await listDevPlanReceipts(principal.userId, Number(query.limit) || 50) };
	},
});