v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Accounts

Change State of Multiple Accounts

This API method allows the calling application to modify the State of multiple Accounts in a Wallet

patch/wallet/{walletId}/accounts/state

Path parameters

walletIdstring string required

EES AIR Wallet ID

Request body

accountIdstring string required

The account ID to apply the operation against.

statestring required

The state to set.

Example request

[
  {
    "accountId": 1234,
    "state": "EARNBURN",
    "dates": {
      "start": "2025-04-20T00:00:00+00:00",
      "end": "2025-05-22T00:00:00+00:00"
    }
  },
  {
    "accountId": 1256,
    "state": "EARNBURN",
    "meta": {
      "someKey": "someValue"
    }
  }
]

Response

OK

totalinteger

The total number of Wallet Accounts both successful and unsuccessful.