status, version y environment omitidos tambien se conservan.deactivated. Un proveedor limitado a otro pais devuelve 403 en vez de aplicarse.curl --location --request PATCH 'https://app.mgpanel.co/api/integrations/stripe' \
--header 'X-Account-Nick: {{ACCOUNT_NICK}}' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"status": 1,
"environment": "test",
"credentials": {
"publishable_key": "pk_test_123",
"secret_key": "sk_test_456"
}
}'{
"success": true,
"message": "Integracion actualizada",
"integration": {
"integration_id": "stripe",
"name": "Stripe",
"category": "apis",
"description": "Pasarela de pago internacional",
"countries": null,
"versions": [
"v1"
],
"environments": [
"test",
"live"
],
"active": true,
"version": "v1",
"environment": "test",
"credentials": [
{
"id": "publishable_key",
"name": "Publishable key",
"type": "text",
"is_set": true
},
{
"id": "secret_key",
"name": "Secret key",
"type": "password",
"is_set": true
},
{
"id": "webhook_secret",
"name": "Webhook secret",
"type": "password",
"is_set": false
}
]
},
"deactivated": [
"ebipac"
]
}