Payment API wrapper