---
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`

## Request

- Base URL: `https://marketplace-api.dlocal-sbox.com`
- URL: `https://marketplace-api.dlocal-sbox.com/v2/accounts/{account_id}/sandbox-tools/change-status`
- Auth: API key in header `X-Date` and API key in header `X-Login` and API key in header `X-Trans-Key` and API key in header `X-Version` and API key in header `User-Agent` and API key in header `Authorization`

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](doc:status-description-v2-platforms).
  - `status_code` number, required: Account status code. [See details](doc: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](doc:status-description-v2-platforms).
  - `status_code` number: Account status code. [See details](doc:status-description-v2-platforms).
  - `status_detail` string: Account status detail.

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/dlocal/apis/platforms.md) - [All operations](https://skmtc.dev/dlocal/apis/platforms/llms.txt) - [OpenAPI document](https://skmtc.dev/dlocal/apis/platforms/revisions/4be9adbbfce5?raw)
