v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Statuses and reasons

Roll back status

Reset account status to NORMAL.

This endpoint generates an Account status changed event.

patch/accounts/v2/accounts/{accountId}/status/rollback

Path parameters

accountIdinteger required
Example:6912345

Account ID

Request body

statusstring

Status to update. Pre-defined account statuses include DEBIT_ONLY, NORMAL, BLOCKED, and CANCELLED. You can create your own account statuses with the Create status endpoint.

reason_idinteger

ID of the reason why the account is in its current status. You can create reasons with the Create status reason endpoint.

descriptionstring

Account rollback status description

Example request

{
  "status": "NORMAL",
  "reason_id": 123,
  "description": "Rollback of account cancellation"
}

Response

OK