Get total customer loyalty point via REST API

Hello,
Is there anyway to get total loyalty point of a customer via api?
I have checked in customer detail api result but total loyalty point not in there.
Please help advise me how can I get this info.

Thanks,

Hi
I just found that all loyalty point earn and redeem are store in Loyalty Point Entry doctype.
I can sql statement to sum it by myself and return via new rest api url.
but I don’t know where should write this api method and how to access it.

Could anyone point this out to me?

Thanks,