I wrote a RESTlet in SS1 that would create a transaction record for you or update an existing one using a JSON object as it's input.
I think the copy I have is the latest version but it's a couple years since I wrote it and was at a previous position.
If you think it would be useful to use / look at I can send the file your way?