# Postman 範例

## <mark style="color:blue;">Postman 彙集與環境範例</mark>

為了幫助您快速測試 AkashicPay SecureAPI，我們提供可下載的 Postman 彙集與環境範例檔案。

這些檔案是有版本的 - 目前的版本是 **v0.2**。

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

* 🔗 彙集： `[AkashicPay] SecureAPI - example.postman_collection.json`
* 🔗 環境： `Testnet-SecureAPI-Env.postman_environment.json`

> 請務必使用您的實際下載連結取代上述 URL。

***

### <mark style="color:blue;">如何使用</mark>

1. **安裝 Postman**
   * 從 <https://www.postman.com/downloads/> 下載並安裝 Postman。
2. **匯入匯集**
   * 開啟 Postman 並按一下左上方的 `Import`。
   * 上傳檔案：\
     `[AkashicPay] SecureAPI - example.postman_collection.json`
3. **匯入環境**
   * 對檔案重複相同的程序：\
     `Testnet-SecureAPI-Env.postman_environment.json`
   * 匯入後，從 Postman 右上角的下拉式選單中選擇環境。
4. **設定所需變數**
   * 環境檔案包含下列變數：

     * `IP`：測試環境 API 的基本 URL (例如 testnet: 34.87.94.182)

     * `L2Address`： 您的第 2 層地址 - 用您收到的地址取代

     * `PrivateKey`： 您的密鑰對 - 請用與您 `L2Address` 相關的密鑰對取代

     > 請務必妥善保管您的密鑰對。請勿公開分享。
5. **開始測試**
   * 這個集合包含有占位符的範例請求，會自動使用您設定的環境變數。

***

### <mark style="color:blue;">附件檔案</mark>

1. Postman Json 彙集範例&#x20;

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

2. 測試環境範例

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


---

# 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/traditional-chinese/secureapi/postman-fan-li.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.
