# Sandbox Environment

## URL

The base-URL for our sandbox API environment is <https://baas-pilot.choicebankapi.com/>

## Private Key - Sandbox

Get the private key for sandbox environment from your **account manager**.

## Close Sandbox Account

<mark style="color:green;">`POST`</mark> `/account/closeSandBoxAccount`

This endpoint is used in a sandbox environment to close test accounts. Occassioned by the need to frequently close and open accounts to test functionality, this endpoint is special in that:

1. **OTP** will NOT be required to validate the request.
2. **Manual review** is NOT required. The request will be executed automatically without user intervention. The account closing result will be sent to you by call back notification. Please refer to callback notification type [0019](/choice-bank/notifications/callback-notifications.md#id-0019-account-closure-notification).&#x20;

**Parameters**

<table data-full-width="false"><thead><tr><th width="183">Parameters</th><th width="103">Type</th><th width="267.5333251953125">Description</th><th>Required?</th></tr></thead><tbody><tr><td><code>accountId</code></td><td>string</td><td>Account number</td><td>TRUE</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="00000" %}

```json
{
  "code": "00000",
  "msg": "Completed successfully"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://choice-bank.gitbook.io/choice-bank/getting-started/sandbox-environment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
