# 接口種類

Cregis提供標準化API，允許企業將我們的錢包無縫整合到他們的應用中，確保流暢的用戶體驗和高效運營。透過“錢包即服務”（WaaS），企業無需建構或維護自己的錢包基礎設施即可提供數字錢包服務，簡化實施流程並降低開發成本。

## 1. 生成地址

<figure><img src="/files/DHQseM0154PPEkGjvWL8" alt=""><figcaption></figcaption></figure>

通過API，企業可以生成隸屬於企業主地址的子地址。這些子地址可以分配給用戶以接收加密貨幣支付。Cregis提供“歸集”功能，將所有子地址的資產歸集至指定錢包地址，方便用戶管理。成功歸集的資金和礦工費可在錢包交易記錄中查詢。

## 2. 轉出（提現或支付）

<figure><img src="/files/jd6YI7KvoPOVej7no5Om" alt=""><figcaption></figcaption></figure>

企業轉帳或提現操作需通過Cregis企業錢包進行。為確保請求安全，需向Cregis API伺服器請求IP地址並添加至白名單，Cregis API僅允許白名單中的IP地址訪問。

## 3. 訂單收款（加密支付網關）

<mark style="color:green;">**此API需提交申請，如有興趣請**</mark>[**聯繫我們**](https://www.cregis.com/hk/appointment/)**。**

Cregis提供API，幫助企業將加密支付網關整合至其在線商店或實體POS系統，消費者可選擇加密貨幣支付結算。Cregis將代表商戶收款，並在結算時將款項返還至商戶。Cregis還可根據企業需求提供自動貨幣兌換服務，如將加密貨幣轉換為法幣並發放給商戶。

Cregis可為企業設計支付頁面，收到支付詳情後，Cregis將內容轉化為可視化頁面展示給用戶，包括企業徽標等內容。

* 客戶選擇加密貨幣支付，Cregis協助計算並顯示所需金額和轉帳地址。
* 客戶可複製地址或掃描二維碼支付。


---

# 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://support.cregis.com/cregis-wallet-guide/zh-tw/api/type.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.
