patch https://api-sandbox.pismolabs.io/statements-v2/v1/accounts/
Changes an account's overdue 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 overdue 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 overdue status to NORMAL
.
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.