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

# Direct Payment

> Process payins directly from your own UI — no redirection, no hosted checkout.

**Direct Payment** lets you process payins without redirecting the customer to a hosted checkout. Your application collects the required fields and submits them straight to Vita, keeping the user inside your flow.

## Integration flow

**1. Query available methods**

`GET /api/businesses/payment_methods/{country}` — returns the available payment methods and the required fields for each one.

**2. Create the payment order**

Use the standard **Payins** endpoint to create the payment order you'll process.

**3. Process the direct payment**

`POST /api/businesses/payment_orders/{id}/direct_payment` — submits the collected payment data without redirection.

## Features

> [card] No redirection
>
> The user stays inside your application for the whole flow.

> [card] Automatic validation
>
> Required fields and formats are validated server-side with clear error responses.

> [card] Multiple methods per country
>
> PSE, Nequi, Bancolombia, cards (TDC), Webpay, and others — depending on destination.

> [card] Detailed error handling
>
> Explicit HTTP codes and payloads so your UI can react precisely to each failure.


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