Rate Lock and Confirm v1 to v2 Migration Guide

This guide helps partner developers migrate a LOCK_CONFIRM integration from the v1 result format (application/vnd.productpricing-lock-and-confirm-1.0.0.json or application/vnd.productpricing-lock-and-confirm-1.1.0.json) to the v2 result format (application/vnd.productpricing-lock-and-confirm-2.0.0.json). For the complete field reference, see the v1 and the v2 pages.

What changed at a glance

Areav1v2Notes
Lock request valuesTop level of detailsrequestSide objectMoved and renamed
Required fieldsbaseRate, buySide (with buySide.baseRate), and two of the lock date fieldsAt least one side objectbuySide no longer required
DatesMM/DD/YYYYYYYY-MM-DDISO 8601
Rate and price fieldsbaseRate, basePrice, baseMarginRaterate, priceRate, marginRateRenamed
Lock period fieldslockNumberOfDays, lockExpirationDate, lastRateSetDatenumberOfDays, lockExpires, currentRateSetDateRenamed
AdjustmentsOne adjustments[] arrayTyped adjustment arraysSee Restructured adjustments
additionalFields itemsstringValue, numericValue, or dateValuevalueSingle untyped value
pricingpricing (historyData, updated)Not in v2v2 adds pricingInformation, which requires historyXml
copyLoanData, dataSyncOptionSupportedSupportedUnchanged
New in v2comparisonSide, pricingInformationOptional

Updating the format and entitlements

Change $.result.format from the v1 format string to the v2 format string in every transaction response that uses v2:

{
  "result": {
    "format": "application/vnd.productpricing-lock-and-confirm-1.1.0.json",
    "action": "LOCK_CONFIRM"
  }
}
{
  "result": {
    "format": "application/vnd.productpricing-lock-and-confirm-2.0.0.json",
    "action": "LOCK_CONFIRM"
  }
}

Then add the v2 format to the formats array for the LOCK_CONFIRM action in your product entitlements ($.entitlements.data.transaction, response.results). During the transition you can declare both format strings to support both versions:

{
  "action": "LOCK_CONFIRM",
  "formats": [
    "application/vnd.productpricing-lock-and-confirm-1.0.0.json",
    "application/vnd.productpricing-lock-and-confirm-1.1.0.json",
    "application/vnd.productpricing-lock-and-confirm-2.0.0.json"
  ]
}

Request side and additional fields

In v1, the lock request values are sent at the top level of details. In v2, they are sent in the requestSide object, using the same field renames as the other side objects. At least one of requestSide, buySide, sellSide, or comparisonSide is required, and each side object that you send must contain at least one property.

{
  "baseRate": 6.375,
  "lockDate": "10/05/2026",
  "lockNumberOfDays": 30,
  "rateSheetId": "RS9110"
}
{
  "requestSide": {
    "rate": 6.375,
    "lockDate": "2026-10-05",
    "numberOfDays": 30,
    "rateSheetId": "RS9110"
  }
}

v1 additionalFields items carry the value in exactly one of stringValue, numericValue, or dateValue. v2 items carry it in a single value property, which has no defined type or format.

{
  "additionalFields": [
    {
      "fieldName": "CX.PPE.PRICINGTIER",
      "stringValue": "Gold"
    }
  ]
}
{
  "additionalFields": [
    {
      "fieldName": "CX.PPE.PRICINGTIER",
      "value": "Gold"
    }
  ]
}

Migrating from 1.0.0 to 1.1.0

If you only need the 1.1.0 fields, you can move from 1.0.0 to 1.1.0 without restructuring your payload. Version 1.1.0 adds investor, impoundWaived, impoundType, and several buySide fields, removes buySide.onrpLock, and allows an empty penaltyTerm (see the v1.1 page). Update $.result.format and your entitlements to the 1.1.0 format string.

Date format

Every date field in the side objects changes from MM/DD/YYYY to ISO 8601 (YYYY-MM-DD). This includes lockDate, lockExpires (formerly lockExpirationDate), currentRateSetDate (formerly lastRateSetDate), commitmentDate, and the date fields in investor and concession objects.

