Skip to main content
POST
/
simulation
/
accounts
/
{id}
/
status
Simulate account status
curl --request POST \
  --url https://api.rnbi.magent.finance/simulation/accounts/{id}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Reap-Version: <reap-version>' \
  --data '
{
  "status": "ACTIVE"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "detail": {}
  }
}

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14

Path Parameters

id
string<uuid>
required

Body

Simulate an account status change

status
enum<string>
required

Target account status

Available options:
ACTIVE,
RESTRICTED

Response

The resource is not in a valid state for the requested simulation

error
object
required