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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Account ID (Base 62 format)

Body Params

Attributes to update state of a ledger account

This entity is used to update the state of a ledger account, it could be transitioned to active or blocked

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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json