A customer is a borrower record. Every loan in the system is tied to exactly one customer. New customers created via this API are Active immediately — there’s no pending state for partners to manage. The remaining lifecycle transition is just Active → Closed.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.
The customer object
Unique customer identifier. Treat as opaque.
Human-readable account number assigned at creation.
Optional client-assigned external ID. Useful for correlating to your
own systems.
Status label (e.g.
Pending, Active, Closed).Whether the customer is currently active and can hold loans.
ID of the office (branch) the customer belongs to.
Display name of the office.
Computed full name.
ISO-8601
YYYY-MM-DD.ISO-8601
YYYY-MM-DD. Present only after activation.ISO-8601
YYYY-MM-DD.Addressing a customer
Every resource-level customer endpoint accepts two equivalent path prefixes. Prefer the externalId form — it lets you drive integrations off the identifier you already store, with no client-side mapping back to a numeric LMS id.| Form | Path prefix | When to use |
|---|---|---|
| By externalId (recommended) | /v1/customers/external/{customer_external_id}/... | Use the externalId you supplied on POST /v1/customers. |
| By LMS id | /v1/customers/{customer_id}/... | Use the numeric id returned from POST /v1/customers. |
404 not_found.
Endpoints
Each row below has an equivalent form under/v1/customers/external/{customer_external_id}/... — substitute the
prefix when addressing the customer by externalId.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/customers | Create a customer |
| GET | /v1/customers | List customers (paginated; ?externalId= for point lookup) |
| GET | /v1/customers/{customer_id} | Get one |
| PUT | /v1/customers/{customer_id} | Update the externalId |
| DELETE | /v1/customers/{customer_id} | Delete (only in pending state) |
| POST | /v1/customers/{customer_id}/close | Close an active customer |

