Avista
API v2.0 — Updated Documentation

Integrate PIX Payments in Minutes

Complete documentation for integrating with PIX payment services, charges, transfers, and webhooks.

Everything you need to integrate PIX

Simple APIs, clear documentation, and ready-to-use examples

PIX Cash-In

Generate PIX charges with dynamic QR Codes and receive payments instantly.

PIX Cash-Out

Send PIX payments to any key. Supports QR Code and direct transfer.

!

Refunds

Return refunds for received PIX transactions, with full control and traceability.

< 200ms
Response time
99.9%
Guaranteed uptime
5 min
First integration
mTLS
Certified security

Simple and direct integration

Generate a PIX charge in just a few lines of code

const response = await fetch(
  'https://api.avista.global/api/pix/cash-in',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer ${token}',
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      value: 150.00,
      externalId: 'ORDER-123',
      description: 'Pagamento do pedido #123',
    }),
  }
);

const { pixCopiaECola, qrCode, transactionId }
  = await response.json();

→ Returns QR Code, Pix Copy and Paste, and transaction ID in under 200ms