Use this API end point to post the interest accrued on the account guid. Interest can be posted only on an account that was closed that day. Interest post request on an account that is not closed, is assumed as the pre-process steps to close the account. The batch process will close the account the follwing day(s), if not already closed by then.
Returns the account details
Bad request
Unauthorized
Account not found
Server Error
curl -i -X POST \ 'https://qvapikeybank.qolopay.com/api/{version}/accounts/{account_guid}/PostInterest' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "account_guid": "d2b7c9d2-85e7-4c51-92d0-3f97a47f8d76",
- "wallet_guid": "17eaeda9-c0ab-4ac3-8ef9-27ac9b388a03",
- "account_type": "string",
- "account_name": "string",
- "account_currency": "str",
- "available_balance": 0,
- "ledger_balance": 0,
- "suspense_balance": 0,
- "starting_balance_date": "2019-08-24T14:15:22Z",
- "starting_balance_amount": 0,
- "last_credit_date": "2019-08-24T14:15:22Z",
- "last_credit_amount": 0,
- "first_debit_date": "2019-08-24T14:15:22Z",
- "first_debit_amount": 0,
- "last_debit_date": "2019-08-24T14:15:22Z",
- "last_debit_amount": 0,
- "account_status": "string",
- "account_status_date": "2019-08-24T14:15:22Z",
- "holder_account_status": "string",
- "holder_account_status_date": "2019-08-24T14:15:22Z",
- "sys_utcinserted": "2019-08-24T14:15:22Z",
- "sys_utcupdated": "2019-08-24T14:15:22Z",
- "last_txn_guid": "100ead98-12b5-4d05-9c0c-900006fc8694",
- "interest_rate_strategy": "string"
}