Topolo Pay
Payment worker handling orders, webhooks, admin APIs, and static-asset-backed application behavior.
Documentation Map
What It Is
Payment worker handling orders, webhooks, admin APIs, and static-asset-backed application behavior.
_Audited on 2026-03-22 for the Roadmapper slice `item_topolo_immediate_wins_topolopay_baseline_01`._
TopoloPay is currently a **single Cloudflare Worker** that combines:
The code already exposes a broader contract than the older “minimal PaymentIntent endpoint” README described.
Architecture
Owners: commerce
Source repos: Applications/TopoloPay
Dependencies: topolo-auth
Repo shape
- Applications/TopoloPay/DEPLOYMENT-SUCCESS.md
- Applications/TopoloPay/IMPLEMENTATION_SUMMARY.md
- Applications/TopoloPay/PROJECT_STRUCTURE.md
- Applications/TopoloPay/README.md
- Applications/TopoloPay/WKR-PRO-01-README.md
- Applications/TopoloPay/WKR-PRO-02-IMPLEMENTATION-SUMMARY.md
- Applications/TopoloPay/WKR-PRO-02-README.md
- Applications/TopoloPay/WKR-PRO-03-IMPLEMENTATION-SUMMARY.md
- Applications/TopoloPay/WKR-PRO-03-README.md
- Applications/TopoloPay/admin/
- Applications/TopoloPay/dist-admin/
- Applications/TopoloPay/package-lock.json
- Applications/TopoloPay/package.json
- Applications/TopoloPay/public/
- Applications/TopoloPay/schema.sql
- Applications/TopoloPay/src/
- Applications/TopoloPay/test/
- Applications/TopoloPay/tsconfig.json
- Applications/TopoloPay/vitest.config.mts
- Applications/TopoloPay/worker-configuration.d.ts
Runtime Surfaces
Hosts:
No primary host is registered.
No wrangler surface was discovered under the registered repo paths.
API Reference
Coverage: readme
Source: Applications/TopoloPay/README.md
Source exists in repo: yes
README documents the current implemented worker contract and route surface.
App API page: /reference/apps/topolo-pay
This system currently relies on a curated or README-derived contract surface instead of a source-controlled OpenAPI spec.
Auth and Permissions
Depends on Topolo Auth: yes
Service IDs:
srv_DJInUxp0dLLi API key scopes
View payment transactions
Resource pattern: none
Process payments and refunds
Resource pattern: none
View customer payment profiles
Resource pattern: none
Manage customer payment methods
Resource pattern: none
View invoices and billing
Resource pattern: none
Create and manage invoices
Resource pattern: none
View payment reports and analytics
Resource pattern: none
Create payment or checkout sessions
Resource pattern: none
Read payment and charge state
Resource pattern: none
Refund transactions
Resource pattern: none
View venue configuration
Resource pattern: none
Manage venue configuration
Resource pattern: none
View payment analytics
Resource pattern: none
View payment audit logs
Resource pattern: none
View payment gateway settings
Resource pattern: none
Configure payment processing
Resource pattern: none
Service permissions
transactions:read, transactions:write, customers:read, customers:write, invoices:read, invoices:write, reports:read, payments:create, payments:read, transactions:refund, venues:read, venues:write, analytics:read, audit:read, settings:read, settings:write
Data Ownership
No storage bindings were derived from wrangler configuration.
Queues / Cron / Workflows
Queue bindings:
No queue bindings were detected.
Cron triggers
No cron triggers were detected.
Workflow signals
No explicit queue/workflow script or cron signal was discovered.
Environment Variables and Bindings
Environment variables:
No environment variables were derived from wrangler configuration.
All wrangler bindings
No bindings were derived from wrangler configuration.
Deployments
Deployment environments: default only or not declared
Routes: workers.dev or Pages-only delivery
Observability enabled: no explicit setting found
Build and deploy commands
-
build— Applications/TopoloPay/admin/package.json :: tsc -b && vite build -
preview— Applications/TopoloPay/admin/package.json :: vite preview -
deploy— Applications/TopoloPay/package.json :: npm run build:admin && wrangler deploy -
build:admin— Applications/TopoloPay/package.json :: cd admin && npm install && npm run build
Failure Modes
- No primary host is registered in the system registry.
- No wrangler.toml surface was discovered under the registered repo paths.
Debugging Runbooks
Start with these entrypoints:
- Applications/TopoloPay/README.md
- Applications/TopoloPay/admin/package.json
- Applications/TopoloPay/package.json
Change Log / Verification
Lifecycle: active
Last verified: 2026-03-29
Any code change to this system is expected to update the canonical docs in Websites/docs and refresh the verification date.