3rd Party Payment Gateway Integration in India

So some of the few payment option available in india is ccAvenue, But I fail to find any proper documentation or example which actually help me to integrate payment gateway externally. Still figuring out how this can be achieved :pensive: