# Postman Example

## <mark style="color:blue;">Postman Collection & Environment Examples</mark>

To help you quickly test the **AkashicPay SecureAPI**, we provide downloadable **Postman Collection** and **Environment** files.

These files are versioned — the current release is **v0.2**.

### <mark style="color:blue;">Downloads</mark>

* 🔗 Collection: `[AkashicPay] SecureAPI - example v0.2.postman_collection.json`
* 🔗 Environment: `Testnet-SecureAPI-Env.postman_environment.json`

> Be sure to replace the above URLs with your actual download links.

***

### <mark style="color:blue;">How to Use</mark>

1. **Install Postman**
   * Download and install Postman from <https://www.postman.com/downloads/>.
2. **Import the Collection**
   * Open Postman and click `Import` in the top left.
   * Upload the file:\
     \&#xNAN;**`[AkashicPay] SecureAPI - example.postman_collection.json`**
3. **Import the Environment**
   * Repeat the same process for the file:\
     \&#xNAN;**`Testnet-SecureAPI-Env.postman_environment.json`**
   * After importing, select the environment from the dropdown in the top-right corner of Postman.
4. **Set Required Variables**
   * The environment file includes the following variables:

     * `IP`: Base URL of the testnet API (e.g., testnet: 34.87.94.182)

     * `L2Address`: **Your Layer 2 address** — replace this with the address you received

     * `PrivateKey`: **Your private key** — replace this with the key associated with your `L2Address`

     > Make sure to keep your private key secure. Do not share it publicly.
5. **Start Testing**
   * The collection includes example requests with placeholders that will automatically use the environment variables you’ve configured.

***

### <mark style="color:blue;">Attachment Files</mark>

1. Example Postman Collection Json

{% file src="/files/Nns9uxQ9Y3YouNXk7Y9a" %}

2. Example TestNet Environment

{% file src="/files/ZlOFiaNrQ8ZMuiPQ6LQ1" %}


---

# 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://docs.akashicpay.com/secureapi/postman-example.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.
