Skip to main content
PUT
Update a draft advance

Description

Update advance Draft-only — only draft advances can be edited. Any of the editable terms may be provided; totalRepayableUsd is recomputed from the resulting principalDisbursedUsd × multiple. Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Body

application/json
principalDisbursedUsd
number
multiple
number
captureRate
number
disbursementCurrency
enum<string>
Available options:
NGN,
USD
disbursedAmount
number | null
fxRate
number | null
fxDate
string<date> | null
termMonths
integer
memo
string | null

Response

Advance updated.

Every /advance JSON response wraps its payload in { status, message, data }.

status
enum<string>
Available options:
success,
error
message
string
data
object