I am using the following API to check whether a payment method has been added successfully to Meta business or not:
GET /v21.0/{whats-app-business-account-id}/payment_configuration HTTP/1.1
Host: graph.facebook.com
The app has all the required permissions, but I am encountering the following error:
{
"error": {
"message": "(#10) Application does not have permission for this action",
"type": "OAuthException",
"code": 10,
"error_data": {
"messaging_product": "whatsapp",
"details": "Application does not have permission for this action."
},
"fbtrace_id": "AHSIK-Fc9KJHjsmfycS19QH"
}
}
Question:
1. What could be causing this error despite having all the necessary permissions?
2. Are there additional steps or configurations required to access the payment configuration endpoint?