Updates state of a ledger account

Updates state of a subaccount type ledger account.

Considerations:

  1. You couldn't modify state of the canceled ledger accounts.
  2. You couldn't modify accounts where the type is different of a subaccount
Path Params
string
required

Account ID (Base 62 format)

Body Params

Attributes to update state of a ledger account

string

It provides a textual reason why the account is blocked in case of the state_reason value is other.

string
enum

It provides the reason why the account could be blocked. It is required when the account is transitioned to being blocked.

Allowed:
string
enum
required

State to update the account, it can be one of the following values:

  • active: it's enabled to perform operations with the account balance.
  • blocked: it's disabled by a tenant and couldn't perform any operation with the account balance.
Allowed:
Responses

Callback
Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json