---
title: "Simulate account status change (sandbox only)"
method: POST
path: "/v2/accounts/{account_id}/sandbox-tools/change-status"
tags: ["Account management"]
---

# Simulate account status change (sandbox only)

`POST /v2/accounts/{account_id}/sandbox-tools/change-status`

This service can be used to simulate an account status change in sandbox.

## Path parameters

- `account_id` string, required

## Request body

- SimulateAccountStatus
  - `account_id` string, required — User’s dLocal account ID.
  - `status` string, required — Account status. [See details](https://docs.dlocal.com/docs/status-description-v2-platforms).
  - `status_code` number, required — Account status code. [See details](https://docs.dlocal.com/docs/status-description-v2-platforms).
  - `status_detail` string, required — Account status detail.

## Response `201`

OK

- ResponseSimulateAccountStatus
  - `account_id` string — User’s dLocal account ID.
  - `status` string — Account status. [See details](https://docs.dlocal.com/docs/status-description-v2-platforms).
  - `status_code` number — Account status code. [See details](https://docs.dlocal.com/docs/status-description-v2-platforms).
  - `status_detail` string — Account status detail.

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/dlocal/apis/payins.md) · [All operations](https://skmtc.net/dlocal/apis/payins/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dlocal/payins/revisions/d87e090020f9/schema)
