> 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-cartao-de-credito.md).

# processar pagamento - cartão de crédito

<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 | credit\_card                    |
| 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]          |
| installments<mark style="color:red;">\*</mark>       |        | \[número de parcelas]           |
| installment\_value<mark style="color:red;">\*</mark> | String | \[valor da parcela em centavos] |
| token<mark style="color:red;">\*</mark>              | String | \[token gerado do cartão]       |

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

```
"payment_status": "processing"
```

{% endtab %}

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

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payhow.com.br/2.-processar-pagamentos/processar-pagamento-cartao-de-credito.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
