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.
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-specific access token. Getting an account token requires you to call Get OpenID access token with an external account ID. Tokens can expire quickly, which can result in an Unauthorized message.