Fixed ref attr in payload
Altered response codes
v0.2.1