# processar pagamento recorrente - boleto

<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 | boleto                                               |
| 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]                               |
| subscription<mark style="color:red;">\*</mark>     | String | true                                                 |
| cycle<mark style="color:red;">\*</mark>            | String | "YEARLY" / "MONTHLY" / "QUARTERLY" ou "SEMIANNUALLY" |
| discount\_percentage                               | Int    | porcentagem de desconto em inteiros \| null          |
| fine\_percentage                                   | Int    | porcentagem de multa em inteiros \| null             |
| interest\_percentage                               | Int    | porcentagem de jutos em inteiros \| null             |

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

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

{% endtab %}

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

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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-recorrente-boleto.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.
