Typescript SDK Type Docs
    Preparing search index...

    Interface UpdatedFields

    Generated when some fields provided in the Checkout initialization request are invalid and have been updated to match our schema. An array of updates will be provided with a sequence of edits used to transform an invalid value into a valid one.

    interface UpdatedFields {
        code: "updated_fields";
        correlationId: string;
        message: string;
        payload: any;
        severity: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: "updated_fields"

    Message code for the event.

    correlationId: string

    Unique identifier of the event.

    message: string

    Some fields are invalid and have been updated.

    payload: any

    Contains two arrays: - invalidFields contains a list of invalid fields with the related schema, path, value and message properties. - updatedFields contains the updated fields with its related type, path and value properties, where type can be update|insert|delete.

    severity: string

    warn