Linked.Archi

Payment Platform

Model

https://meta.linked.archi/examples/cloudplatform/model/

cloudplatform: Kalin Maldzhanski

Example architecture model of a payment platform using the Cloud Platform metamodel.

Example architecture model of a payment platform using the Cloud Platform metamodel.

Conforms to Metamodel

Cloud Platform Metamodel

https://meta.linked.archi/examples/cloudplatform/metamodel#CloudPlatformMetamodel

Element Inventory

47 elements across 15 types

APIGateway 1

Payment API Gateway
Kong-based API gateway routing external payment API consumers to internal microservices with authentication and rate limiting.

Access 6

qr-OrderService-accesses-OrderDB
qr-PaymentService-accesses-PaymentDB
qr-ReportingService-accesses-OrderDB
qr-ReportingService-accesses-PaymentDB
qr-OrderService-accesses-SessionCache
qr-PaymentService-accesses-SessionCache

Assignment 5

qr-OrderContainer-assignedTo-OrderService
qr-PaymentContainer-assignedTo-PaymentService
qr-NotificationContainer-assignedTo-NotificationService
qr-FraudContainer-assignedTo-FraudDetectionService
qr-ReportingContainer-assignedTo-ReportingService

CacheStore 1

Session Cache (Redis)

Container 5

order-service container
payment-service container
notification-service container
fraud-detection container
reporting-service container

Deployment 5

qr-OrderContainer-deployedIn-ProdCluster
qr-PaymentContainer-deployedIn-ProdCluster
qr-NotificationContainer-deployedIn-ProdCluster
qr-FraudContainer-deployedIn-ProdCluster
qr-ReportingContainer-deployedIn-ProdCluster

EventTopic 3

order-events
payment-events
fraud-alerts

KubernetesCluster 1

Production Cluster (eu-west-1)

ManagedDatabase 2

Orders Database
Payments Database

MessageBroker 1

Kafka Cluster

Microservice 5

Order Service
Handles the complete order lifecycle including creation, validation, payment orchestration, and fulfillment tracking.
Payment Service
Processes credit card and bank transfer payments including authorisation, capture, and refund operations.
Notification Service
Sends email, SMS, and push notifications to customers and internal stakeholders based on payment events.
Fraud Detection Service
ML-based fraud scoring service that evaluates payment transactions in real-time and assigns risk scores.
Reporting Service
Generates financial reports, transaction analytics dashboards, and settlement reconciliation summaries.

ObservabilityStack 1

Observability Stack (Prometheus + Grafana + Jaeger)

Publishing 3

qr-OrderService-publishesTo-OrderEvents
qr-PaymentService-publishesTo-PaymentEvents
qr-FraudDetectionService-publishesTo-FraudAlerts

Serving 2

qr-PaymentGateway-serves-OrderService
qr-PaymentGateway-serves-PaymentService

Subscription 6

qr-PaymentService-subscribesTo-OrderEvents
qr-NotificationService-subscribesTo-PaymentEvents
qr-NotificationService-subscribesTo-FraudAlerts
qr-FraudDetectionService-subscribesTo-PaymentEvents
qr-ReportingService-subscribesTo-OrderEvents
qr-ReportingService-subscribesTo-PaymentEvents

Relationship Summary

140 relationships across 15 types

accesses 6

SourceTarget
Order Service Orders Database
Payment Service Payments Database
Reporting Service Orders Database
Reporting Service Payments Database
Order Service Session Cache (Redis)
Payment Service Session Cache (Redis)

assignedTo 5

SourceTarget
order-service container Order Service
payment-service container Payment Service
notification-service container Notification Service
fraud-detection container Fraud Detection Service
reporting-service container Reporting Service

deployedIn 5

SourceTarget
order-service container Production Cluster (eu-west-1)
payment-service container Production Cluster (eu-west-1)
notification-service container Production Cluster (eu-west-1)
fraud-detection container Production Cluster (eu-west-1)
reporting-service container Production Cluster (eu-west-1)

inModel 32

