> For the complete documentation index, see [llms.txt](https://support.cregis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.cregis.com/4.-developer-and-payment-engine/waas.md).

# WaaS

Cregis offers a standardized API that allows enterprises to seamlessly integrate our wallet into their applications, ensuring a smooth user experience and efficient operations. With Wallet as a Service (WaaS), businesses can provide digital wallet services without the need to build or maintain their own wallet infrastructure, simplifying implementation and reducing development costs.

## 1. Generate address

<figure><img src="https://3263384427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3NzJ0yGNKhTsgI2zNjK%2Fuploads%2FF3tgIwKjWKSp6R65a7q8%2Fimage.png?alt=media&amp;token=8d03f684-4e96-43d8-b304-e6c8d13bcdbd" alt=""><figcaption></figcaption></figure>

* Through the API, enterprises can generate sub-addresses which belong to the main address owned by the enterprises.
* These sub-addresses could be generated to their users for crypto payment receive.
* Cregis provides a "collection" function for the enterprise to collect all sub-address assets to the specified wallet address, which is convenient for user management and use. The successfully collected funds and miner fees can be queried in the transaction records of the wallet.

## 2. Crypto Withdrawal or Payment (WaaS)

<figure><img src="https://3263384427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3NzJ0yGNKhTsgI2zNjK%2Fuploads%2FsEi9wY2mNLNZag0vmcl3%2Fimage.png?alt=media&amp;token=915add45-1ffc-49fb-9e90-766a2e8d643d" alt=""><figcaption></figcaption></figure>

* For corporate transfers or withdrawals, it is required to operate from the Cregis enterprise wallet.
* To ensure request security, it is necessary to request the IP address of the Cregis API server and add it to the IP whitelist. The Cregis API only grants access to IP addresses in the whitelist.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.cregis.com/4.-developer-and-payment-engine/waas.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
