Error codes

economics_locked

Program terms locked

HTTP 409

The program terms locked when the borrower activated under them.

The problem body

Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.

Example problem
{
  "error": "Payment economics are locked for this referral (borrower already activated under the submitted terms).",
  "code": "economics_locked",
  "type": "https://secondappraisal.com/developers/errors/economics_locked",
  "title": "Program terms locked",
  "status": 409,
  "detail": "Payment economics are locked for this referral (borrower already activated under the submitted terms).",
  "instance": "/api/gap/v1/referrals/<id>",
  "request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}

Operations that can send it