Rate Relock and Confirm

Rate Relock and Confirm (v1)

The RELOCK_CONFIRM action enables pricing engine integrations to relock an existing rate lock and confirm the relock in a single operation. The relock fields are the same as those of the RELOCK action; in addition, the integration sends the confirmed buySide information and can send sellSide and comparison information.

📘

Schema versions

This page documents application/vnd.productpricing-relock-and-confirm-1.0.0.json. Version 2.0.0 restructures details into request, buy, sell, and comparison sides. See Rate Relock and Confirm v2.

📘

Prerequisite

The product must be entitled to the RELOCK_CONFIRM 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": "RELOCK_CONFIRM",
    "formats": [
      "application/vnd.productpricing-relock-and-confirm-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-relock-and-confirm-1.0.0.json",
      "action": "RELOCK_CONFIRM",
      "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-relock-and-confirm-1.0.0.json"
"action": "RELOCK_CONFIRM"

FieldAdditional Information
$.result.details.lockIdRequired. ID of the rate lock to relock and confirm. Must be a valid UUID.
$.result.details.copyLoanDataOptional. When true, copies loan data from the loan to the pricing request.
$.result.details.dataSyncOptionOptional. Allowed values: NoSync, syncLockToLoan.
$.result.details.buySideOptional. Confirmed buy side values.
$.result.details.sellSideOptional. Sell side values.
$.result.details.comparisonOptional. Comparison side values.

Dates use the MM/DD/YYYY format.

The complete list of supported fields in the RELOCK_CONFIRM 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",
  "validationMessage": {
    "oneOf": "Two of lockDate, lockNumberOfDays and lockExpirationDate are required.",
    "oneOfSub": "Two of lockDate, lockNumberOfDays and lockExpirationDate are required.",
    "oneOfBuySideSub": "Two of lockDate, lockNumberOfDays and lockExpirationDate are required.",
    "oneOfAdditionalFields": "fieldName and one of stringValue, numericValue and dateValue is required.",
    "datePattern": "Date should be in the format MM/DD/YYYY.",
    "timePattern": "Time should be in the format HH:MM",
    "uuidPattern": "UUID. It must be a valid UUID format"
  },
  "properties": {
    "copyLoanData": {
      "type": "boolean",
      "description": "When true, copies loan data from the loan to the pricing request."
    },
    "dataSyncOption": {
      "type": "string",
      "enum": [
        "NoSync",
        "syncLockToLoan"
      ],
      "description": "Specifies the data synchronization option between the rate lock and the loan."
    },
    "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"
      }
    },
    "extensionIndicator": {
      "type": "boolean",
      "description": ""
    },
    "priceConcession": {
      "type": "object",
      "properties": {
        "indicator": {
          "type": "boolean",
          "description": ""
        },
        "requestStatus": {
          "type": "string",
          "enum": [
            "Approved",
            "Denied"
          ],
          "description": ""
        },
        "requestedAmount": {
          "$ref": "#/definitions/numericField",
          "description": ""
        }
      }
    },
    "borrLenderPaid": {
      "type": "string",
      "enum": [
        "Lender Paid",
        "Borrower Paid",
        "Exempt"
      ],
      "description": ""
    },
    "programNotes": {
      "type": "string",
      "description": "Free form Rate Lock Request Program Notes."
    },
    "investor": {
      "type": "string",
      "description": ""
    },
    "planCode": {
      "type": "string",
      "description": ""
    },
    "onrpTime": {
      "type": "string",
      "$ref": "#/definitions/timePattern",
      "description": ""
    },
    "lockDate": {
      "$ref": "#/definitions/datePattern",
      "description": ""
    },
    "lockExpirationDate": {
      "$ref": "#/definitions/datePattern",
      "description": ""
    },
    "lockNumberOfDays": {
      "$ref": "#/definitions/integerField",
      "description": ""
    },
    "adjustments": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/adjustmentItem"
      },
      "minItems": 1,
      "description": ""
    },
    "additionalFields": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/additionalFieldItem"
      },
      "minItems": 1,
      "description": "Additional fields in the rate lock."
    },
    "lastRateSetDate": {
      "$ref": "#/definitions/datePattern",
      "description": ""
    },
    "correspondentCommitmentType": {
      "type": "string",
      "enum": [
        "Best Efforts",
        "Mandatory"
      ],
      "description": "Type of lock associated with the correspondent trade."
    },
    "correspondentDeliveryType": {
      "type": "string",
      "description": "The processing method of the commitment."
    },
    "isDeliveryType": {
      "type": "boolean",
      "description": "Gets set based on the committment type."
    },
    "hedging": {
      "type": "boolean",
      "description": "A flag to indicate whether a loan is part of the hedge."
    },
    "onrpDate": {
      "$ref": "#/definitions/datePattern",
      "description": ""
    },
    "onrpLock": {
      "type": "boolean",
      "description": ""
    },
    "onrpEligible": {
      "type": "boolean",
      "description": ""
    },
    "teaserRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "disclosureType": {
      "type": "string",
      "description": ""
    },
    "indexCurrentValuePercent": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "buydownType": {
      "type": "string",
      "description": ""
    },
    "pudIndicator": {
      "type": "boolean",
      "description": ""
    },
    "notInProjectIndicator": {
      "type": "boolean",
      "description": ""
    },
    "penaltyTerm": {
      "type": "string",
      "enum": [
        "1 Year",
        "2 Years",
        "3 Years",
        "4 Years",
        "5 Years",
        ""
      ],
      "description": "It is the period of the prepaid penalty."
    },
    "currentAcquisition": {
      "type": "boolean",
      "description": "The lot/land status of the property"
    },
    "currentConstructionRefi": {
      "type": "boolean",
      "description": "Indicated whether a refinance is being done on the construction."
    },
    "prepayPenalty": {
      "type": "boolean",
      "description": "Indicates whether there is a prepayment penalty on the loan."
    },
    "startingAdjustRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "startingAdjustPrice": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "unDiscountedRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "gpmRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "gpmYears": {
      "$ref": "#/definitions/integerField",
      "description": ""
    },
    "baseRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "basePrice": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "baseMarginRate": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "rateSheetId": {
      "type": "string",
      "description": ""
    },
    "requestImpoundWaived": {
      "type": "string",
      "enum": [
        "Waived",
        "Not Waived",
        ""
      ],
      "description": "Indicates whether any portion of the payment will be part of an escrow account."
    },
    "requestImpoundType": {
      "type": "string",
      "enum": [
        "No Impounds",
        "Insurance only",
        "Taxes only",
        "Taxes and Insurance",
        ""
      ],
      "description": "Describes what portion of the payment will have an escrow account."
    },
    "impoundWaived": {
      "type": "string",
      "enum": [
        "Waived",
        "Not Waived",
        ""
      ],
      "description": "Indicates waiver of impound/escrow account requirement for the subject mortgage transaction."
    },
    "impoundType": {
      "type": "string",
      "enum": [
        "No Impounds",
        "Insurance only",
        "Taxes only",
        "Taxes and Insurance",
        ""
      ],
      "description": "Waiver type of impound/escrow account requirement for the subject mortgage transaction."
    },
    "lenderFeeWaiverOption": {
      "type": "boolean",
      "description": "Indicates whether a lender will waive their fees."
    },
    "sellerPaidMiPremium": {
      "$ref": "#/definitions/integerField",
      "description": "Lock Request Seller Paid MI Premium"
    },
    "fhaUpfrontMiPremiumPercent": {
      "$ref": "#/definitions/numericField",
      "description": ""
    },
    "roundToNearest50": {
      "type": "boolean",
      "description": ""
    },
    "pricing": {
      "type": "object",
      "properties": {
        "historyData": {
          "type": "string",
          "minLength": 1
        },
        "updated": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "historyData"
      ],
      "additionalProperties": false
    },
    "comments": {
      "type": "string",
      "description": ""
    },
    "buySide": {
      "type": "object",
      "properties": {
        "commitment": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "Best Efforts",
                "Mandatory"
              ]
            },
            "number": {
              "type": "string",
              "description": "Commitment number associated with the trade."
            },
            "date": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "masterCommitmentNumber": {
              "type": "string",
              "description": "Master commitment number associated with the trade."
            },
            "investorCommitment": {
              "type": "string",
              "description": ""
            }
          },
          "additionalProperties": false
        },
        "onrpDate": {
          "$ref": "#/definitions/datePattern",
          "description": ""
        },
        "onrpEligible": {
          "type": "boolean",
          "description": ""
        },
        "tpoName": {
          "type": "string",
          "description": ""
        },
        "tpoId": {
          "type": "string",
          "description": ""
        },
        "orgId": {
          "type": "string",
          "description": ""
        },
        "daysToExtend": {
          "$ref": "#/definitions/integerField"
        },
        "extendedLockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockExtendPriceAdjustment": {
          "$ref": "#/definitions/numericField"
        },
        "expirationDate": {
          "$ref": "#/definitions/datePattern",
          "description": ""
        },
        "originalLockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "investor": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Name of the investor."
            }
          },
          "additionalProperties": false
        },
        "delivery": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "description": ""
            },
            "expirationDate": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            }
          },
          "additionalProperties": false
        },
        "totalBuyPrice": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "totalPrice": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "startingAdjustPrice": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "unDiscountedRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "totalRateAdjustments": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "netRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "totalPriceAdjustments": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "netPrice": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "totalMarginAdjustments": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "netMarginRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "startingAdjustRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "branch": {
          "type": "object",
          "properties": {
            "approvalDate": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy": {
              "type": "string",
              "description": ""
            },
            "price": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval": {
              "type": "string",
              "description": ""
            },
            "approvalDate2": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy2": {
              "type": "string",
              "description": ""
            },
            "price2": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval2": {
              "type": "string",
              "description": ""
            },
            "approvalDate3": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy3": {
              "type": "string",
              "description": ""
            },
            "price3": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval3": {
              "type": "string",
              "description": ""
            },
            "approvalDate4": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy4": {
              "type": "string",
              "description": ""
            },
            "price4": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval4": {
              "type": "string",
              "description": ""
            },
            "approvalDate5": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy5": {
              "type": "string",
              "description": ""
            },
            "price5": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval5": {
              "type": "string",
              "description": ""
            }
          },
          "additionalProperties": false
        },
        "corporate": {
          "type": "object",
          "properties": {
            "approvalDate": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy": {
              "type": "string",
              "description": ""
            },
            "price": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval": {
              "type": "string",
              "description": ""
            },
            "approvalDate2": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy2": {
              "type": "string",
              "description": ""
            },
            "price2": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval2": {
              "type": "string",
              "description": ""
            },
            "approvalDate3": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy3": {
              "type": "string",
              "description": ""
            },
            "price3": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval3": {
              "type": "string",
              "description": ""
            },
            "approvalDate4": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy4": {
              "type": "string",
              "description": ""
            },
            "price4": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval4": {
              "type": "string",
              "description": ""
            },
            "approvalDate5": {
              "$ref": "#/definitions/datePattern",
              "description": ""
            },
            "approvedBy5": {
              "type": "string",
              "description": ""
            },
            "price5": {
              "$ref": "#/definitions/numericField",
              "description": ""
            },
            "reasonForApproval5": {
              "type": "string",
              "description": ""
            }
          },
          "additionalProperties": false
        },
        "profitMarginAdjustedBuyPrice": {
          "$ref": "#/definitions/numericField"
        },
        "correspondent": {
          "type": "object",
          "properties": {
            "tradeId": {
              "type": "string",
              "description": ""
            },
            "tradeNumber": {
              "type": "string",
              "description": ""
            }
          },
          "additionalProperties": false
        },
        "lockDate": {
          "$ref": "#/definitions/datePattern",
          "description": ""
        },
        "lockExpirationDate": {
          "$ref": "#/definitions/datePattern",
          "description": ""
        },
        "lockNumberOfDays": {
          "$ref": "#/definitions/integerField",
          "description": ""
        },
        "baseRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "basePrice": {
          "$ref": "#/definitions/numericField"
        },
        "baseMarginRate": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "srpPaidOut": {
          "$ref": "#/definitions/numericField",
          "description": ""
        },
        "rateSheetId": {
          "type": "string",
          "description": ""
        },
        "lastRateSetDate": {
          "$ref": "#/definitions/datePattern",
          "description": ""
        },
        "comments": {
          "type": "string",
          "description": ""
        },
        "adjustments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/adjustmentItem"
          },
          "minItems": 1,
          "description": ""
        }
      },
      "additionalProperties": false
    },
    "sellSide": {
      "type": "object",
      "properties": {
        "srp": {
          "$ref": "#/definitions/numericField"
        },
        "servicing": {
          "$ref": "#/definitions/servicingItem"
        },
        "actual": {
          "type": "object",
          "properties": {
            "amount": {
              "$ref": "#/definitions/numericField"
            },
            "price": {
              "$ref": "#/definitions/numericField"
            },
            "srp": {
              "$ref": "#/definitions/numericField"
            }
          },
          "additionalProperties": false
        },
        "diff": {
          "type": "object",
          "properties": {
            "amount": {
              "$ref": "#/definitions/numericField"
            },
            "price": {
              "$ref": "#/definitions/numericField"
            },
            "srp": {
              "$ref": "#/definitions/numericField"
            }
          },
          "additionalProperties": false
        },
        "netAmount": {
          "$ref": "#/definitions/numericField"
        },
        "paidMiPremium": {
          "$ref": "#/definitions/numericField"
        },
        "tradeMgmtPrevConfirmedLockGuid": {
          "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"
          }
        },
        "correspondent": {
          "type": "object",
          "properties": {
            "escrowDisbursementsToBePaid": {
              "$ref": "#/definitions/numericField"
            },
            "tradeId": {
              "type": "string"
            },
            "tradeNumber": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "daysToExtend": {
          "$ref": "#/definitions/integerField"
        },
        "extendedLockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "commitmentDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockExtendPriceAdjustment": {
          "$ref": "#/definitions/numericField"
        },
        "discountYsp": {
          "$ref": "#/definitions/numericField"
        },
        "masterContractNumber": {
          "type": "string"
        },
        "gainLossPercentage": {
          "$ref": "#/definitions/numericField"
        },
        "gainLossPrice": {
          "$ref": "#/definitions/numericField"
        },
        "gainLossTotalPrice": {
          "$ref": "#/definitions/numericField"
        },
        "rateSheetId": {
          "type": "string"
        },
        "lastRateSetDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockNumberOfDays": {
          "$ref": "#/definitions/integerField"
        },
        "lockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockDate": {
          "$ref": "#/definitions/datePattern"
        },
        "baseRate": {
          "$ref": "#/definitions/numericField"
        },
        "totalRateAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netRate": {
          "$ref": "#/definitions/numericField"
        },
        "basePrice": {
          "$ref": "#/definitions/numericField"
        },
        "totalPriceAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netPrice": {
          "$ref": "#/definitions/numericField"
        },
        "baseMarginRate": {
          "$ref": "#/definitions/numericField"
        },
        "totalMarginAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netMarginRate": {
          "$ref": "#/definitions/numericField"
        },
        "originalLockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "comments": {
          "type": "string"
        },
        "srpPaidOut": {
          "$ref": "#/definitions/numericField"
        },
        "investor": {
          "type": "object",
          "properties": {
            "loanNumber": {
              "type": "string"
            },
            "mersNumber": {
              "type": "string"
            },
            "lockedDate": {
              "$ref": "#/definitions/datePattern"
            },
            "deliveryDate": {
              "$ref": "#/definitions/datePattern"
            },
            "targetDeliveryDate": {
              "$ref": "#/definitions/datePattern"
            },
            "name": {
              "type": "string"
            },
            "contact": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string",
              "maxLength": 2
            },
            "postalCode": {
              "type": "string"
            },
            "website": {
              "type": "string"
            },
            "lockType": {
              "type": "string"
            },
            "programCode": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "statusDate": {
              "$ref": "#/definitions/datePattern"
            },
            "tradeNumber": {
              "type": "string"
            },
            "commitment": {
              "type": "string"
            },
            "templateName": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "adjustments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/adjustmentItem"
          },
          "minItems": 1,
          "description": ""
        }
      },
      "additionalProperties": false
    },
    "comparison": {
      "type": "object",
      "properties": {
        "servicingType": {
          "type": "string",
          "enum": [
            "Service Retained",
            "Service Released"
          ]
        },
        "discountYsp": {
          "$ref": "#/definitions/numericField"
        },
        "masterContractNumber": {
          "type": "string"
        },
        "gainLossPercentage": {
          "$ref": "#/definitions/numericField"
        },
        "gainLossPrice": {
          "$ref": "#/definitions/numericField"
        },
        "gainLossTotalPrice": {
          "$ref": "#/definitions/numericField"
        },
        "rateSheetId": {
          "type": "string"
        },
        "lastRateSetDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockNumberOfDays": {
          "$ref": "#/definitions/integerField"
        },
        "lockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "lockDate": {
          "$ref": "#/definitions/datePattern"
        },
        "baseRate": {
          "$ref": "#/definitions/numericField"
        },
        "totalRateAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netRate": {
          "$ref": "#/definitions/numericField"
        },
        "basePrice": {
          "$ref": "#/definitions/numericField"
        },
        "totalPriceAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netPrice": {
          "$ref": "#/definitions/numericField"
        },
        "baseMarginRate": {
          "$ref": "#/definitions/numericField"
        },
        "totalMarginAdjustments": {
          "$ref": "#/definitions/numericField"
        },
        "netMarginRate": {
          "$ref": "#/definitions/numericField"
        },
        "comments": {
          "type": "string"
        },
        "originalLockExpirationDate": {
          "$ref": "#/definitions/datePattern"
        },
        "srpPaidOut": {
          "$ref": "#/definitions/numericField"
        },
        "investor": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "contact": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string",
              "maxLength": 2
            },
            "postalCode": {
              "type": "string"
            },
            "website": {
              "type": "string"
            },
            "lockType": {
              "type": "string"
            },
            "programCode": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "statusDate": {
              "$ref": "#/definitions/datePattern"
            },
            "tradeNumber": {
              "type": "string"
            },
            "commitment": {
              "type": "string"
            },
            "templateName": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "adjustments": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/adjustmentItem"
          },
          "minItems": 1,
          "description": ""
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "lockId"
  ],
  "additionalProperties": false,
  "definitions": {
    "integerField": {
      "type": "integer",
      "minimum": 1
    },
    "numericField": {
      "type": "number",
      "multipleOf": 0.0000000001
    },
    "adjustmentNumericField": {
      "type": "number",
      "multipleOf": 0.0000000001
    },
    "datePattern": {
      "type": "string",
      "pattern": "^^(?:(?:(?:0?[13578]|1[02])(\\/)31)\\1|(?:(?:0?[1,3-9]|1[0-2])(\\/)(?:29|30)\\2))(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$|^(?:0?2(\\/)29\\3(?:(?:(?:1[6-9]|[2-9]\\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:(?:0?[1-9])|(?:1[0-2]))(\\/)(?:0?[1-9]|1\\d|2[0-8])\\4(?:(?:1[6-9]|[2-9]\\d)?\\d{2})$",
      "validationMessage": {
        "$ref": "#/validationMessage/datePattern"
      }
    },
    "timePattern": {
      "type": "string",
      "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$",
      "validationMessage": {
        "$ref": "#/validationMessage/timePattern"
      }
    },
    "servicingItem": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Service Retained",
            "Service Released"
          ],
          "description": ""
        },
        "servicer": {
          "type": "string"
        },
        "fee": {
          "type": "object",
          "properties": {
            "servicing": {
              "$ref": "#/definitions/numericField"
            },
            "guarantyBase": {
              "$ref": "#/definitions/numericField"
            },
            "guarantee": {
              "$ref": "#/definitions/numericField"
            }
          },
          "additionalProperties": false
        },
        "pool": {
          "type": "object",
          "properties": {
            "number": {
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "commitmentContractNumber": {
          "type": "string"
        },
        "productName": {
          "type": "string"
        },
        "msrValue": {
          "$ref": "#/definitions/numericField"
        }
      },
      "additionalProperties": false
    },
    "adjustmentItem": {
      "type": "object",
      "properties": {
        "adjustmentType": {
          "type": "string",
          "enum": [
            "Adjustment",
            "LockExtensionAdjustment",
            "ReLockFeeAdjustment",
            "CustomPriceAdjustment"
          ],
          "description": ""
        },
        "description": {
          "type": "string",
          "description": ""
        },
        "priceAdjustmentType": {
          "type": "string",
          "enum": [
            "BasePrice",
            "BaseMargin",
            "BaseRate",
            "ProfitMargin"
          ],
          "description": ""
        },
        "adjustment": {
          "$ref": "#/definitions/adjustmentNumericField",
          "description": ""
        }
      },
      "required": [
        "adjustmentType",
        "description",
        "priceAdjustmentType"
      ],
      "additionalProperties": false
    },
    "additionalFieldItem": {
      "type": "object",
      "properties": {
        "fieldName": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9.]*$",
          "description": "Identifier of the additional field in encompass"
        },
        "numericValue": {
          "type": "number",
          "multipleOf": 0.0000000001,
          "description": "Numeric value for the additonal field"
        },
        "stringValue": {
          "type": "string",
          "minLength": 1,
          "description": "String value for the additonal field"
        },
        "dateValue": {
          "$ref": "#/definitions/datePattern",
          "description": "Date value for the additonal field."
        }
      },
      "oneOf": [
        {
          "required": [
            "fieldName",
            "stringValue"
          ],
          "validationMessage": {
            "$ref": "#/validationMessage/oneOfAdditionalFields"
          }
        },
        {
          "required": [
            "fieldName",
            "numericValue"
          ],
          "validationMessage": {
            "$ref": "#/validationMessage/oneOfAdditionalFields"
          }
        },
        {
          "required": [
            "fieldName",
            "dateValue"
          ],
          "validationMessage": {
            "$ref": "#/validationMessage/oneOfAdditionalFields"
          }
        }
      ],
      "additionalProperties": false
    }
  }
}

