Get a minimum payment calculation memory for a specific account statement. The minimum payout calculation memory is the information used in the calculation of the minimum amount due (MAD) and the results of that calculation.
This this information in a JSON file. For example, in the following sample result, the default calculation strategy was used, the resulting MAD was 150, and two transactions were used in the calculation.
{
"id": 1,
"created_at": "2021-08-10T00:00:00",
"org_id": "TN-e7091464-aa1e-4c20-8c68-1e4c57741234",
"account_id": 1010,
"statement_id": 1,
"calc_strategy": "DEFAULT",
"minimum_amount": 150,
"calculation_memory": [
{
"type": "PREVIOUS_STATEMENT_TRANSACTION",
"cycle": 4,
"amount": 43.74,
"balance": 43.74,
"percentage": 1.0,
"transaction_id": 77489
},
{
"type": "CURRENT_STATEMENT_TRANSACTION",
"cycle": 5,
"amount": 3.65,
"balance": 3.65,
"percentage": 1.0,
"transaction_id": 77542
}
]
}
The calc_strategy
field has three possible values: DEFAULT
, PERCENTAGE_ONLY
, and FIXED_PERCENTAGE_WITH_OVERLIMIT_AND_OVERDUE_AMOUNT
. These values correspond to the three possible settings for the Minimum payment calculation method
program parameter: 0, 1, and 2. That is, DEFAULT
= 0, PERCENTAGE_ONLY
= 1, and FIXED_PERCENTAGE_WITH_OVERLIMIT_AND_OVERDUE_AMOUNT
= 2. For more information, refer to Minimum amount due calculation.
Note: 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.