Skip to main content
POST
/
api
/
v1
/
liquidity
/
utilization
/
upload-document
/
{drawdownId}
Submit Settlement Proof
curl --request POST \
  --url https://api.mansafinance.co/api/v1/liquidity/utilization/upload-document/{drawdownId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "message": "Settlement data uploaded successfully",
  "drawdowns_created": 1,
  "corridors_created": 3,
  "routes_created": 5,
  "docs_created": 5
}

Authorizations

Authorization
string
header
required

JWT token following RFC001 specification

Path Parameters

drawdownId
string<uuid>
required

Unique identifier for the drawdown (UUID format). This ID must exist in the Drawdowns sheet of the uploaded Excel file.

Body

multipart/form-data
file
file
required

Excel file containing settlement data. Only the following formats are accepted:

  • .xlsx (Excel 2007+)
  • .xls (Excel 97-2003)

Other file types (PDF, PNG, JPG, etc.) will be rejected with a 400 error.

Response

Settlement data uploaded successfully

message
string
required

Success message confirming the upload

Example:

"Settlement data uploaded successfully"

drawdowns_created
integer
required

Number of drawdown records created from the Excel file

Example:

1

corridors_created
integer
required

Number of corridor records created from the Excel file

Example:

3

routes_created
integer
required

Number of route records created from the Excel file

Example:

5

docs_created
integer
required

Number of settlement proof documents created from the Excel file

Example:

5