This php script contains sample code for making API calls to Gharpay.