{
  "lockDate": "01/15/2026",
  "lockExpirationDate": "02/14/2026",
  "lastRateSetDate": "01/15/2026"
}
{
  "lockDate": "2026-01-15",
  "lockExpires": "2026-02-14",
  "currentRateSetDate": "2026-01-15"
}

Action required: Format all date values as YYYY-MM-DD before you submit v2 responses.

Restructured adjustments

v1 uses a single adjustments[] array on each object. Each item declares its category in adjustmentType and its sub-type in priceAdjustmentType, and carries the value in adjustment. adjustmentType, description, and priceAdjustmentType are required on every item, and each adjustments[] array must contain at least one item.

v2 replaces each adjustments[] array with separate typed arrays. Each item has priceAdjustmentTypeIndex (integer), description, and rate (decimal). None of the item fields are required, and the arrays can be empty or omitted.

{
  "buySide": {
    "adjustments": [
      {
        "adjustmentType": "Adjustment",
        "priceAdjustmentType": "BaseRate",
        "description": "FICO score",
        "adjustment": -0.125
      },
      {
        "adjustmentType": "LockExtensionAdjustment",
        "priceAdjustmentType": "BasePrice",
        "description": "15-day extension",
        "adjustment": -0.25
      }
    ]
  }
}
{
  "buySide": {
    "baseRateAdjustments": [
      {
        "priceAdjustmentTypeIndex": 2,
        "description": "FICO score",
        "rate": -0.125
      }
    ],
    "lockExtensionAdjustments": [
      {
        "priceAdjustmentTypeIndex": 0,
        "description": "15-day extension",
        "rate": -0.25
      }
    ]
  }
}
v2 arrayReplaces v1 items with
baseRateAdjustmentsadjustmentType Adjustment and priceAdjustmentType BaseRate
basePriceAdjustmentsadjustmentType Adjustment and priceAdjustmentType BasePrice
baseMarginAdjustmentsadjustmentType Adjustment and priceAdjustmentType BaseMargin
profitMarginAdjustmentsadjustmentType Adjustment and priceAdjustmentType ProfitMargin (buySide only)
lockExtensionAdjustmentsadjustmentType LockExtensionAdjustment
reLockFeeAdjustmentsadjustmentType ReLockFeeAdjustment
customPriceAdjustmentsadjustmentType CustomPriceAdjustment

Field renames

Apply these renames inside each listed object:

v1 fieldv2 fieldApplies to
lockExpirationDatelockExpiresrequestSide, buySide, sellSide
lockNumberOfDaysnumberOfDaysrequestSide, buySide, sellSide
lastRateSetDatecurrentRateSetDaterequestSide, buySide, sellSide
startingAdjustRatestartingAdjustmentRaterequestSide, buySide
startingAdjustPricestartingAdjustmentPointrequestSide, buySide
baseRateraterequestSide, buySide, sellSide
basePricepriceRaterequestSide, buySide, sellSide
baseMarginRatemarginRaterequestSide, buySide, sellSide

Sell side servicing

v2 flattens the v1 sellSide.servicing object into fields directly on sellSide.

v1 pathv2 field
sellSide.servicing.typesellSide.servicingType
sellSide.servicing.servicersellSide.servicer
sellSide.servicing.fee.servicingsellSide.servicingFee
sellSide.servicing.fee.guarantyBasesellSide.guarantyBaseFee
sellSide.servicing.fee.guaranteesellSide.guaranteeFee
sellSide.servicing.pool.numbersellSide.poolNumber
sellSide.servicing.pool.idsellSide.poolId
sellSide.servicing.commitmentContractNumbersellSide.commitmentContractNumber
sellSide.servicing.productNamesellSide.productName
sellSide.servicing.msrValuesellSide.msrValue

The servicingType enum values change from Service Retained and Service Released in v1 to ServiceRetained and ServiceReleased in v2.

