Overview

The payment service provides a common interface to multiple payment gateways and is responsible for orchestrating calls to the payment gateways, handling callbacks from the gateways and updating a user profile’s resources accordingly.

The service focuses on enabling users to make one-time payments for TVOD content or to enter into a recurring billing agreement for SVOD content.

Responsibilities

  • Common interface for multiple payment gateway APIs
  • Extensible payment gateway integration using the adapter pattern
  • Common workflows for purchasing TVOD and SVOD content
  • Validating and applying vouchers against transactional sales to discount amount due
  • Trigger notifications for payment events

Context diagram

Context diagram

Further Reading

Full reference docs are available here.