Change an account's collection status from NORMAL to OVERDUE or vice-versa. OVERDUE accounts cannot do cash-outs (purchases, cash withdrawals, and so on).
When you try to change an account's collection status to OVERDUE, the Pismo platform first verifies that OpenDueDate is not NULL and that it is a date in the past. If this test fails, it returns 400 Bad request.
No validations are done when you change the collection status to NORMAL.
Changing the account collection status does not affect the account status. So, for example, changing the account collection status from NORMAL to OVERDUE does not cause the account status to change to BLOCKED, even though it does prevent cash-outs by blocking the ledger itself. When you change the account collection status from OVERDUE to NORMAL, the ledger is unblocked and the account is again able to do cash-outs, assuming the account status is not BLOCKED. The two fields are not linked.
| Account status | Collection status | Result |
|---|---|---|
| `NORMAL` | `NORMAL` | Account is usable. |
| `NORMAL` | `BLOCKED` | Account is not usable. |
| `OVERDUE` | `NORMAL` | Account is not usable. |
| `OVERDUE` | `BLOCKED` | Account is not usable. |
For more information about the account collection status, refer to the Credit liquidation guide.
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.