[FEATURE] add validated query parameter to submit payment route

This feels a little inconsistent. Either use if/else or early returns for logic flow. Using both just makes me think there's something that needs to be evaded because of the return statement.