SourceTarget
Order Service Payment Platform
Payment Service Payment Platform
Notification Service Payment Platform
Fraud Detection Service Payment Platform
Reporting Service Payment Platform
Payment API Gateway Payment Platform
qr-PaymentGateway-serves-OrderService Payment Platform
qr-PaymentGateway-serves-PaymentService Payment Platform
Orders Database Payment Platform
Payments Database Payment Platform
qr-OrderService-accesses-OrderDB Payment Platform
qr-PaymentService-accesses-PaymentDB Payment Platform
qr-ReportingService-accesses-OrderDB Payment Platform
qr-ReportingService-accesses-PaymentDB Payment Platform
Session Cache (Redis) Payment Platform
qr-OrderService-accesses-SessionCache Payment Platform
qr-PaymentService-accesses-SessionCache Payment Platform
Kafka Cluster Payment Platform
order-events Payment Platform
payment-events Payment Platform
fraud-alerts Payment Platform
qr-OrderService-publishesTo-OrderEvents Payment Platform
qr-PaymentService-publishesTo-PaymentEvents Payment Platform
qr-FraudDetectionService-publishesTo-FraudAlerts Payment Platform
qr-PaymentService-subscribesTo-OrderEvents Payment Platform
qr-NotificationService-subscribesTo-PaymentEvents Payment Platform
qr-NotificationService-subscribesTo-FraudAlerts Payment Platform
qr-FraudDetectionService-subscribesTo-PaymentEvents Payment Platform
qr-ReportingService-subscribesTo-OrderEvents Payment Platform
qr-ReportingService-subscribesTo-PaymentEvents Payment Platform
Observability Stack (Prometheus + Grafana + Jaeger) Payment Platform
Production Cluster (eu-west-1) Payment Platform

publishesTo 3

SourceTarget
Order Service order-events
Payment Service payment-events
Fraud Detection Service fraud-alerts

qualifiedAccess 6

SourceTarget
Order Service qr-OrderService-accesses-OrderDB
Payment Service qr-PaymentService-accesses-PaymentDB
Reporting Service qr-ReportingService-accesses-OrderDB
Reporting Service qr-ReportingService-accesses-PaymentDB
Order Service qr-OrderService-accesses-SessionCache
Payment Service qr-PaymentService-accesses-SessionCache

qualifiedAssignment 5

SourceTarget
order-service container qr-OrderContainer-assignedTo-OrderService
payment-service container qr-PaymentContainer-assignedTo-PaymentService
notification-service container qr-NotificationContainer-assignedTo-NotificationService
fraud-detection container qr-FraudContainer-assignedTo-FraudDetectionService
reporting-service container qr-ReportingContainer-assignedTo-ReportingService

qualifiedDeployment 5

SourceTarget
order-service container qr-OrderContainer-deployedIn-ProdCluster
payment-service container qr-PaymentContainer-deployedIn-ProdCluster
notification-service container qr-NotificationContainer-deployedIn-ProdCluster
fraud-detection container qr-FraudContainer-deployedIn-ProdCluster
reporting-service container qr-ReportingContainer-deployedIn-ProdCluster

qualifiedPublishing 3

SourceTarget
Order Service qr-OrderService-publishesTo-OrderEvents
Payment Service qr-PaymentService-publishesTo-PaymentEvents
Fraud Detection Service qr-FraudDetectionService-publishesTo-FraudAlerts

qualifiedServing 2

SourceTarget
Payment API Gateway qr-PaymentGateway-serves-OrderService
Payment API Gateway qr-PaymentGateway-serves-PaymentService

qualifiedSubscription 6

SourceTarget
Payment Service qr-PaymentService-subscribesTo-OrderEvents
Notification Service qr-NotificationService-subscribesTo-PaymentEvents
Notification Service qr-NotificationService-subscribesTo-FraudAlerts
Fraud Detection Service qr-FraudDetectionService-subscribesTo-PaymentEvents
Reporting Service qr-ReportingService-subscribesTo-OrderEvents
Reporting Service qr-ReportingService-subscribesTo-PaymentEvents

serves 2

SourceTarget
Payment API Gateway Order Service
Payment API Gateway Payment Service

source 27

