Burada Bigpara API ile bir örnek göstermiştim. İşinize yarayabilir belki.
https://www.r10.net/1072544701-post3.html