Subscription Service (v0.0.1)

Service that handles subscriptions

Overview

The subscription Service is responsible for handling customer subscriptions in our system. It handles new subscriptions, cancelling subscriptions and updating them.

Core features

FeatureDescription
Subscription ManagementHandles subscription creation, updates, and status tracking
Payment ProcessingIntegrates with payment gateways to handle payment transactions
Notification IntegrationSends notifications to users and other services
Multi-Channel FulfillmentSupports multiple fulfillment channels (e.g., shipping, in-store pickup)

Architecture diagram

Messages for this service

Sends messages (2)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
User subscription started
v0.0.1eventAn event that is triggered when a new user subscription has started
User subscription cancelled
v0.0.1eventAn event that is triggered when a users subscription has been cancelled

Receives messages (4)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummary
Subscribe user
v0.0.1commandCommand that will try and subscribe a given user
Cancel subscription
v0.0.1commandCommand that will try and cancel a users subscription
Payment Processed
v0.0.1eventEvent is triggered after the payment has been successfully processed
Get subscription status
v0.0.2queryGET request that will return the current subscription status for a specific user, identified by their userId.

Infrastructure

The Subscription Service is hosted on AWS.

The diagram below shows the infrastructure of the Subscription Service. The service is hosted on AWS and uses AWS Lambda to handle the subscription requests. The subscription is stored in an AWS Aurora database and the subscription metadata is stored in an AWS S3 bucket.

Loading graph...

You can find more information about the Subscription Service infrastructure in the Subscription Service documentation.

Event-driven architecture documentation: FlowMart