Updates supported top-level consent fields and fields within consentBody. Your financial institution calls this operation to record the authorization outcome and the customer and account information associated with the consent.
Parameters
Send only the supported fields that you intend to update. Properties such as consentBody.data.status are literal dotted keys in the JSON request; psuIdentifiers is a nested object. The request example shows this distinction.
psuIdentifiers.userId– identifies the customer. Populate it for successful authorization. If the journey ends before the customer is identified, do not invent an identifier.accountIds– the internal account identifiers selected for account-based access. If supplied, the array must contain at least one identifier.consentBody.data.status– the authorization outcome:Authorizedwhen approved orRejectedwhen rejected or abandoned.consentBody.data.abandonedByStage– required when the same request sets the status toRejected. Omit it otherwise. Enum values retain their defined spelling, includingpreAuthorisation.
Ozone maintains interactionId; your financial institution must not set it. See the individual field descriptions for other supported updates and baseline validation limitations.
Outcomes
A successful request returns 204 without a response body. After recording successful authorization, call the Authorization Server's doConfirm operation. For an unsuccessful journey, record the applicable rejection information before calling doFail; doFail does not update the consent itself.
This operation does not complete the Authorization Server interaction. Use the dedicated revoke operations when withdrawing consent rather than manually populating revocation fields.
204The request was successful. No content is returned.