Depending on the calculation logic for the given service delivery, the microservice will call the Billing Service to generate a demand. Based on this demand a bill will be generated against which a payment can be made. To pay for the given bill, the citizen can do either online payment or can pay at the counter(offline payment). For online payment, the Payment Gateway Service is called which is integrated with third party service providers. Based on the selected provider the citizen will be routed to the provider's website and after successful payment will be routed back to the Citizen UI. Collection service is the payment registry and records all the successful payments. For Offline payments, a record is made in collection service after collection of the Cash/Cheque/DD/RTGS(Allowed payment modes are configurable). The PDF service is used to generate receipts based on a configurable template.