Revoke an active consent to immediately terminate data sharing authorization and prevent future data fetches.
| Header | Type | Required | Description |
|---|---|---|---|
Content-Type | string | Yes | Must be set to application/json to indicate the request body format. |
client_id | string | Yes | Your unique client identifier provided by MoneyOne during FIU onboarding. This credential identifies your organization in the FinPro system. |
client_secret | string | Yes | Your confidential client secret provided by MoneyOne. This must be kept secure and never exposed in client-side code or public repositories. |
organisationId | string | Yes | Your organization’s unique identifier in the FinPro system. This is assigned during onboarding and links all API calls to your FIU entity. |
appIdentifier | string | Yes | Application-specific identifier that helps track which application or service within your organization is making the API call. Useful for multi-application FIU setups. |
| Parameter | Type | Required | Description |
|---|---|---|---|
consentID | string | Yes | The unique consent identifier that was assigned by the Account Aggregator when the customer approved the consent. This is the consentID field returned in consent list APIs or provided in consent approval webhook notifications. This must be an active, valid consent ID to be eligible for revocation. |
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Ensure you’re using the correct consent ID and not confusing it with the consent handle.ACTIVE or PAUSED status can be revoked. Attempting to revoke a consent that is already REVOKED, REJECTED, EXPIRED, or PENDING will result in an error.| Field | Type | Description |
|---|---|---|
ver | string | The version of the FinPro API that processed this request. Useful for debugging and version tracking. |
status | string | Overall API call status. Will be success when the revocation was processed successfully. |
message | string | A human-readable confirmation message indicating that the consent was successfully revoked. This message can be displayed to users or logged for audit purposes. |
REVOKED immediately. Any in-flight or future data fetch requests using this consent will be rejected.CONSENT and event status CONSENT_REVOKED.| Field | Type | Description |
|---|---|---|
ver | string | The version of the FinPro API that processed this request. |
timestamp | string | ISO 8601 formatted timestamp indicating when the error occurred. Useful for debugging and correlating with server logs. |
errorCode | string | A human-readable error code indicating the category of error. Common values include InvalidStatus, InvalidRequest, AuthenticationFailed, etc. |
errorMsg | string | A detailed error message explaining what went wrong. This provides specific information about why the revocation failed and what the current state of the consent is. |
| Error Code | Status Code | Description | Resolution |
|---|---|---|---|
InvalidRequest | 400 | The request body is malformed, missing the consent ID, or contains an invalid consent ID format. | Verify that the consentID field is present and contains a valid UUID format. Check that you’re using the consent ID (not consent handle). |
InvalidStatus | 400 | The consent is not in a status that allows revocation. This occurs when trying to revoke consents that are already REVOKED, REJECTED, EXPIRED, or still PENDING. | Check the current consent status using the Consent List APIs before attempting revocation. Only ACTIVE and PAUSED consents can be revoked. |
ConsentNotFound | 404 | The specified consent ID does not exist in the system or does not belong to your organization. | Verify that you’re using the correct consent ID. Check that the consent belongs to your organization by querying the Consent List APIs first. |
AuthenticationFailed | 401 | The provided credentials (client_id, client_secret, organisationId) are invalid or expired. | Verify your credentials in the FinPro admin portal. Ensure you’re using the correct credentials for the environment (UAT vs Production). |
UnauthorizedAccess | 403 | The consent exists but belongs to a different organization, or you don’t have permission to revoke it. | Ensure the consent was created by your organization. Verify that your API credentials have the necessary permissions for revocation operations. |
ACTIVE or PAUSED status to avoid unnecessary error responses. Use the Consent List APIs to check current status.