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.
Canonical documentation for Topolo Pay lives in `PlatformApplications/TopoloDocs`.
Use this directory for implementation only. Payment boundaries, deployment guidance, auth, and external-service integration rules are canonical in the docs application and should not be duplicated here.
Architecture
Owners: commerce
Source repos: PlatformApplications/TopoloPay
Dependencies: topolo-auth, topolo-nexus
Repo shape
- PlatformApplications/TopoloPay/README.md
- PlatformApplications/TopoloPay/admin/
- PlatformApplications/TopoloPay/dist-admin/
- PlatformApplications/TopoloPay/package-lock.json
- PlatformApplications/TopoloPay/package.json
- PlatformApplications/TopoloPay/public/
- PlatformApplications/TopoloPay/schema.sql
- PlatformApplications/TopoloPay/src/
- PlatformApplications/TopoloPay/test/
- PlatformApplications/TopoloPay/topolo.cloudcontrol.json
- PlatformApplications/TopoloPay/tsconfig.json
- PlatformApplications/TopoloPay/vitest.config.mts
- PlatformApplications/TopoloPay/worker-configuration.d.ts
- PlatformApplications/TopoloPay/wrangler.jsonc
Runtime Surfaces
Hosts:
No primary host is registered.
No wrangler surface was discovered under the registered repo paths.
API Reference
Coverage: curated
Source: PlatformApplications/TopoloDocs/src/content/public/applications/pay.mdx
Source exists in repo: yes
Canonical public and internal docs cover the payment worker, local webhook boundary, and Nexus-routed outbound payment operations.
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— PlatformApplications/TopoloPay/admin/package.json :: tsc -b && vite build -
preview— PlatformApplications/TopoloPay/admin/package.json :: vite preview -
deploy— PlatformApplications/TopoloPay/package.json :: npm run build:admin && wrangler deploy -
build— PlatformApplications/TopoloPay/package.json :: npm run build:admin -
deploy:dry-run— PlatformApplications/TopoloPay/package.json :: npm run build:admin && wrangler deploy --dry-run --outdir .wrangler/build -
build:admin— PlatformApplications/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:
- PlatformApplications/TopoloDocs/src/content/public/applications/pay.mdx
- PlatformApplications/TopoloPay/README.md
- PlatformApplications/TopoloPay/admin/package.json
- PlatformApplications/TopoloPay/package.json
Change Log / Verification
Lifecycle: active
Last verified: 2026-04-07
Any code change to this system is expected to update the canonical docs in PlatformApplications/TopoloDocs and refresh the verification date.