Skip to main content
POST
Close origination
Close an enrolled application’s origination outreach when it has been funded, withdrawn, or rejected. Use the external application reference (loanId from enrollment) as {id}, with the same company’s X-API-Key.

Required reason

The body and reason are required. Values are case-sensitive. Retrieve the catalog with List Origination Close Reasons. Collections reasons such as PAID_OFF and BANKRUPTCY are not accepted.

Effect and response

The operation records the final application outcome, closes its active or paused call/email/SMS cadences and their pending work in one transaction. Other applications and loans belonging to the customer are unaffected. This records an outcome reported by the lender; it does not fund, withdraw, or reject the application in the lender’s LMS. Calls and messages already in progress cannot be recalled. Queue-claimed calls remain owned by the delivery worker and are excluded from cancelledCalls; the parent cadence is closed, and pending delivery is subject to the existing eligibility checks. Closure does not erase queue claims or processing leases.
Retry with the same reference and reason after an uncertain response; no Idempotency-Key is required. A repeat returns CLOSED and the same reason, with counts of items cancelled by that request (normally zero). It also closes any active or paused cadences that have reappeared. A different final reason returns 409 and does not overwrite the existing outcome. This endpoint does not reopen an application; a new enrollment cannot restart the closed application.

Errors

A funded loan that is already active in collections is rejected even if it has origination history. Use the collections API for collections lifecycle changes.

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

External application reference (loanId from enrollment)

Body

application/json
reason
enum<string>
required
Available options:
FUNDED,
WITHDRAWN,
REJECTED

Response

Origination closed; counts reflect work cancelled by this request

id
string
required
reason
enum<string>
required
Available options:
FUNDED,
WITHDRAWN,
REJECTED
cancelledCallSchedules
integer
required
cancelledEmailSchedules
integer
required
cancelledSmsSchedules
integer
required
cancelledCalls
integer
required
cancelledEmails
integer
required
cancelledSms
integer
required
status
string
default:CLOSED
Allowed value: "CLOSED"