Buy side concessions, commitment, and delivery

v1 models branch and corporate concessions as buySide.branch and buySide.corporate objects with numbered field names (approvalDate, approvalDate2, and so on). v2 replaces them with the branchConcessions[] and corporateConcessions[] arrays. Each array item has a concessionIndex, and reasonForApproval is renamed reason.

{
  "buySide": {
    "branch": {
      "approvalDate": "01/15/2026",
      "approvedBy": "Jane Smith",
      "price": -0.25,
      "reasonForApproval": "Credit",
      "approvalDate2": "01/16/2026",
      "approvedBy2": "John Doe",
      "price2": -0.125
    }
  }
}
{
  "buySide": {
    "branchConcessions": [
      {
        "concessionIndex": 0,
        "approvalDate": "2026-01-15",
        "approvedBy": "Jane Smith",
        "price": -0.25,
        "reason": "Credit"
      },
      {
        "concessionIndex": 1,
        "approvalDate": "2026-01-16",
        "approvedBy": "John Doe",
        "price": -0.125
      }
    ]
  }
}

The v1 buySide.commitment object is replaced by buySide.commitmentType and buySide.investor.commitment. commitmentType accepts Mandatory and BestEfforts (v1 used Best Efforts, with a space).

The v1 buySide.delivery object is replaced by the buySide.deliveryType enum, which accepts IndividualMandatory, IndividualBestEfforts, AOT, Forwards, DirectTrade, Bulk, BulkAOT, and CoIssue.

Investor changes

  • sellSide.investor: lockedDate, status, statusDate, tradeNumber, and templateName are not in v2. v2 adds lockedWithInvestorDate and timeLockedWithInvestor.
  • comparisonSide.investor: status, statusDate, tradeNumber, commitment, and templateName are not in v2.
  • investor.lockType on both sides is an enum in v2 that accepts Mandatory and BestEfforts. In v1 it is a free-form string.
  • buySide.investor adds commitment in v2.

Fields not in v2

The following v1 fields have no field of the same name in the v2 schema. Remove them from your v2 payloads, and review any logic that depends on them.

v1 locationv1 fieldNotes
Top level of detailsextensionIndicatorNot in the v2 schema
Top level of detailspriceConcessionNot in the v2 schema
Top level of detailsborrLenderPaidNot in the v2 schema
Top level of detailsinvestorNot in the v2 schema
Top level of detailsplanCodeNot in the v2 schema
Top level of detailsonrpTimeNot in the v2 schema
Top level of detailscorrespondentCommitmentTypeNot in the v2 schema
Top level of detailscorrespondentDeliveryTypeNot in the v2 schema
Top level of detailsisDeliveryTypeNot in the v2 schema
Top level of detailshedgingNot in the v2 schema
Top level of detailsonrpDateNot in the v2 schema
Top level of detailsonrpLockNot in the v2 schema
Top level of detailsonrpEligibleNot in the v2 schema
Top level of detailspenaltyTermNot in the v2 schema
Top level of detailscurrentAcquisitionNot in the v2 schema
Top level of detailscurrentConstructionRefiNot in the v2 schema
Top level of detailsprepayPenaltyNot in the v2 schema
Top level of detailsgpmRateNot in the v2 schema
Top level of detailsgpmYearsNot in the v2 schema
Top level of detailsrequestImpoundWaivedNot in the v2 schema
Top level of detailsrequestImpoundTypeNot in the v2 schema
Top level of detailsimpoundWaivedNot in the v2 schema
Top level of detailsimpoundTypeNot in the v2 schema
Top level of detailslenderFeeWaiverOptionNot in the v2 schema
Top level of detailssellerPaidMiPremiumNot in the v2 schema
Top level of detailsfhaUpfrontMiPremiumPercentNot in the v2 schema
Top level of detailsroundToNearest50Not in the v2 schema
buySideonrpDateNot in the v2 schema
buySideonrpEligibleNot in the v2 schema
buySidetpoNameNot in the v2 schema
buySidetpoIdNot in the v2 schema
buySideorgIdNot in the v2 schema
buySidedaysToExtendNot in the v2 schema
buySideextendedLockExpirationDateNot in the v2 schema
buySideexpirationDateNot in the v2 schema
buySideoriginalLockExpirationDateNot in the v2 schema
buySidetotalBuyPriceCalculated field
buySidetotalPriceCalculated field
buySidetotalRateAdjustmentsCalculated field
buySidenetRateCalculated field
buySidetotalPriceAdjustmentsCalculated field
buySidenetPriceCalculated field
buySidetotalMarginAdjustmentsCalculated field
buySidenetMarginRateCalculated field
buySidecorrespondentNot in the v2 schema
sellSidesrpNot in the v2 schema
sellSideactualNot in the v2 schema
sellSidediffNot in the v2 schema
sellSidenetAmountNot in the v2 schema
sellSidepaidMiPremiumNot in the v2 schema
sellSidetradeMgmtPrevConfirmedLockGuidNot in the v2 schema
sellSidecorrespondentNot in the v2 schema
sellSidedaysToExtendNot in the v2 schema
sellSideextendedLockExpirationDateNot in the v2 schema
sellSidediscountYspNot in the v2 schema
sellSidemasterContractNumberNot in the v2 schema
sellSidegainLossPercentageNot in the v2 schema
sellSidegainLossPriceNot in the v2 schema
sellSidegainLossTotalPriceNot in the v2 schema
sellSidetotalRateAdjustmentsCalculated field
sellSidenetRateCalculated field
sellSidetotalPriceAdjustmentsCalculated field
sellSidenetPriceCalculated field
sellSidetotalMarginAdjustmentsCalculated field
sellSidenetMarginRateCalculated field
sellSideoriginalLockExpirationDateNot in the v2 schema

