Change the payment method of an ad account using the API
1

The Ad Account object (https://developers.facebook.com/docs/marketing-api/reference/ad-account#overview) has the read-only field funding_source that shows the id of the current payment method (e.g., a credit line). Is there a way to programmatically change the payment method? On an existing ad account or when a new ad account is created.

For example, on an ad account set the funding_source=<credit_line_id>, where the credit line id is fetched through the endpoint https://graph.facebook.com/v21.0/<business_id>/extendedcredits. Looking at the documentation there is not a clear answer on how to do it.

Thank you!

Simone
Вопрос задан около месяца назад