Files
digifi-swagger/paths/RevokeEnableConsent.json
2025-03-24 15:15:31 +01:00

58 lines
1.6 KiB
JSON

{
"post": {
"tags": [
"RevokeEnableConsent"
],
"summary": "Revoke or Enable Consent Request",
"description": "This endpoint is used to notify FirstBank about the processing of a customer consent request. It allows Simbrella to inform FirstBank when a customer's consent has been either enabled or revoked.",
"operationId": "revokeEnableConsent",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest.json"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest.json"
}
}
}
},
"responses": {
"200": {
"description": "Consent status update successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
},
"security": [
{
"api_key": []
}
]
}
}