To add a new payment method, take the following high-level steps:

  1. Configure general payment method module options. Described in the topic.
  2. Configure payment method options. 
  3. Implement and configure payment method facade - the entity allowing to process payment actions between Magento sales management and payment processor. 
  4. Implement and configure payment actions (like authorize, void and so on)