Python PayTrail REST api implementation