Wallet Accrued Interest

GET/api/v1/wallet/:wallet_id/accured-interests

Fetches interest accrued for the current month.

Path Parameters

NameTypeRequiredDescription
wallet_idstringYesWallet ID.
1
Request Example
(cURL)
curl -X GET "https://api.piggyvest.business/api/v1/wallet/:wallet_id/accured-interests" \\
-H "Authorization: Bearer YOUR_SECRET_KEY"
2
Success Response(200)
(JSON)
{
"status": true,
"message": "Wallet interest accrued",
"data": [
{
"balance": "NGN 1,100.00",
"interest_value": "NGN 0.30",
"interest_value_unformatted": 30.136986301369863,
"interest_date": "2024-03-25",
"percentage": 10
}
]
}
3
Error Response(400)
(JSON)
{
"status": false,
"message": "An error occurred fetching accrued wallet interest"
}