Accrual types minimum value

Configure minimum value by accrual type

Configure a minimum value for an accrual type. At cycle closing, if the calculated value for an accrual of that type is lower that the configured minimum value, the minimum value is used instead.

This is an immutable configuration. So, to override a previous configuration, you have to create a new configuration for the same level in the hierarchy. The old configuration is maintained to track the changes, but it's not used.

post/v1/accrual-type-minimum-value

Request

  • Base URL
    https://sandbox.pismolabs.io/credit-cycle-interest-accruals
  • URL
    https://sandbox.pismolabs.io/credit-cycle-interest-accruals/v1/accrual-type-minimum-value
  • Auth
    HTTP bearer

Request body

accrual_typestring required

Accrual type. Should be one of the following values: REFINANCING OVERDUE WITHDRAWAL_INTEREST BILLPAYMENT_INTEREST OVERDRAFT_INTEREST FINANCIAL_TAX

hierarchy_name'ORG_ID' | 'PROGRAM_ID' | 'ACCOUNT_ID' required
hierarchy_valuestring required

If hierarchy_name is PROGRAM_ID or ACCOUNT_ID, the hierarchy value must be an integer. If hierarchy_name is ORG_ID, the value must be a string.

minimum_amount_to_postnumber double required

Example request

{
  "accrual_type": "REFINANCING",
  "hierarchy_name": "ACCOUNT_ID",
  "hierarchy_value": "123456789",
  "minimum_amount_to_post": 100.23
}

Response

Created

accrual_typestring required

Accrual type. Should be one of the following values: REFINANCING OVERDUE WITHDRAWAL_INTEREST BILLPAYMENT_INTEREST OVERDRAFT_INTEREST FINANCIAL_TAX

hierarchy_name'ORG_ID' | 'PROGRAM_ID' | 'ACCOUNT_ID' required
hierarchy_valuestring required

If hierarchy_name is PROGRAM_ID or ACCOUNT_ID, the hierarchy value must be an integer. If hierarchy_name is ORG_ID, the value must be a string.

minimum_amount_to_postnumber double required

Example response

{
  "accrual_type": "REFINANCING",
  "hierarchy_name": "ACCOUNT_ID",
  "hierarchy_value": "123456789",
  "minimum_amount_to_post": 100.23
}

Changes

No recorded changes to this operation across all 1 revision of this API.