Close a customer
Customers
Close a customer
Permanently close an active customer.
POST
Close a customer
Closes a customer. The customer can no longer hold new loans or accounts but historical records remain queryable. Closure cannot be undone — there is no “reopen” endpoint. Two equivalent forms — see Addressing a customer.Documentation Index
Fetch the complete documentation index at: https://docs.lms.bsa.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
LMS id, or the externalId on the
/external/{customer_external_id}/close form.Request body
ISO-8601
YYYY-MM-DD. The effective date of closure.Closure reason code. Valid values are configured per deployment.
Examples
Response
200 OK returns the customer object with
status="Closed".
Errors
| Code | When |
|---|---|
not_found | No customer with that ID |
aborted | Customer has open loans/accounts, or is already closed |
invalid_argument | Missing closureDate or closureReasonId |