New fields in v2

v2 objectNew field
requestSidecommitmentType
requestSidesrpPaidOut
requestSideonrpLockDate
requestSideonrpLockTime

Complete example

The example below shows a v1 details object and the same values converted to v2 by applying the changes on this page.

{
  "programNotes": "30 year fixed conforming program",
  "planCode": "30-FIXED",
  "lockDate": "07/24/2020",
  "lockExpirationDate": "08/21/2020",
  "hedging": true,
  "penaltyTerm": "1 Year",
  "prepayPenalty": true,
  "baseRate": 1.65,
  "baseMarginRate": 0.5,
  "requestImpoundWaived": "Not Waived",
  "requestImpoundType": "Taxes only",
  "lenderFeeWaiverOption": true,
  "fhaUpfrontMiPremiumPercent": 2,
  "roundToNearest50": true,
  "adjustments": [
    {
      "adjustmentType": "Adjustment",
      "description": "Waive Escrow and Impounds",
      "priceAdjustmentType": "BasePrice",
      "adjustment": 0.75
    },
    {
      "adjustmentType": "Adjustment",
      "description": "Mobile Margin",
      "priceAdjustmentType": "BaseMargin",
      "adjustment": 0.5
    },
    {
      "adjustmentType": "Adjustment",
      "description": "60 Day Lock Period",
      "priceAdjustmentType": "BaseRate",
      "adjustment": 0.004
    },
    {
      "adjustmentType": "Adjustment",
      "description": "Extended Payment Option",
      "priceAdjustmentType": "BaseRate",
      "adjustment": 0.003
    }
  ],
  "rateSheetId": "RS9110",
  "lastRateSetDate": "06/05/2020",
  "basePrice": 12.11,
  "comments": "Lock requested and confirmed in a single operation",
  "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
  },
  "investor": "ABC Mortgage Investors",
  "impoundWaived": "Not Waived",
  "impoundType": "Taxes only"
}
{
  "requestSide": {
    "programNotes": "30 year fixed conforming program",
    "lockDate": "2020-07-24",
    "lockExpires": "2020-08-21",
    "rate": 1.65,
    "marginRate": 0.5,
    "basePriceAdjustments": [
      {
        "priceAdjustmentTypeIndex": 0,
        "description": "Waive Escrow and Impounds",
        "rate": 0.75
      }
    ],
    "baseMarginAdjustments": [
      {
        "priceAdjustmentTypeIndex": 1,
        "description": "Mobile Margin",
        "rate": 0.5
      }
    ],
    "baseRateAdjustments": [
      {
        "priceAdjustmentTypeIndex": 2,
        "description": "60 Day Lock Period",
        "rate": 0.004
      },
      {
        "priceAdjustmentTypeIndex": 2,
        "description": "Extended Payment Option",
        "rate": 0.003
      }
    ],
    "rateSheetId": "RS9110",
    "currentRateSetDate": "2020-06-05",
    "priceRate": 12.11,
    "comments": "Lock requested and confirmed in a single operation"
  },
  "buySide": {
    "deliveryType": "Bulk",
    "startingAdjustmentPoint": 1.3,
    "unDiscountedRate": 1.1,
    "startingAdjustmentRate": 1.2,
    "branchConcessions": [
      {
        "concessionIndex": 0,
        "approvalDate": "2020-07-08",
        "approvedBy": "Jane Doe",
        "price": 21.21,
        "reason": "Branch pricing exception"
      }
    ],
    "corporateConcessions": [
      {
        "concessionIndex": 0,
        "approvalDate": "2020-07-08",
        "approvedBy": "John Doe",
        "price": 11.21,
        "reason": "Competitive match"
      }
    ],
    "profitMarginAdjustedBuyPrice": 0.26,
    "lockDate": "2020-07-21",
    "lockExpires": "2020-08-30",
    "rate": 4.3,
    "marginRate": 12.14,
    "rateSheetId": "RS9110",
    "currentRateSetDate": "2020-05-07",
    "srpPaidOut": 41.5,
    "basePriceAdjustments": [
      {
        "priceAdjustmentTypeIndex": 0,
        "description": "Waive Escrow and Impounds",
        "rate": 0.11
      }
    ],
    "baseMarginAdjustments": [
      {
        "priceAdjustmentTypeIndex": 1,
        "description": "Mobile Margin",
        "rate": 0.22
      }
    ],
    "baseRateAdjustments": [
      {
        "priceAdjustmentTypeIndex": 2,
        "description": "60 Day Lock Period",
        "rate": 0.33
      }
    ],
    "profitMarginAdjustments": [
      {
        "priceAdjustmentTypeIndex": 3,
        "description": "LO Comp",
        "rate": 0.99
      }
    ]
  }
}

