List account accruals v2
List account accruals with filtering options.
<b>Note:</b> This endpoint requires an account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized message.
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/statements/v2/accounts/{accountId}/interest-accruals
- AuthHTTP bearer
Path parameters
Account ID
Query parameters
Interest accrual status.
- PENDING: Accrual has been calculated but has not yet generated a transaction.
- PROCESSED: Accrual has been processed and a transaction has been generated.
- STOP_ACCRUAL: Due to a program parameter, the accrual has reached the maximum number of days to be posted as a transaction. For more information, refer to Limiting the number of days accruals can be charged.
Interest accrual type.
- REFINANCING: When payment is greater than the minimum and less than the total balance amount.
- OVERDUE: When a payment is received that is less than the minimum amount required, the account enters overdue state, and refinancing of that type is calculated.
Interest accrual ID. Depending on accrualType, endDate, and beginDate, some filters might be ignored. The other filters can be used concurrently.
Transaction ID. When passed, the accrualType, endDate and beginDate filters are canceled. The other filters can be used concurrently.
Statement ID. When passed, the accrualType, endDate and beginDate filters are canceled. The other filters can be used concurrently.
Beginning date filter. Return statements that have opening date after or equal to this date. Default value is account creation date. Format = yyyy-mm-dd.
End date filter. Return statements that have opening date before or equal to this date. Default value is today's date. Format = yyyy-mm-dd.
Items per page. Default is 10.
Page number
Headers
Account token, not a regular access token. Account tokens are encoded with an account ID. Tokens can expire quickly, which can result in an Unauthorized message.
Response
Ok
Example response
{
"pages": 4,
"current_page": 2,
"per_page": 50,
"total_items": 100,
"items": [
{
"interest_accrual_id": 564,
"created_at": "2021-08-10T00:00:00",
"transaction_id": 77489,
"statement_id": 9497889,
"transaction_balance": 101.99,
"accrual_date": "2021-01-01",
"accrual_type": "REFINANCING",
"interest_rate": 0.1,
"accrued_amount": 1.95,
"iof_amount": 1.35,
"fixed_iof_amount": 1.15,
"status": "PENDING",
"additional_info": {
"account_financial_classification": 2
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.