[FEATURE] Build payment first in outgoing.js process.
[FEATURE] Add build_payment function.