Skip to main content
POST
Declare that collection of a written-off contract ended

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string

Idempotency key of the declaration: 1 to 255 bytes of UTF-8. The route refuses a request without it, or with a blank, longer or non-UTF-8 one (LENDER-0965). X-Request-ID is never read as the key.

Path Parameters

id
string<uuid>
required

Written-off direct-credit loan account.

Response

Created

collectionEndedAt
string<date-time>
required

RFC 3339 instant the declaration was recorded; the server clock dates it.

collectionEndedBy
string
required

Subject of the validated identity that declared it; empty when none reached the route.

loanAccountId
string<uuid>
required

Written-off loan account.

requestId
string
required

X-Idempotency key the declaration was recorded under.

writeOffId
string<uuid>
required

Write-off whose collection ended.