SourceTarget
qr-PaymentGateway-serves-OrderService Payment API Gateway
qr-PaymentGateway-serves-PaymentService Payment API Gateway
qr-OrderService-accesses-OrderDB Order Service
qr-PaymentService-accesses-PaymentDB Payment Service
qr-ReportingService-accesses-OrderDB Reporting Service
qr-ReportingService-accesses-PaymentDB Reporting Service
qr-OrderService-accesses-SessionCache Order Service
qr-PaymentService-accesses-SessionCache Payment Service
qr-OrderService-publishesTo-OrderEvents Order Service
qr-PaymentService-publishesTo-PaymentEvents Payment Service
qr-FraudDetectionService-publishesTo-FraudAlerts Fraud Detection Service
qr-PaymentService-subscribesTo-OrderEvents Payment Service
qr-NotificationService-subscribesTo-PaymentEvents Notification Service
qr-NotificationService-subscribesTo-FraudAlerts Notification Service
qr-FraudDetectionService-subscribesTo-PaymentEvents Fraud Detection Service
qr-ReportingService-subscribesTo-OrderEvents Reporting Service
qr-ReportingService-subscribesTo-PaymentEvents Reporting Service
qr-OrderContainer-assignedTo-OrderService order-service container
qr-OrderContainer-deployedIn-ProdCluster order-service container
qr-PaymentContainer-assignedTo-PaymentService payment-service container
qr-PaymentContainer-deployedIn-ProdCluster payment-service container
qr-NotificationContainer-assignedTo-NotificationService notification-service container
qr-NotificationContainer-deployedIn-ProdCluster notification-service container
qr-FraudContainer-assignedTo-FraudDetectionService fraud-detection container
qr-FraudContainer-deployedIn-ProdCluster fraud-detection container
qr-ReportingContainer-assignedTo-ReportingService reporting-service container
qr-ReportingContainer-deployedIn-ProdCluster reporting-service container

subscribesTo 6

SourceTarget
Payment Service order-events
Notification Service payment-events
Notification Service fraud-alerts
Fraud Detection Service payment-events
Reporting Service order-events
Reporting Service payment-events

target 27

SourceTarget
qr-PaymentGateway-serves-OrderService Order Service
qr-PaymentGateway-serves-PaymentService Payment Service
qr-OrderService-accesses-OrderDB Orders Database
qr-PaymentService-accesses-PaymentDB Payments Database
qr-ReportingService-accesses-OrderDB Orders Database
qr-ReportingService-accesses-PaymentDB Payments Database
qr-OrderService-accesses-SessionCache Session Cache (Redis)
qr-PaymentService-accesses-SessionCache Session Cache (Redis)
qr-OrderService-publishesTo-OrderEvents order-events
qr-PaymentService-publishesTo-PaymentEvents payment-events
qr-FraudDetectionService-publishesTo-FraudAlerts fraud-alerts
qr-PaymentService-subscribesTo-OrderEvents order-events
qr-NotificationService-subscribesTo-PaymentEvents payment-events
qr-NotificationService-subscribesTo-FraudAlerts fraud-alerts
qr-FraudDetectionService-subscribesTo-PaymentEvents payment-events
qr-ReportingService-subscribesTo-OrderEvents order-events
qr-ReportingService-subscribesTo-PaymentEvents payment-events
qr-OrderContainer-assignedTo-OrderService Order Service
qr-OrderContainer-deployedIn-ProdCluster Production Cluster (eu-west-1)
qr-PaymentContainer-assignedTo-PaymentService Payment Service
qr-PaymentContainer-deployedIn-ProdCluster Production Cluster (eu-west-1)
qr-NotificationContainer-assignedTo-NotificationService Notification Service
qr-NotificationContainer-deployedIn-ProdCluster Production Cluster (eu-west-1)
qr-FraudContainer-assignedTo-FraudDetectionService Fraud Detection Service
qr-FraudContainer-deployedIn-ProdCluster Production Cluster (eu-west-1)
qr-ReportingContainer-assignedTo-ReportingService Reporting Service
qr-ReportingContainer-deployedIn-ProdCluster Production Cluster (eu-west-1)

Statistics

Elements

47
APIGateway1
Access6
Assignment5
CacheStore1
Container5
Deployment5
EventTopic3
KubernetesCluster1
ManagedDatabase2
MessageBroker1
Microservice5
ObservabilityStack1
Publishing3
Serving2
Subscription6

Relationships

140
accesses6
assignedTo5
deployedIn5
inModel32
publishesTo3
qualifiedAccess6
qualifiedAssignment5
qualifiedDeployment5
qualifiedPublishing3
qualifiedServing2
qualifiedSubscription6
serves2
source27
subscribesTo6
target27