Repository navigation
Service claw payment service
github-actions[bot] edited this page Oct 13, 2026
·
2 revisions
Rendered from .ai/manifests/ on every publish. Rules for this service: CLAUDE.md · guide: service guide.
| Property | Value |
|---|---|
| Directory | apps/claw-payment-service |
| Port | 4018 |
| Database | postgresql |
| Test files | 112 (vitest) |
| Internal packages | @claw/shared-auth, @claw/shared-constants, @claw/shared-entitlements, @claw/shared-rabbitmq, @claw/shared-types, @claw/shared-utilities |
BillingCustomerCheckoutSessionFxQuoteGatewayConfigurationGatewayPlanMappingIdempotencyRecordInboxEventInvoiceInvoiceDeliveryInvoiceLineOutboxEventPaymentMethodPaymentTransactionProrationQuoteReconciliationDivergenceReconciliationRunRefundSeedExecutionSubscriptionWebhookEvent
| Method | Route | Source |
|---|---|---|
| GET | /admin/billing/dashboard |
billing-dashboard.controller.ts |
| GET | /admin/billing/dashboard/price-version-counts |
billing-dashboard.controller.ts |
| POST | /admin/billing/reconciliation |
reconciliation-admin.controller.ts |
| POST | /admin/billing/refunds |
refund.controller.ts |
| GET | /admin/billing/refunds/refundable-transactions |
refund.controller.ts |
| GET | /admin/billing/users/:userId/subscription |
admin-user-billing.controller.ts |
| GET | /admin/payment-gateways |
admin-gateway-config.controller.ts |
| PUT | /admin/payment-gateways/:gateway |
admin-gateway-config.controller.ts |
| POST | /billing/checkout-sessions |
checkout.controller.ts |
| GET | /billing/checkout-sessions/:id |
checkout.controller.ts |
| POST | /billing/checkout-sessions/:id/complete-paymob |
checkout.controller.ts |
| POST | /billing/checkout-sessions/:id/complete-paypal |
checkout.controller.ts |
| POST | /billing/checkout-sessions/:id/complete-paypal-sdk |
checkout.controller.ts |
| POST | /billing/credit-topup/checkout-sessions |
credit-topup.controller.ts |
| GET | /billing/credit-topup/checkout-sessions/:id |
credit-topup.controller.ts |
| GET | /billing/credit-topup/packages |
credit-topup.controller.ts |
| GET | /billing/display-currency |
public-display-currency.controller.ts |
| GET | /billing/gateways |
checkout-gateways.controller.ts |
| GET | /billing/invoices |
subscriptions.controller.ts |
| GET | /billing/invoices/:id/pdf |
subscriptions.controller.ts |
| GET | /billing/me |
subscriptions.controller.ts |
| POST | /billing/payment-method-setup-sessions |
checkout.controller.ts |
| GET | /billing/payment-method-setup-sessions/:id |
checkout.controller.ts |
| GET | /billing/payment-methods |
subscriptions.controller.ts |
| DELETE | /billing/payment-methods/:id |
subscriptions.controller.ts |
| GET | /billing/plans |
checkout.controller.ts |
| DELETE | /billing/subscription |
subscriptions.controller.ts |
| POST | /billing/subscription/cancel |
subscriptions.controller.ts |
| POST | /billing/subscription/change/confirm |
subscriptions.controller.ts |
| POST | /billing/subscription/change/quote |
subscriptions.controller.ts |
| POST | /billing/subscription/resume |
subscriptions.controller.ts |
| GET | /health |
health.controller.ts |
| GET | /internal/payments/subscriptions/:id/status |
internal-payments.controller.ts |
| GET | /internal/payments/transactions/:id/status |
internal-payments.controller.ts |
| GET | /internal/payments/users/:userId/entitlement |
internal-payments.controller.ts |
| POST | /payments/webhooks/paymob |
paymob-webhook.controller.ts |
| POST | /payments/webhooks/paymob/card-token |
paymob-webhook.controller.ts |
| POST | /payments/webhooks/paymob/transaction |
paymob-webhook.controller.ts |
| POST | /payments/webhooks/paypal |
paypal-webhook.controller.ts |
- Publishes:
log.server - Consumes:
billing.credit.topup_reversed,billing.credit.topup_succeeded,billing.payment.chargeback,billing.payment.refunded,billing.subscription.activated,billing.subscription.cancelled,billing.subscription.downgrade_scheduled,billing.subscription.downgraded,billing.subscription.expired,billing.subscription.past_due,billing.subscription.suspended,billing.subscription.upgraded
ClawAI Wiki · source-controlled under wiki/ · generated/mirrored from the current repository knowledge layer.
ClawAI Wiki
Product
- Product-Vision
- Flagship-Features
- Business-Overview
- Requirements-Register
- Drift-Log
- Runtime-Managed-Connector-Providers
- Threads
- ADR-Index
Architecture
- System-at-a-Glance
- Architecture-Map
- System-Architecture
- Message-Flow
- End-to-End-Data-Flow
- Routing-Engine
- Event-Bus
- Security-Architecture
Platform
- Backend-Services
- Frontend-Architecture
- Shared-Packages
- Database-Reference
- API-Reference
- Provider-Catalog
- Memory-and-Context-Architecture
- File-Support-Architecture
- Research-and-Web-Crawling
Runtime & Ops
- Docker-Guide
- Nginx-Reference
- CI-CD-Pipeline
- Logging-and-Observability
- Operational-Runbooks
- Troubleshooting
Quality
Engineering OS
- AI-Native-Engineering-OS
- Generated-Manifests
- Rules-Catalog
- Skills-Catalog
- Context-Layer
- Engineering-Memory
- Tooling-and-Automation
- Scripts-and-Operations
- ESLint-and-Architecture-Enforcement
- Extended-Work-Skills
Agents
Reference