Hello S.,
- Don't mix class, deployment and activity diagram?
- What is your goal?
Here is a proposal using deployment diagram, as:
@startuml
skinparam rectangle {
BackgroundColor #E0E0E0
BorderColor black
}
rectangle Customer
rectangle Bank
rectangle "Payment System" as Payment_System
Customer --> Payment_System : Payment Details
Payment_System --> Bank : Payment Request
Bank --> Payment_System : Payment Confirmation
Payment_System --> Customer : Payment Receipt
@enduml
Enjoy,
Regards,
Th.