Below is a sample request payload:

{
  "status": "completed",
  "result": {
    "format": "application/vnd.productpricing-relock-and-confirm-1.0.0.json",
    "action": "RELOCK_CONFIRM",
    "details": {
      "lockId": "c669557c-d631-427d-a6f8-94ef1922db1d",
      "copyLoanData": false,
      "dataSyncOption": "syncLockToLoan",
      "comments": "Lock requested at borrower request",
      "programNotes": "30 year fixed conforming program",
      "planCode": "99999",
      "lockDate": "07/24/2020",
      "lockExpirationDate": "08/30/2020",
      "lastRateSetDate": "05/19/2020",
      "hedging": true,
      "penaltyTerm": "1 Year",
      "prepayPenalty": true,
      "baseRate": 5.2,
      "basePrice": 4.5,
      "baseMarginRate": 1.5,
      "rateSheetId": "Sheet-ID-4555",
      "currentAcquisition": true,
      "currentConstructionRefi": false,
      "gpmRate": 5.5,
      "gpmYears": 10,
      "requestImpoundWaived": "Waived",
      "requestImpoundType": "No Impounds",
      "lenderFeeWaiverOption": true,
      "sellerPaidMiPremium": 1555,
      "fhaUpfrontMiPremiumPercent": 2,
      "roundToNearest50": true,
      "adjustments": [
        {
          "adjustmentType": "Adjustment",
          "description": "No FICO",
          "priceAdjustmentType": "BasePrice",
          "adjustment": 0.02
        },
        {
          "adjustmentType": "Adjustment",
          "description": "1 Year Payment Option",
          "priceAdjustmentType": "BaseMargin",
          "adjustment": 0.25
        },
        {
          "adjustmentType": "Adjustment",
          "description": "15 Day Lock Period",
          "priceAdjustmentType": "BaseRate",
          "adjustment": 0.002
        },
        {
          "adjustmentType": "Adjustment",
          "description": "Extended Payment Option",
          "priceAdjustmentType": "BaseRate",
          "adjustment": 0.001
        },
        {
          "adjustmentType": "LockExtensionAdjustment",
          "description": "Lock extension, 15 days",
          "priceAdjustmentType": "BasePrice",
          "adjustment": 0.125
        },
        {
          "adjustmentType": "ReLockFeeAdjustment",
          "description": "Relock fee",
          "priceAdjustmentType": "BasePrice",
          "adjustment": 0.25
        },
        {
          "adjustmentType": "CustomPriceAdjustment",
          "description": "Custom price adjustment",
          "priceAdjustmentType": "BasePrice",
          "adjustment": 0.05
        }
      ],
      "investor": "ABC Mortgage Investors",
      "impoundWaived": "Waived",
      "impoundType": "Taxes and Insurance",
      "buySide": {
        "expirationDate": "07/21/2020",
        "delivery": {
          "type": "Bulk",
          "expirationDate": "07/21/2020"
        },
        "startingAdjustPrice": 1.3,
        "unDiscountedRate": 1.1,
        "startingAdjustRate": 1.2,
        "branch": {
          "approvalDate": "07/08/2020",
          "approvedBy": "Jane Doe",
          "price": 21.21,
          "reasonForApproval": "Branch pricing exception"
        },
        "corporate": {
          "approvalDate": "07/08/2020",
          "approvedBy": "John Doe",
          "price": 11.21,
          "reasonForApproval": "Competitive match"
        },
        "profitMarginAdjustedBuyPrice": 0.26,
        "correspondent": {
          "tradeId": "3242",
          "tradeNumber": "Trade-1234"
        },
        "lockDate": "07/21/2020",
        "lockExpirationDate": "08/30/2020",
        "baseRate": 4.3,
        "baseMarginRate": 12.14,
        "rateSheetId": "RS9110",
        "lastRateSetDate": "05/07/2020",
        "srpPaidOut": 41.5,
        "adjustments": [
          {
            "adjustmentType": "Adjustment",
            "description": "Waive Escrow and Impounds",
            "priceAdjustmentType": "BasePrice",
            "adjustment": 0.11
          },
          {
            "adjustmentType": "Adjustment",
            "description": "Mobile Margin",
            "priceAdjustmentType": "BaseMargin",
            "adjustment": 0.22
          },
          {
            "adjustmentType": "Adjustment",
            "description": "60 Day Lock Period",
            "priceAdjustmentType": "BaseRate",
            "adjustment": 0.33
          },
          {
            "adjustmentType": "Adjustment",
            "description": "LO Comp",
            "priceAdjustmentType": "ProfitMargin",
            "adjustment": 0.99
          }
        ],
        "tpoName": "Sample TPO Company",
        "tpoId": "TPO-00123",
        "totalBuyPrice": 100.125,
        "netRate": 4.633,
        "netPrice": 99.875
      },
      "sellSide": {
        "srp": 1.25,
        "servicing": {
          "type": "Service Retained",
          "servicer": "ABC Servicing",
          "fee": {
            "servicing": 0.25,
            "guarantyBase": 0.45,
            "guarantee": 0.45
          },
          "pool": {
            "number": "POOL-1001",
            "id": "P1001"
          },
          "commitmentContractNumber": "CC-342432",
          "productName": "30 Year Fixed",
          "msrValue": 1.1
        },
        "commitmentDate": "07/07/2020",
        "rateSheetId": "RS9110",
        "lastRateSetDate": "05/07/2020",
        "lockDate": "07/07/2020",
        "lockExpirationDate": "07/21/2020",
        "baseRate": 4.25,
        "basePrice": 100.25,
        "baseMarginRate": 2.25,
        "comments": "Sell side updated after investor commitment",
        "srpPaidOut": 1.25,
        "investor": {
          "name": "ABC Mortgage Investors",
          "contact": "Pat Lee",
          "phone": "8005550100",
          "email": "[email protected]",
          "address": "100 Main Street",
          "city": "San Diego",
          "state": "CA",
          "postalCode": "92101",
          "website": "https://www.example.com",
          "lockType": "Best Efforts",
          "programCode": "CF30",
          "commitment": "CMT-100045",
          "templateName": "Standard investor template",
          "loanNumber": "INV-778899",
          "mersNumber": "100000000000000001",
          "lockedDate": "07/07/2020",
          "deliveryDate": "07/30/2020",
          "targetDeliveryDate": "07/28/2020"
        },
        "adjustments": [
          {
            "adjustmentType": "Adjustment",
            "description": "60 Day Lock Period",
            "priceAdjustmentType": "BaseRate",
            "adjustment": 0.33
          }
        ]
      },
      "comparison": {
        "servicingType": "Service Released",
        "rateSheetId": "RS9110",
        "lastRateSetDate": "05/07/2020",
        "lockDate": "07/07/2020",
        "lockExpirationDate": "07/21/2020",
        "baseRate": 4.375,
        "basePrice": 100.0,
        "baseMarginRate": 2.25,
        "comments": "Best alternate investor pricing",
        "srpPaidOut": 1.0,
        "investor": {
          "name": "XYZ Capital Markets",
          "contact": "Pat Lee",
          "phone": "8005550100",
          "email": "[email protected]",
          "address": "100 Main Street",
          "city": "San Diego",
          "state": "CA",
          "postalCode": "92101",
          "website": "https://www.example.com",
          "lockType": "Best Efforts",
          "programCode": "CF30",
          "commitment": "CMT-100045",
          "templateName": "Standard investor template",
          "status": "Active",
          "statusDate": "07/07/2020"
        },
        "adjustments": [
          {
            "adjustmentType": "Adjustment",
            "description": "60 Day Lock Period",
            "priceAdjustmentType": "BaseRate",
            "adjustment": 0.33
          }
        ]
      }
    }
  },
  "partnerStatus": "partner status"
}

Did this page help you?