# Aspectos Técnicos

## <mark style="color:blue;">Consideraciones de Seguridad</mark>

* Todos los requests deben ser hechos mediante [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure). HTTP fallará
* Los pedidos a la API sin la signature también fallarán.
* Solo podrán utilizar nuestra API después de agregar IPs a las whitelist.

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

Los distintos ambientes tienen distintos dominios.

| Environment | Domain                                            |
| ----------- | ------------------------------------------------- |
| Staging     | `https://api-stg.tupayonline.com/`                |
| Producción  | Se le informará una vez que finalicen las pruebas |

{% hint style="info" %}
Notes:

* Se utilizará el ambiente de Staging para integrarse
* El ambiente de Staging y Producción no estan conectados de ninguna forma
* Ninguna transacción hecha en Staging se presentará en Producción.
* Las API Keys son distintas para Staging y Producción.
* En caso de ver el error "Insufficient Funds" en Staging pueden comunicarse vía <integration@tupaypagos.com>.
  {% endhint %}

## <mark style="color:blue;">Whitelist IPs</mark>

Por razones de seguridad, las IPs con las que llaman a nuestra API deben ser agregadas a una whitelist.

Para agregar sus IPs, debe ir a Configuración -> Api, y agregar todas las IPs que van a utilizar bajo las credenciales de "Retiros".

<figure><img src="/files/tP5RorB1f2oKjhoQ3Xvf" alt="" width="298"><figcaption></figcaption></figure>

<details>

<summary><mark style="color:blue;">Nota</mark></summary>

Toda la data recibida es convertida a UTF-8. Asegúrense de que también sea convertido a UTF-8 de su lado, así ambas partes obtienen la misma información.

</details>


---

# 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.tupayonline.com/documentacion-de-la-api/tu-payout/aspectos-tecnicos.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.
