How to get list of addons on owned license

Here we have PHP code that will get addons list for some owned license:
And here is example XML response:
Please note: you can get only list of addons for owned license with this call! To get list of addons for hosted account you need to use this call.