Get Billing & Payments data

Hello everybody!

I’m trying to create a page to view all the data from the Billing & Payments page (screenshot above) in an excel type format. Aim is to view the data and keep record of the payment history for better management.

Is there an api or any other way to get these data?