Void Rate Lock

Pricing engine integrations can use the VOID_LOCK action to void a pricing event, such as a lock, relock, extension, denial, or cancellation, and return the loan to its previous state.

šŸ“˜

Prerequisite

The product must be entitled to the VOID_LOCK action to use it in a transaction PATCH.

To entitle a product, add the action to the response.results array of the relevant request type within $.entitlements.data.transaction:

  {
    "action": "VOID_LOCK",
    "formats": [
      "application/vnd.productpricing-voidlock-1.0.0.json"
    ]
  }

The specific fields that are sent as part of the response loan data follow the standard data entitlement model and process.

{
   "status": "completed",
   "loanFormat": "application/vnd.plm-2.0.0+json",
   "loan": {
      ... // Additional loan data, sent as part of standard transaction loan update
   },
   "result": {
      "format": "application/vnd.productpricing-voidlock-1.0.0.json",
      "action": "VOID_LOCK",
      "details": {
         ... // Action details
      }
   },
   "partnerStatus": "partner status"
}

šŸ“˜

format and action

The Encompass Partner Connect (EPC) Platform uses $.result.format and $.result.action to determine how to process the action details sent in the transaction PATCH payload. Make sure you use:

"format": "application/vnd.productpricing-voidlock-1.0.0.json"
"action": "VOID_LOCK"

FieldAdditional Information
$.result.details.lockIdRequired. ID of the rate lock to void. Must be a valid UUID.
$.result.details.commentsRequired. Reason for voiding the pricing event.

Unlike the DENY action, VOID_LOCK always requires a lockId.

The complete list of supported fields in the VOID_LOCK action details object is defined in the JSON schema below. You can use online tools such as JSON Schema Validator to manually validate the contents of a details object.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "description": "JSON representation of a void lock request transaction result.",
  "validationMessage": {
    "uuidPattern": "UUID. It must be a valid UUID format"
  },
  "properties": {
    "lockId": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "validationMessage": {
        "$ref": "#/validationMessage/uuidPattern"
      }
    },
    "comments": {
      "type": "string"
    }
  },
  "required": [
    "lockId",
    "comments"
  ],
  "additionalProperties": false
}

Below is a sample request payload:

{
  "status": "completed",
  "result": {
    "format": "application/vnd.productpricing-voidlock-1.0.0.json",
    "action": "VOID_LOCK",
    "details": {
      "lockId": "84dc19a5-24be-485a-831e-2420b92608e2",
      "comments": "Voiding the relock that was submitted in error"
    }
  },
  "partnerStatus": "partner status"
}

Did this page help you?