integrating with dpc api