curl --location 'https://app.mgpanel.co/api/functions/estado-factura' \
--header 'X-Account-Nick: {{ACCOUNT_NICK}}' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json'{
"success": true,
"data": {
"_id": "68f1a2b3c4d5e6f7a8b9c0d1",
"endpoint": "estado-factura",
"title": "Estado de factura",
"status": 1,
"executionType": "predefinida",
"handler": "proxy-rest",
"configuration": {
"method": "GET",
"baseUrl": "https://mgpanel.co",
"path": "api/invoices/{invoice_id}/status",
"allowedClientPath": [
"invoice_id"
],
"headers": {
"Authorization": "***"
}
},
"metadata": {
"allowedMethods": [
"GET"
],
"allowedHeaders": []
}
}
}