In setAttributes im unable to set api Internal properties to a Variable

Hi guys I am calling an API and response is Stored into “result” in that response i have Internal properties, I need to set those properties values in setAttribute but I am not can you guyts help me out?
attribute → prepaidFlag , value → {{}}