Cancel Rate Lock v1.0 to v1.1 Migration Guide
This guide helps partner developers move a CANCEL integration from application/vnd.productpricing-cancellock-1.0.0.json to application/vnd.productpricing-cancellock-1.1.0.json. For the field reference, see Cancel Rate Lock and Cancel Rate Lock v1.1.
What changed
| Field | 1.0.0 | 1.1.0 |
|---|---|---|
comments | Required | Optional |
There are no other changes. Every valid 1.0.0 payload is also valid against 1.1.0, so you can switch formats without changing your details object.
Updating the format and entitlements
Change $.result.format from the old format string to the new one in every transaction response that uses the new version:
{
"result": {
"format": "application/vnd.productpricing-cancellock-1.0.0.json",
"action": "CANCEL"
}
}
{
"result": {
"format": "application/vnd.productpricing-cancellock-1.1.0.json",
"action": "CANCEL"
}
}
Then add the new format to the formats array for the CANCEL action in your product entitlements ($.entitlements.data.transaction, response.results). During the transition you can declare both format strings to support both versions:
{
"action": "CANCEL",
"formats": [
"application/vnd.productpricing-cancellock-1.0.0.json",
"application/vnd.productpricing-cancellock-1.1.0.json"
]
}
Example
With 1.1.0, a cancel request can omit comments:
{
"status": "completed",
"result": {
"format": "application/vnd.productpricing-cancellock-1.1.0.json",
"action": "CANCEL",
"details": {}
}
}
Migration checklist
- Update
$.result.formattoapplication/vnd.productpricing-cancellock-1.1.0.json. - Add
application/vnd.productpricing-cancellock-1.1.0.jsonto theformatsregistered forCANCELin your product entitlements. - Decide whether your integration will continue to send
comments. Lenders see the cancellation reason only when you send it.
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.
Updated 2 days ago
