View your loans as lender and borrower
cURL
curl --request GET \ --url https://api.example.com/lending/my-loans
Documentation IndexFetch the complete documentation index at: https://docs.midasprotocol.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt
Use this file to discover all available pages before exploring further.
curl https://api.midasprotocol.org/lending/my-loans \ -H "Authorization: Bearer pp_your_key"
{ "asLender": [ { "id": "uuid", "borrowerId": "...", "amount": "100.00", "status": "ACTIVE", "repayments": [...] } ], "asBorrower": [ { "id": "uuid", "lenderId": "...", "amount": "200.00", "status": "REPAID", "repayments": [...] } ] }