v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
LoanProducts

Activate loan product (BR alias)

BR-aliased path for activating a loan product. Resolves to the same handler as the core endpoint.

post/api/v1/br/loan-products/{id}/activate

Path parameters

idstring uuid required

Loan product identifier.

Example:550e8400-e29b-41d4-a716-446655440000

Loan product identifier.

Request body

versionIdstring uuid required

Loan product version to pin on activation.

Example request

{
  "versionId": "550e8400-e29b-41d4-a716-446655440001"
}

Response

OK

createdAtstring required

Creation timestamp (RFC3339, UTC).

currentVersionIdstring

Identifier (uuid) of the pinned active version; empty until activation.

idstring required

Server-assigned loan product identifier (uuid).

jurisdictionCodestring required

Jurisdiction profile code (e.g. BR).

loanTypestring required

Loan product type.

namestring required

Loan product display name.

statusstring required

Lifecycle status (e.g. draft|active).

Example response

{
  "createdAt": "2026-06-14T12:00:00Z",
  "currentVersionId": "550e8400-e29b-41d4-a716-44665544000a",
  "id": "550e8400-e29b-41d4-a716-446655440009",
  "jurisdictionCode": "BR",
  "loanType": "personal",
  "status": "active"
}