add api call to credit certificates from old system