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.Documentation Index
Fetch the complete documentation index at: https://docs.api.bsa.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
Request body
ISO-8601
YYYY-MM-DD. The effective date of closure.Reference to an LMS code value (closure reason code). Valid
values are configured per deployment.
Example
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 |

