Skip to main content
POST
Create accrual run

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json
businessDate
string<date>
required

Business date (YYYY-MM-DD) the accrual batch is queued for.

Example:

"2026-06-14"

mode
string
required

Accrual run cadence. The scheduled driver sends monthly, one competencia per loan.

Required string length: 1 - 32
Example:

"monthly"

loanProductIds
string<uuid>[] | null

Optional loan product identifiers to scope the run.

Maximum array length: 100

Response

Created

businessDate
string
required

Business date (YYYY-MM-DD, UTC) the run was queued for.

Example:

"2026-06-14"

correlationId
string
required

Correlation identifier linking the run to its journal/outbox lineage and downstream events.

Example:

"550e8400-e29b-41d4-a716-446655440002"

id
string
required

Server-assigned UUID of the queued accrual run.

Example:

"550e8400-e29b-41d4-a716-446655440000"

journalReferenceId
string
required

UUID of the journal reference recording this run's posting lineage.

Example:

"550e8400-e29b-41d4-a716-446655440001"

status
string
required

Lifecycle status of the queued run (e.g. queued).

Example:

"queued"

outboxEventId
string

UUID of the emitted outbox event; omitted when no outbox event was recorded.

Example:

"550e8400-e29b-41d4-a716-446655440003"