@startuml
title <u>IVR flow </u>
alt Call from IVR to QV and then to CSM  
autonumber
"IVR" -> "QV" : Call comes from IVR to QV
"QV" -> "RSP Token Service" : Generates Token
"QV" -> "CSM" : Toggles to CSM with Token containing UCID
"CSM" -> "Context Store" :Pass UCID to fetch call variables via MW API GetICMCallRoutingContext
"CSM" <-- "Context Store": XML response:Call variables(including ANI)
end
alt Call from IVR to CSM 
autonumber
"IVR" -> "CSM" : Call comes from IVR to CSM 
"CSM" -> "Context Store" :Pass UCID to fetch call variables via MW API GetICMCallRoutingContext
"CSM" <-- "Context Store": XML response:Call variables(including ANI)
end
autonumber 6
"CSM" -> "Payment Widgets \n Autopay/SchedulePay/PaymentArrangement" : Send ANI and WalletAccessIndicators
"CSM" -> "OneTimePayment Widgets \n Shoulder/Collection/Quotation" : Send ANI and WalletAccessIndicators
"Payment Widgets \n Autopay/SchedulePay/PaymentArrangement" -> "DPS" : Send ANI in the DPS APIs
"OneTimePayment Widgets \n Shoulder/Collection/Quotation" -> "PaymentAPP" : Send ANI in the Payment APP APIs
@enduml