> ## Documentation Index
> Fetch the complete documentation index at: https://docs.v2.topup.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Comprehensive guidance for integrating TumiPay's API services.

This document provides a comprehensive guide for integrating the TumiPay API into your systems or applications, enabling simple and secure transactions. It includes all the technical information and best practices needed for API integration.

## Overview of APIs

Tumipay provides four main API services:

1. **PayIn API**: Process payment collections through various payment methods.
2. **PayOut API**: Handle disbursements to bank accounts and digital wallets.
3. **Merchant API**: Retrieve merchant balance and search transactions.
4. **Card Payment API**: Manage recurring subscriptions with credit and debit cards, including preauthorization and capture of transactions.

## Country-Specific Information

Our services are available in multiple countries. Each country has its own set of supported payment methods, document types, and other specific configurations. Please refer to the documentation for each country for detailed information.

> [card] [Colombia](https://docs.v2.topup.com.co/docs/co/introduction.md)
>
> Specific information for Colombia

> [card] [Peru](https://docs.v2.topup.com.co/docs/pe/introduction.md)
>
> Specific information for Peru

> [card] [Mexico](https://docs.v2.topup.com.co/docs/mx/introduction.md)
>
> Specific information for Mexico

> [card] [Guatemala](https://docs.v2.topup.com.co/docs/gt/introduction.md)
>
> Specific information for Guatemala

> [card] [Honduras](https://docs.v2.topup.com.co/docs/hn/introduction.md)
>
> Specific information for Honduras

## Authorization

The Authorization section explains how to include authentication details in your API requests. TumiPay uses Basic Authentication, which requires a username and password for secure access, represented as `{{user}}` and `{{password}}`, respectively.

### Request Headers

The "Request Headers" section outlines how to include additional information in your API requests. For example, a header named `Token-Top` is used to provide an authentication token.

Tumipay's API offers a wide range of functionalities, empowering you to manage various actions available through the platform efficiently.

To request the necessary credentials for access and use of our APIs, please send an email to the address provided. This step is essential for the generation and assignment of your personal credentials: [tecnologia@tumipay.co](mailto:tecnologia@tumipay.co), [soporte@tumipay.co](mailto:soporte@tumipay.co)

## Environments

Test your integration using the Sandbox environment, which does not involve real monetary transactions. Once your integration is complete and you are ready for production, contact the TumiPay team for approval.

To perform payouts, you can create a successful payin within the same Sandbox environment. This will add funds to your balance, allowing you to proceed with the necessary payouts.

### Sandbox

For certification and testing purposes, we provide a dedicated **UAT** environment. It simulates real payment flows but does **not** process actual money.

```
https://api-empresas.uat.topup.com.co/production/api
```

#### Testing PayIn outcomes

Use these parameters to control approved vs rejected results:

* **Approved:** `customer_data.email` = [approved@tumipay.co](mailto:approved@tumipay.co)
* **Rejected:** any other email

**PSE (Colombia):** select bank **Banka** when creating or completing the payment — not [Sandbox Confirm](https://docs.v2.topup.com.co/api-reference/sandbox.md).

**CARD:** use the [sandbox test card numbers](https://docs.v2.topup.com.co/api-reference/payin.md#sandbox-test-cards). The charge result is fixed by the PAN; sandbox confirm does not apply.

**NEQUI\_PUSH:** sandbox automatically simulates the push after create. See [Colombia PayIn](https://docs.v2.topup.com.co/docs/co/payin.md).

#### Sandbox Confirm

For PayIn and PayOut that stay **pending** (`BREB`, `EFECTY`, `SPEI`, `QR`, `BANK_TRANSFER`, and others), use [Sandbox Confirm](https://docs.v2.topup.com.co/api-reference/sandbox.md) to set `APPROVED`, `REJECTED`, or `EXPIRED` and receive the merchant webhook — without waiting for an external callback.

Endpoints (UAT only):

* `POST /api/v1/sandbox/payin/confirm`
* `POST /api/v1/sandbox/payout/confirm`

See the [Sandbox Confirm guide](https://docs.v2.topup.com.co/api-reference/sandbox.md) for supported methods, request body, and examples. For the full testing checklist, see [Testing](https://docs.v2.topup.com.co/api-reference/testing.md).

#### PayOut balance

Create a successful PayIn in sandbox first to fund your test balance before initiating PayOut transactions.

During the integration phase, use these tools to exercise approvals, rejections, expirations, and webhooks before moving to production.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.