Migration checklist

  • Update $.result.format to application/vnd.productpricing-lock-and-confirm-2.0.0.json in all transaction responses that use v2.
  • Add application/vnd.productpricing-lock-and-confirm-2.0.0.json to the formats registered for LOCK_CONFIRM in your product entitlements.
  • Move the top-level lock request fields into requestSide.
  • Convert additionalFields items to fieldName and value.
  • Replace pricing with pricingInformation if you send pricing history.
  • Convert all dates from MM/DD/YYYY to YYYY-MM-DD.
  • Apply the field renames in each object.
  • Split each adjustments[] array into the typed adjustment arrays, using priceAdjustmentTypeIndex, description, and rate.
  • Flatten sellSide.servicing into sellSide fields, and remove the spaces from servicingType values.
  • Replace buySide.branch and buySide.corporate with branchConcessions[] and corporateConcessions[], and rename reasonForApproval to reason.
  • Replace buySide.commitment with commitmentType and investor.commitment, and buySide.delivery with deliveryType.
  • Apply the investor changes, including the lockType enum values.
  • Remove the fields that are not in v2.
  • Validate your v2 payloads against the JSON schema before deploying to production.

Support

If you have questions about this migration or encounter v2 validation issues, post them on our Discussion board or contact the EPC team at [email protected]. We recommend validating your v2 payloads against the JSON schema, and testing them in your EPC sandbox, before deploying to production.


Did this page help you?