ForhoppPay Connect — Enterprise Documentation Index
docs.forhopp.com — Feature-Level Documentation
Per-Feature Documentation
Each document below provides enterprise-level detail for a single feature: architecture, API specification, database schema, processing flows, code examples, validation rules, and correctness properties.
| # |
Document |
Feature |
Key Services |
| 01 |
Authentication & API Keys |
FR-1, FR-2 |
MerchantApiKeyService, ApiKeyAuthenticationFilter |
| 02 |
Rate Limiting |
FR-3 |
ConnectRateLimiter, ConnectRateLimitFilter |
| 03 |
Charges API |
FR-5–FR-8 |
MerchantChargeService, ConnectChargeController |
| 04 |
Webhooks |
FR-11–FR-13 |
MerchantWebhookService, ConnectWebhookController |
| 05 |
Hosted Checkout |
FR-9, FR-10 |
MerchantCheckoutService, SandboxPaymentSimulator |
| 06 |
Payouts & Fees |
FR-26, FR-27 |
MerchantPayoutService, ConnectFeeCalculationService |
| 07 |
Disputes |
FR-29 |
ConnectDisputeService |
| 08 |
Multi-Currency |
FR-28 |
CurrencyConversionService |
| 09 |
API Versioning |
FR-30 |
ApiVersionFilter, ApiVersionResponseAdvice |
| 10 |
Subscriptions |
FR-4 |
ConnectSubscriptionService, ConnectSubscriptionController |
| 11 |
Subscription Add-Ons |
FR-4.1 |
SubscriptionItemService, ConnectSubscriptionItemController |
| 12 |
MoR Recurring Billing |
FR-5 |
SubscriptionBillingService, BillingCycleScheduler |
| 13 |
Subscription Checkout Flow |
Integration |
End-to-end hosted checkout + recurring flow |
| 14 |
Checkout Frontend Guide |
Frontend |
Frontend integration for hosted checkout |
| 15 |
SaaS Subscription Reference |
Use Case |
Complete SaaS integration (Urvo.io: subscriptions, add-ons, upgrades) |
Cross-Cutting Documentation
Proration Behaviors Quick Reference
All proration behaviors across the Connect subscription APIs:
Subscription Price Changes (PATCH /subscriptions/{id})
| Behavior |
Action |
Status |
create_prorations (default) |
Charge prorated difference immediately via saved payment method |
Working |
always_invoice |
Create PendingProration record, collected on next renewal invoice |
Working |
none |
No proration; new price at next cycle |
Working |
Subscription Add-Ons (POST /subscriptions/{id}/items)
| Behavior |
Action |
Status |
charge_immediately |
Charge prorated amount immediately via saved payment method |
Working |
defer_to_next_cycle (default) |
Create PendingProration record, collected on next renewal invoice |
Working |
none |
No proration; item starts at full price next cycle |
Working |
Correctness Properties Map
52 formal correctness properties are defined across the feature documents. Each property specifies a universal invariant that must hold across all valid system states.
Technology Stack
| Layer |
Technology |
| Backend |
Java 17, Spring Boot 3.4 |
| Database |
PostgreSQL 13+ |
| Cache |
Redis 6+ |
| ORM |
Hibernate/JPA 6.x |
| Migrations |
Flyway 9.x |
| Deployment |
Kubernetes 1.28+ |
| Testing |
JUnit 5, jqwik (property-based) |
Last Updated: July 2026