Mediaโ—† Realistic composite#ldv#revenue

Digital subscriptions with self-service and billing for a media company

A media company sells evergreen digital subscriptions through its website and app and corporate licences through sales, with one catalog and pricing engine, billing, payment retries and collections.

Illustrative design parameters: 900,000 consumer subscribers, 2,000 corporate accounts, millions of monthly payments.

Your confidence:Not rated
Request and Reply ร— 2Fire and Forget ร— 1Batch Data Synchronization ร— 1
1

Checkout

Website and app โ†’ Revenue Management Inbound
Request and Reply
Why this pattern

Same pricing and promotions as sales.

Protocol / API
Business APIs
Middleware
None
Frequency / volume
Peaks of thousands a minute during campaigns.
Error handling and retry
Graceful errors; retry on client.
Security / auth
Connected app via External Client App.
2

Card payments

Salesforce โ†’ Payment gateway Outbound
Request and Reply
Why this pattern

Charge tokenised cards on billing.

Protocol / API
Gateway API
Middleware
None
Frequency / volume
Millions a month.
Error handling and retry
Retry rules by decline reason.
Security / auth
Tokens only.
3

Payment webhooks

Payment gateway โ†’ Salesforce Inbound
Fire and Forget
Why this pattern

Asynchronous results and disputes.

Protocol / API
Webhooks via middleware
Middleware
MuleSoft
Frequency / volume
Continuous.
Error handling and retry
Idempotent processing.
Security / auth
Signed webhooks.
4

Accounting summaries

Salesforce โ†’ ERP Outbound
Batch Data Synchronization
Why this pattern

Ledger needs daily summaries, not every payment.

Protocol / API
Batch file
Middleware
MuleSoft
Frequency / volume
Daily.
Error handling and retry
Reconciliation.
Security / auth
Named Credential with External Credential (OAuth 2.0 client credentials).