POST
/
api
/
v1
/
liquidity
/
management
/
repayments
Create Repayment
curl --request POST \
  --url https://api.mansa.io/api/v1/liquidity/management/repayments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "type": "interest",
  "amount": "16666",
  "chain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "interest",
  "amount": "<string>",
  "chain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "SUBMITTED"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Authorization
string
header
required

JWT token following RFC001 specification

Body

application/json

Response

Repayment submitted

The response is of type object.