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

# Pay4Fun GO

{% hint style="info" %}
This document's content may be updated without prior warning. The software discussed is governed by a license agreement, dictating its use and replication. Reproducing or distributing any part of this manual without Pay4Fun's explicit written permission is strictly prohibited. All mentioned trademarks and registered trademarks belong to their respective holders. Pay4Fun does not offer any warranties for this product beyond those specified in its license agreement.
{% endhint %}

### Getting Started

Welcome to Pay4Fun, where we empower both consumers and merchants to conduct transactions quickly, conveniently, and securely.

This API documentation pertains to Pay4Fun GO, a specialized gateway system designed for direct deposit (Pay In) and withdrawal (Pay Out) functionalities on merchant websites.

With the Pay4Fun GO API, flexibility and simplicity are at your fingertips. Now, in addition to page redirection, you can seamlessly integrate the PIX QRCode directly on your website, providing a smoother experience for your customers. We've removed the need for authentication, making the process even faster and more convenient: all you need is the customer's CPF to initiate deposits or withdrawals securely. Fewer steps for your customers mean more efficiency for your business!

This integration model not only allows you to accept payments through Pay4Fun but does so without adding complexity to your own system, such as the need to handle sensitive payment data. It's a seamless solution that ensures both efficiency and security in all your financial interactions.

<figure><img src="/files/HeEA4iCQxuT6z5cKaqes" alt=""><figcaption><p>Model with no redirection</p></figcaption></figure>

> Pay4Fun is responsible for:&#x20;
>
> • Validating the data entered by the customer;&#x20;
>
> • Ensuring that the data is held and disposed securely;


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.pay4fun.com/pay4fun-go.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
