Cancel Rate Lock (v1.1)

Pricing engine integrations can request to cancel a confirmed rate lock by using the CANCEL action supported by the custom transaction result operations. The CANCEL action accepts an optional comments attribute, where the integration can provide the cancellation reason or other free-form text to be recorded.

📘

Schema versions

This page documents application/vnd.productpricing-cancellock-1.1.0.json. The only change from version 1.0.0 is that comments is optional.

To use this version, make sure the format is included in the formats registered for the CANCEL action in your product entitlements.

For step-by-step migration instructions, see the Cancel Rate Lock v1.0 to v1.1 Migration Guide.

Below is the JSON schema for the CANCEL transaction result details object:

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "comments": {
      "type": "string",
      "description": "Reason for cancellation"
    }
  },
  "additionalProperties": false
}

🚧

Rate lock CANCEL operation constraints

The CANCEL result action can be performed only if there is a confirmed rate lock on the subject loan. If the loan does not have a confirmed rate lock, the cancel request is not applicable and returns an error.

Below is a sample payload for the cancel request operation:

{
  "status": "completed",
  "result": {
    "format": "application/vnd.productpricing-cancellock-1.1.0.json",
    "action": "CANCEL",
    "details": {
      "comments": "Canceling lock, as borrower changed their mind"
    }
  }
}

Sincecomments is optional in this version, "details": {} is also a valid cancel request.


Did this page help you?