> For the complete documentation index, see [llms.txt](https://docs.payhow.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payhow.com.br/2.-processar-pagamentos/processar-pagamento-pix.md).

# processar pagamento - pix

<mark style="color:green;">`POST`</mark> `https://api.payhow.com.br/api/v1/ecommerce/checkout/cart/payment/process`

#### Headers

| Name                                               | Type   | Description         |
| -------------------------------------------------- | ------ | ------------------- |
| Accept<mark style="color:red;">\*</mark>           | String | application/json    |
| Content-Type<mark style="color:red;">\*</mark>     | String | application/json    |
| checkout-session<mark style="color:red;">\*</mark> | String | \[checkout-session] |

#### Request Body

| Name                                               | Type   | Description                    |
| -------------------------------------------------- | ------ | ------------------------------ |
| payment\_method<mark style="color:red;">\*</mark>  | String | payhow-gat                     |
| type<mark style="color:red;">\*</mark>             | String | pix                            |
| name\_customer<mark style="color:red;">\*</mark>   | String | \[nome e sobrenome do cliente] |
| first\_name<mark style="color:red;">\*</mark>      | String | \[nome do cliente]             |
| last\_name<mark style="color:red;">\*</mark>       | String | \[sobrenome do cliente]        |
| document<mark style="color:red;">\*</mark>         | String | cpf                            |
| document\_number<mark style="color:red;">\*</mark> | String | \[cpf do cliente]              |
| email<mark style="color:red;">\*</mark>            | String | \[email do cliente]            |
| phone<mark style="color:red;">\*</mark>            | String | \[telefone do cliente]         |

{% tabs %}
{% tab title="200: OK Pagamento processado" %}

```
"url": [url-do-link-qrcode]
"app_url": [url-da-imagem-qrcode]
```

{% endtab %}

{% tab title="403: Forbidden Falha ao processar pagamento" %}

{% endtab %}
{% endtabs %}
