Offer a peer-to-peer loan with interest and collateral terms
cURL
curl --request POST \ --url https://api.example.com/lending/offers \ --header 'Content-Type: application/json' \ --data ' { "amount": 123, "currency": "<string>", "interestRate": 123, "durationDays": 123, "collateralPercent": 123, "expiresInHours": 123 } '
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.
5
curl -X POST https://api.midasprotocol.org/lending/offers \ -H "Authorization: Bearer pp_your_key" \ -H "Content-Type: application/json" \ -d '{ "amount": 100, "currency": "USDC", "interestRate": 5, "durationDays": 30, "collateralPercent": 50 }'
{ "id": "uuid", "lenderId": "your-uuid", "amount": "100.00", "currency": "USDC", "interestRate": 5, "durationDays": 30, "collateralPercent": 50, "status": "OPEN", "expiresAt": null }