/loan/{id}/complete - POST

Declare that the process to complete a loan is being initiated. A loan can immediately be completed if there are no outstanding fundings being processed. If there are outstanding fundings being processed the loan well be marked as pending completion until those fundings have been successfully processed which will trigger completing the loan. Once completed the loan can no longer be funded.

Path Params
uuid
required
Body Params
string
required
length ≥ 1

A text description of why this loan is being completed

boolean
required

Indicates that the loan is being completed before all funding stages have been disbursed

Headers
uuid
required

Unique request idenitfier for idempotency.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json
text/json
application/problem+json