Skip to main content
POST
/
v1
/
customers
/
{customer_id}
/
activate
Activate a customer
curl --request POST \
  --url https://api-dev.bsa.ai/v1/customers/{customer_id}/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "activationDate": "<string>"
}
'

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.

Activates a customer that was created in pending state (i.e. created with active=false). After activation, the customer can hold loans and savings accounts.

Path parameters

customer_id
string
required

Request body

activationDate
string
required
ISO-8601 YYYY-MM-DD. Must be on or after the customer’s submitted date and not in the future.

Example

curl -sf -X POST "$BASE/v1/customers/42/activate" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"activationDate": "2026-05-22"}'

Response

200 OK returns the customer object with active=true and status="Active".

Errors

CodeWhen
not_foundNo customer with that ID
abortedCustomer is already active or closed
invalid_argumentMissing or invalid activationDate