We study boundary value problems (BVPs for short) for the inte\-gro-differential equations via $\psi$-fractional derivative. The results are obtained by using the contraction mapping principle and Schaefer's fixed point theorem. In addition, we discuss the Ulam--Hyers stability.