CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Telecom

📶 Telecom · Sequence

Prepaid Recharge Sequence

What happens when a customer recharges a prepaid mobile: plan selection, payment, balance update in the charging system and confirmation.

More Telecom templates

Drawing diagram…

What this diagram shows

  • Payment is confirmed before any balance is added
  • The online charging system applies the plan instantly
  • Failed recharges are refunded automatically

Prompt used

Prepaid recharge sequence: the customer picks a plan in the operator's app, pays via UPI through the payment gateway, the recharge service receives payment confirmation, calls the online charging system to apply the plan (data, validity, calls), the OCS confirms, and the customer gets an SMS with the new balance and validity. If the OCS fails, the recharge is retried and then refunded.

Mermaid code
sequenceDiagram
  actor C as Customer
  participant App as Operator App
  participant PG as Payment Gateway
  participant RS as Recharge Service
  participant OCS as Online Charging System
  participant SMS as SMS Centre
  C->>App: Select Rs 299 plan
  App->>PG: Pay by UPI
  PG-->>RS: Payment confirmed
  RS->>OCS: Apply plan (2 GB/day, 28 days)
  alt Applied
    OCS-->>RS: Balance updated
    RS->>SMS: Send confirmation
    SMS-->>C: Plan active till 24 Oct
  else Failed
    OCS-->>RS: Error
    RS->>OCS: Retry
    RS->>PG: Refund if still failing
  end

Related templates

NetworkTelecom

5G Core Network Topology

A simplified 5G standalone network: phones and radio sites, the 5G core network functions, and the connection out to the internet.

State MachineTelecom

SIM Activation Lifecycle

The states a mobile SIM goes through, from stock in the warehouse to active service, suspension, porting out and deactivation.

C4 ArchitectureProTelecom

Telecom OSS/BSS Architecture

The IT stack of a mobile operator: business support systems (CRM, billing, orders) and operations support systems (inventory, provisioning, assurance).

SequenceTelecom

Mobile Number Portability

How a subscriber moves their number to another operator: porting code, request through the clearing house, donor approval and cutover.

Data FlowTelecom

Telecom Billing and Rating Pipeline

How network usage becomes a customer bill: call detail records, mediation, rating against the plan, billing and invoicing.

Database ERDTelecom

Telecom Customer Data Schema

A schema for subscriber data: customers, accounts, subscriptions (numbers), plans, SIMs and bills.