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

# v1 Pix Payments

> Maintain or migrate legacy Pix payment flows exposed through the v1 route family.

These routes are archived for compatibility. New Pix projects should use `/v2/transactions`.

## Legacy routes

* `POST /pix/v1/payment`
* `GET /pix/v1/transactions`
* `GET /pix/v1/transactions/{id}`
* `POST /pix/v1/payment/refund/{id}`
* `POST /pix/v1/payment/withdraw`

## Migration direction

* create Pix payment -> `POST /v2/transactions` with `method: "pix"`
* retrieve payment -> `GET /v2/transactions/{id}`
* refund -> `PUT /v2/transactions/{id}/refund`
* withdraw -> `POST /v2/transfers`

## Read next

* [Accept Pix Payments](/payments/pix/accept-payments)
* [v1 to v2 Migration](/legacy/v1/migration-to-v2)
