ZETAMELD Payments Cloud v2.4 is live: Connect Razorpay & Cashfree with zero vendor lock-in.Explore Docs ›
ZETAFORGE DEVELOPER ECOSYSTEM • DOCS & GUIDES

DEVELOPER DOCUMENTATION

Complete architectural blueprints, zero-trust cryptographic keys, dynamic schema injection, and high-concurrency REST endpoints to build your microservice ecosystem on ZetaForge.

CHAPTER 1 • ZERO TO PRODUCTION

Getting Started with ZetaForge

ZetaForge provides a unified, production-grade microservice relay engineered by ZETAMELD™ LLP. Modern engineering teams connect to ZetaForge to eliminate boilerplate infrastructure for authentication, multi-vendor payment settlement, dynamic store catalogs, and fault-tolerant webhook buses.

Sub-12ms
Global Edge Ingress Latency
Zero
Database Migrations Needed
99.99%
High-Availability SLA

Step-by-Step Onboarding Walkthrough

1

Create Your Developer Account

Sign up for free at /signup with standard developer credentials or Google OAuth SSO. No credit card required to start on the Starter tier.

2

Create or Select Your Organization

Every organization operates as a cryptographically isolated tenant in the PostgreSQL schema layer. Team members can be invited with role-based access controls (Admin, Developer, Billing).

3

Create Project Containers

Group related application keys and request metrics into discrete projects (e.g. mobile-app-prod or web-checkout-staging).

4

Generate Project-Scoped API Keys

Navigate to API Keys in the developer console to generate a secret key prefixed with zm_live_* for production or zm_test_* for sandbox simulation.

5

Make Your First Verified API Call

Execute the cURL snippet below replacing the placeholder key with your project secret key:

curl -X POST "https://api.zetameld.com/v1/auth/register" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: zm_live_9a87d6e5c4b3" \
  -H "X-Project-Id: proj_default_01" \
  -d '{
    "name": "Jane Developer",
    "email": "jane@example.com",
    "password": "secure_password_990",
    "customFields": {
      "department": "Engineering",
      "tier": "enterprise-developer"
    }
  }'
6

Inspect Realtime Ledger & Tokens

View your live request in the Developer Console to verify HTTP 201 Created status, cryptographic response headers, and the transparent 3 token deduction.

CHAPTER 2 • ZERO-TRUST ARCHITECTURE

Authentication & Cryptographic Keys

All requests directed at ZetaForge endpoints require client identification via the X-API-Key header. Optionally, requests can target isolated containers with the X-Project-Id header.

Zero-Trust Credential Security Guideline

Never expose your secret keys (zm_live_*) in public client-side JavaScript, mobile app binaries, or version-controlled git repositories. Always proxy ZetaForge requests through your private backend service or secure edge serverless functions.

Supported Key Formats & Environments
zm_live_••••••••••••••••

Production Live Key

Executes against real database models and incurs live token deductions.

Live Trading
zm_test_••••••••••••••••

Sandbox Simulation Key

Operates in simulated mode with mock Razorpay and Cashfree transactions.

Zero Risk Mock
zm_agent_•••••••••••••••

Autonomous AI Agent Key

Constrained token budget key configured for OpenClaw / Hermès agent routines.

Agent Sandbox
CHAPTER 3 • TOKENOMICS & QUOTAS

Token-Based Compute & Rate Limits

ZetaForge utilizes a transparent token-metering model. Rather than opaque billing tiers, every endpoint consumes a fixed, documented token weight. Token balances are shared across all project containers in your organization.

Standard Ingress Rate Limit Headers

RFC 6585 Standard

Every API response returns real-time quota telemetry in standard HTTP headers:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 986
X-RateLimit-Reset: 1730003600
X-Tokens-Allocated: 200000
X-Tokens-Remaining: 184520
X-Relay-Latency-Ms: 8.4
API CategoryTypical OperationToken Cost
Authentication & User APIsUser Login, Token Refresh, Password Verification1 Token
Store & Inventory APIsAtomic Stock Reservation, Product Creation, Catalog Query2 Tokens
Dual Payment RelaysRazorpay / Cashfree Settlement, Split Relays, Refunds3 Tokens
AST Payroll ExecutionComplex Abstract Syntax Tree Formula Payroll Calculations4 Tokens
CHAPTER 4 • ZERO DATABASE MIGRATIONS

Dynamic Field Schemas

Traditional SaaS platforms force teams to execute expensive database migrations (e.g. ALTER TABLE users ADD COLUMN) whenever new domain fields are introduced. ZetaForge features an inline Dynamic Schema Engine that validates and indexes arbitrary custom fields directly at the gateway layer.

PAYLOAD SAMPLE • CUSTOM FIELDS INJECTION
{
  "userId": "usr_9410_ab72",
  "fullName": "Aarav Sharma",
  "email": "aarav@enterprise.in",
  "organizationId": "org_zm_fintech_01",
  "customFields": {
    "costCenter": "FIN-TECH-88",
    "taxExempt": true,
    "auditWebhook": "https://company.internal/hooks/sec",
    "permittedGateways": ["razorpay", "cashfree"]
  }
}
CHAPTER 5 • RESILIENT ASYNCHRONOUS BUS

Webhooks & Automated Event Retries

ZetaForge emits cryptographically signed event notifications for key state transitions (payment captured, order fulfilled, user verified, token threshold breached). Webhooks are signed using HMAC-SHA256 to ensure authenticity.

Cryptographic Signature Verification

Every webhook request delivers a signature in the X-ZetaForge-Signature header calculated over the raw request payload with your webhook secret.

// Signature Calculation Formula:
signature = hex(HMAC_SHA256(webhook_secret, raw_request_body))
CHAPTER 6 • MULTI-LANGUAGE SDKS

SDK & Language Quickstarts

Official SDK libraries are provided for Node.js, TypeScript, Python, and Go. Standard HTTP libraries or cURL can also be used directly.

curl -X POST "https://api.zetameld.com/v1/store/orders" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: zm_live_9a87d6e5c4b3" \
  -d '{
    "customerId": "usr_8829",
    "amount": 4999,
    "currency": "INR",
    "gateway": "razorpay"
  }'
CHAPTER 7 • DIAGNOSTICS

Error Codes & Diagnostics

All error payloads conform strictly to RFC 7807 (Problem Details for HTTP APIs) and contain deterministic error codes to facilitate automatic client-side recovery.

StatusError CodeRemediation Advice
400VALIDATION_FAILEDInspect payload JSON schema formatting and required fields.
401UNAUTHORIZED_KEYProvide a valid X-API-Key header or rotate an expired secret.
403FORBIDDEN_SCOPEYour API key lacks the permission role to execute this endpoint.
429TOKEN_QUOTA_EXCEEDEDMonthly token balance exhausted. Top up or upgrade your plan.
502 / 504GATEWAY_TIMEOUTUpstream banking or payment provider timed out. Retry with idempotency key.
CHAPTER 8 • PLATFORM COMPLIANCE

Security, SLAs & Platform FAQs

Common technical inquiries regarding compute metering, tenant data isolation, and enterprise uptime SLAs.

Each API call consumes a deterministic quota of tokens based on computational complexity. For example, token issuance or user authentication costs 1 token, while multi-vendor payment settlement or atomic inventory reservation consumes 3 tokens. Unused tokens roll over indefinitely with zero monthly lock-in waste.

Need Dedicated Enterprise Onboarding?

Our developer infrastructure team can assist with private VPC peering, custom volume token bundles, and automated migration scripts.

Contact Developer Engineering