How do you access the "Billing > Payment Activity" via Graph API?
1

I am trying to get my daily transactions via the Graph API. I can't seem to find the edge that supports that. Can some please direct me where to find that documentation? Thank you!

Tim
Asked about 2 months ago
Александр

I have the same problem. I've found that one can track events related to ad account using activities endpoint

act_{{ADACCOUNTID}}/activities?fields=event_type,extra_data,object_type,date_time_in_timezone,event_time,object_name,application_id,object_id,actor_id,actor_name,application_name,translated_event_type

One can see billing events with event_type = ad_account_billing_charge. Then, extra_data field of the answer contains common info on this event. Unfortunately, it doesn't contain payment details, just transaction id. And I cannot find what endpoint I could use to fetch transaction details for that id.

Hope, it will help. Please, share the solution, if you are more lucky to find it.

August 9 at 12:59 AM