How to get an order payment by its ID?

Interface: \Magento\Sales\Api\OrderPaymentRepositoryInterface::get()

https://github.com/magento/magento2/blob/ffea3cd/app/code/Magento/Sales/Api/OrderPaymentRepositoryInterface.php#L26-L32

Implementation: \Magento\Sales\Model\Order\Payment\Repository::get()

Usages

1. \Magento\Sales\Block\Adminhtml\Transactions\Detail::_construct()

Details: How is a payment method’s canFetchTransactionInfo() used?

2. \Magento\Sales\Controller\Adminhtml\Transactions\Fetch::execute()

3. \Magento\Sales\Model\Order\Payment\Transaction::getOrderId()

https://github.com/magento/magento2/blob/ffea3cd/app/code/Magento/Sales/Model/Order/Payment/Transaction.php#L536-L556