Hello Senxian,
right now, the destination API does not allow access to destination configuration, except of the configured URL. That's the bad news. But the good one is that we are now working on extending this API, so soon you will be able to access destination configuration from the application.
Regards,
Timo