This end point allows lenders to assign a loan to a debt collection agency.
When a loan is assigned to a debt collection agency, the system will set servicedBy=debtCollectionAgency
.
Once the loan is assigned, Peach system can only accept "external" transactions to update the loan balance (isExternal=true
).
Success
{- "agencyId": "string",
- "assignedOnDate": "2019-08-24",
- "status": "unassigned"
}
{- "status": 0,
- "message": "string",
- "data": {
- "agencyId": "string",
- "agencyExternalId": "string",
- "assignedOnDate": "2019-08-24",
- "status": "unassigned"
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "agencyId": "string",
- "agencyExternalId": "string",
- "assignedOnDate": "2019-08-24",
- "status": "unassigned"
}
}
This endpoint is used to "unassign" a loan from a collection agency. To keep the servicedBy
value on the loan to debtCollectionAgency
,
just pass that value to this endpoint and the servicedBy
will remain the same, while still clearing the collection agency assignment fields for the loan.
Success
{- "status": 0,
- "message": "string",
- "data": {
- "agencyId": "string",
- "agencyExternalId": "string",
- "assignedOnDate": "2019-08-24",
- "status": "unassigned"
}
}
Request sandbox access