> For the complete documentation index, see [llms.txt](https://docs.gestao.plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gestao.plus/api/public/payment_options_indicator.md).

# Opções de Pagamento no Indicador

## Listar opções de pagamento por indicador

<mark style="color:blue;">`GET`</mark> `https://api.gestao.plus/order/info?q=options&p=i1:goiere&t=negotiationTypes`

Liste as formas de recebimento do parceiro indicador com esta rota.\
A diferença desta rota para a listagem na unidade é o "i" no parâmetro "p".

#### Query Parameters

| Name                                | Type    | Description                                                                                                                                          |
| ----------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| p<mark style="color:red;">\*</mark> | string  | A unidade da qual iremos filtrar os tipos de negociação utilizados, aqui utilizamos "u4\_goiere"                                                     |
| t<mark style="color:red;">\*</mark> | string  | A informação que queremos sobre o parametro "p", nessa consulta escolhemos a "negotiationTypes", para listar as formas de recebimento desta unidade. |
| q<mark style="color:red;">\*</mark> | boolean | A consulta "query" a ser realizada sobre os pedidos, neste caso iremos utilizar "options".                                                           |

#### Headers

| Name                                     | Type   | Description              |
| ---------------------------------------- | ------ | ------------------------ |
| Origin<mark style="color:red;">\*</mark> | string | URL origem da requisição |

{% tabs %}
{% tab title="200 " %}

```
{
    "negotiationTypes": [
        {
            "id": 8,
            "description": "Boleto",
            "paymentSettings": {
                "paymentMethod": "BOLETO",
                "installments": 0
            }
        },
        {
            "id": 21,
            "description": "E-commerce - Cartão de crédito 1x",
            "paymentSettings": {
                "paymentMethod": "CARTAO_CREDITO",
                "installments": 1
            }
        },
        {
            "id": 22,
            "description": "E-commerce - Cartão de crédito 2x",
            "paymentSettings": {
                "paymentMethod": "CARTAO_CREDITO",
                "installments": 2
            }
        },
        {
            "id": 23,
            "description": "E-commerce - Cartão de crédito 3x",
            "paymentSettings": {
                "paymentMethod": "CARTAO_CREDITO",
                "installments": 3
            }
        }
    ],
    "image": {
        "name": "data_imgntG2Pi",
        "description": null,
        "href": "https://dev.gestao.plus/file?q={}=="
    },
    "description": "Outro texto contabilidade",
    "origin": "VENDA_ONLINE_INDICADOR",
    "id": "1",
    "_links": {
        "self": {
            "href": "https://api.gestao.plus/order/1"
        }
    }
}
```

{% endtab %}
{% endtabs %}
