[FEATURE] add validated query parameter to submit payment route

Good job on documenting these methods