[FEATURE] Add sinon spy lib to package.json.
[TEST] build payment calls get to payments url.
[FEATURE] Add build payment function to client.