New customer purchases OTT subscription using Credit Card

This guide details the journey for a new customer subscribing to OTT using Credit Card. You'll find both the customer-facing flow and system-level sequence, complete with API endpoint paths and CRM/contract event mappings. Use it to align the UX journey with backend specifications — and contact us if you’d like enhanced Postman or Swagger definitions for integration testing.

Customer perspective

%%{init: {
"theme": "neutral",
"look": "classic"
}}%%
flowchart TD
    A([Start]) --> B{Does username exist}
    B --Yes--> C[Route to existing login]
    B --No--> D[Register as new customer]

    D --> E[View product catalogue filtered by country and itemType]
    E --> F[Initiate payment method]
    F --> G[Redirect to PSP for card entry and 3DS authentication]
    G --> H[Confirm payment method]
    H --> I[Add items to cart]
    I --> J[Checkout]
    J --> K([End])

System perspective

%%{init: {
"theme": "neutral",
"look": "classic"
}}%%
sequenceDiagram
    participant C as Customer
    participant W as Web
    participant CRS as CustomerRegistrationService
    participant Cat as CatalogueService
    participant Pay as PaymentService
    participant PSP as PaymentServiceProvider
    participant Cart as CartService

    C->>W: Start
    W->>CRS: queryIfUserNameExists
    alt Username exists
        W-->>C: Route to existing login
    else Username not found
        W->>CRS: registerCustomer
        CRS-->>W: success

        W->>Cat: getCatalogue
        Cat-->>W: catalogue items (filtered by country and itemType)

        W->>Pay: createPaymentMethod
    Pay-->>W: redirect required

    W->>PSP: Redirect customer to PSP
    C->>PSP: Enter card details & complete 3DS auth
    PSP-->>W: payment auth result
    W->>Pay: confirmPaymentMethod
    Pay-->>W: paymentMethodId

        W->>Cart: addItemsToCart
        Cart-->>W: items added

        W->>Cart: checkoutCart
        Cart-->>W: checkout complete
    end

    W-->>C: End