Skip to main content
POST
/
api
/
v2
/
liquidity
/
utilization
/
proofs
Create Utilization Proof
curl --request POST \
  --url https://api.mansafinance.co/api/v2/liquidity/utilization/proofs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'data=<string>' \
  --form additionalProperties='@example-file'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount": 123,
  "currency": "<string>",
  "corridors": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "routes": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      ]
    }
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

API key for authentication

Authorization
string
header
required

JWT token following RFC001 specification

Body

multipart/form-data
data
string
required

JSON-encoded CreateUtilizationRequest object.

{key}
file

Optional proof document files, named after the route or corridor they belong to.

Response

Utilization proof created successfully

id
string<uuid>
amount
number
currency
string
corridors
object[]
created_at
string<date-time>