https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Block/Adminhtml/Order/View.php#L190-L207
Details: How is \Magento\Sales\Model\Order::canReviewPayment() implemented and used?
\Magento\Sales\Model\Order::canReviewPayment()
https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Block/Adminhtml/Order/View.php#L455-L464
https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Controller/Adminhtml/Order/ReviewPayment.php#L19-L26
https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Controller/Adminhtml/Order/ReviewPayment.php#L34-L37
https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Model/Order/Payment.php#L852-L857
https://github.com/magento/magento2/blob/8fd3e8/app/code/Magento/Sales/Model/Order/Payment.php#L859-L879
See also:
canReviewPayment()
acceptPayment()
denyPayment()