Update Yield Offering Profiles

This method is called to update the configurations of an existing yield profile. To identify the profile to be updated, pass the yield offering ID.

HTTP Method : PUT
API Endpoint : {{baseurl}}/api/v1/configuration/yield-offering

Sample cURL Request

curl --location --request PUT 'https://api.ovalfi-app.com/api/v1/configuration/yield-offering' \
--header 'Authorization: Bearer eyJidXNpbmVzc0lEIjoiOTIzYjJkZjUtNGE4OS00Y2ViLWIxNDgtYzJlNWFjNTJkMDRlIiwidXNlcklEIjoiMjQ4YmFhNDMtYzQ0Yi00ZjYwLWI2MWQtY2VlZjYwOThjNzg1Iiwia2V5IjoiYWZ1bm5ubm5paWlpaWkifQ==' \
--data-raw '{
    "yield_offering_id":"c38df7f4-e785-46ad-affa-ad8361f7e466",
    "name": "aave yield ff",
    "description": "for aave"
}'

📘

Note

If the apy_rate parameter is updated, it’s mandatory for the partner to also pass the portfolio_id parameter & vice versa

Response

{
    "status": 200,
    "data": {
        "yield_offering_id": "c38df7f4-e785-46ad-affa-ad8361f7e466",
        "name": "aave yield ff",
        "description": "for aave",
        "createdAt": "0001-01-01T00:00:00Z",
        "updatedAt": {
            "Time": "0001-01-01T00:00:00Z",
            "Valid": false
        },
        "reference": ""
    },
    "message": "updated yield offering profile successfully",
    "error": null
}