Transaction create method (via json)