> For the complete documentation index, see [llms.txt](https://docs.cicleo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cicleo.io/developer-integration/developer-integration-overview.md).

# Overview

<figure><img src="/files/6zvo0OZDWHTTzuGMiU9w" alt=""><figcaption></figcaption></figure>

### Cicleo can be implemented to process payment on chain and trigger if you need a webhook link to get your subscriber updated on your database !

### On Chain usage exemple

If you want to use cicleo into your smartcontract and read it on chain you'll have to use a smartcontract on the same chain as your subscription manager.\
Here we assume you have created your subscription manager and you know it id.<br>

First you will import this interface into your sol file

<pre class="language-solidity"><code class="lang-solidity"><strong>interface ICicleoRouter {
</strong>    function getUserSubscriptionStatus(
        uint256 subscriptionManagerId,
        address user
    ) public view returns (uint256 subscriptionId, bool isActive);
}
</code></pre>

Then you just call with the this function to get the status of a specific user with the given submanager id (in that case it's 5 but use yours)

<pre class="language-solidity"><code class="lang-solidity"><strong>function getUserStatus(address user) returns (uint256 subscriptionId, bool isActive) {
</strong>    uint258 subManagerId = 5;
<strong>    return ICicleoRouter(0x7B960C2F89a2829b323e6624cB03f6cD0046C97e).getUserSubscriptionStatus(subManagerId, user)   
</strong><strong>}
</strong></code></pre>

If you need some more complex integration let us know on discord we can do it for sure !


---

# 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 dynamically by asking a question.

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

```
GET https://docs.cicleo.io/developer-integration/developer-integration-overview.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.
