payment state
2

Hello, I would like to know how I could check if a Facebook Ads account has successfully registered a valid payment method, as I would like to confirm that users have properly provided a valid payment method before launching an advertising campaign. If anyone knows the endpoint with the field to determine the status, it would greatly help me.

Maxence
Asked about 3 months ago
Ilyas

You can use the Facebook Business Manager API. Specifically, you would need to query the Payment Methods endpoint. By making a request to this endpoint, you can retrieve information about the payment methods associated with the account. Here are the steps you can follow: Authenticate your application with the necessary permissions to access the Facebook Business Manager API. Make a GET request to the Payment Methods endpoint for the specific Facebook Ads account in question. Parse the response to determine if there are any payment methods registered. Check the status field of each payment method object to verify if it's valid.

February 16 at 1:31 PM