Refactored payment to use scheme and authority from config