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

# Realizar Pagamento

Realiza um pagamento Pix para uma chave específica (Cash-out).

### Headers

| Header          | Valor                   | Descrição        |
| :-------------- | :---------------------- | :--------------- |
| `Authorization` | `Bearer <access_token>` | Token de acesso. |

### Parâmetros do Body

<ParamField body="amount" type="number" required>
  Valor do pagamento.
</ParamField>

<ParamField body="external_id" type="string" required>
  ID único para identificar o pagamento.
</ParamField>

<ParamField body="payerQuestion" type="string">
  Descrição do pagamento.
</ParamField>

<ParamField body="postbackUrl" type="string">
  URL para receber notificações de status.
</ParamField>

<ParamField body="creditParty" type="object" required>
  Dados do beneficiário.

  <Expandable title="properties">
    <ParamField body="key" type="string" required>Chave Pix</ParamField>
    <ParamField body="keyType" type="string" required>Tipo de chave (EMAIL, CPF, CNPJ, PHONE, EVP)</ParamField>
    <ParamField body="document" type="string">CPF/CNPJ do beneficiário</ParamField>
    <ParamField body="name" type="string">Nome do beneficiário</ParamField>
  </Expandable>
</ParamField>
