In Polchinski's String Theory, section 6.2, the tree level amplitude for open strings with higher vertices are given (6.2.18-20).
The amplitude
⟨∏i[eiki⋅X(zi,¯zi)]r∏j∂Xμj(z′j)∏kˉ∂Xνk(ˉz″k)⟩
yields result
other terms ×⟨∏j[vμj+qμj]∏k[˜vμk+˜qμk]⟩
However I could not repeat the calculation there. To be specific, I don't know what source term J corresponds to the ∂Xμ terms in the amplitude. Could you help me with this or point out some notes with more detailed calculation?