X-MGPANEL-FUNCTIONS-KEY (o X-Functions-Key), o querystring ?token=/?key=. Si la función no tiene tokens configurados, el acceso es libre. Este es el endpoint pensado para llamarse directamente desde el navegador del sitio cliente, sin exponer la API key de MGPanel.curl --location 'https://app.mgpanel.co/api/functions/miguayaba/estado-factura?token=&invoice_id=507f1f77bcf86cd799439011' \
--header 'X-MGPANEL-FUNCTIONS-KEY;' \
--header 'X-Account-Nick: {{ACCOUNT_NICK}}' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json'{
"success": true,
"message": "Solicitud proxy ejecutada correctamente.",
"data": {
"invoice_id": "507f1f77bcf86cd799439011",
"status": "paid"
}
}