Payment schedule

Does anyone know how use the api to obtain the payment schedule of a lead?