How to hook payment created on commerce 2
One option would be to use hook_entity_create() but I would rather react on Order transition event, such as commerce_order.place.post_transition which is triggered when Order reaches Completed state.