# Token

<mark style="color:blue;">`GET`</mark> `https://api.beepayapp.com.br/api/token/{mercado}`

Atualiza o token do mercado

#### Path Parameters

| Name                                      | Type    | Description |
| ----------------------------------------- | ------- | ----------- |
| mercado<mark style="color:red;">\*</mark> | integer |             |

#### Headers

| Name          | Type   | Description                        |
| ------------- | ------ | ---------------------------------- |
| Authorization | String | Token Master Fornecido pela equipe |

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

```json

{
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxNzg5IiwianRpIjoiOTRiODQ5ZjJlZWJlNDg5M2Y1ZTAzZjcxMTZiNjdhZmQxN2ZiMzFjNWM5MTI4NTFmZDkyNzE4MGIzODQxN2UyZmM1MWUxY2M2N2E2ZGQ5ZmUiLCJpYXQiOjE3MDc0MTgyODUuNjk4MzE4LCJuYmYiOjE3MDc0MTgyODUuNjk4MzE5LCJleHAiOjE3MzkwNDA2ODUuNjkyOTM2LCJzdWIiOiI2Iiwic2NvcGVzIjpbXX0.FCc_GJzp0qr_T8MMqCo_smXxwTnt6dsZKd3VepR4u73A0aysKOFaxdTP16IopUMESNL2ussBiWg9pFG1FrphVSUhixOC9rTMf9QqAdWnPXreEmZoYXvhSWsIOLLCYNB4kjGbOUvXNIinb2WANV5yNA6lb7w3Ei-RJ0KEVwcxR_VBnpKl9zxtnOAwZPv1N-ho-OchELUfrDnrVuP7A2ssutNUCTgu8lRmOXvaZPslldgPk1PtPrBrShXpMKCu7GLvPMKudLf3Wgm45gMkSBngDVZpjVqCSdOICbNbDW3cM-kCMWmQCwxDkAnl1Wd09syyvG6de8qXOtFNqMWUyOhkjtQRyBOPkOtqRWMZypZOszJPDusJ93heoApINyZASixTXXSoDY-iZQAHoUKCtKWtew5Bn95DAARJIwQ_Xm3jmo4QaJ6S6-fgr-9dFSbY8S4VdQzN-NCbcxNvGPR3DI9fREKzJBbC7Ok3Dvyq3HIn4WRhXz-RifmGTZ4XZhL24BlhxfYcVsQQQeIC9nEdSBqwWhWM06ln70DErj_t8gw1RotR1aYjsC27326fdMOjbrI9xzqbWVfzV7Hot6GvIP9JZuV7vZqwgRhnymQHUEku9DB6Vt4J7Wf1_Y8K7m-2_lyGJ1Aa2gARpXNbomDcSVkEcr639rtgelfAKfs3ch0VI_g",
    "valid_until": "2025-02-08T18:51:25.000000Z"
}
```

{% endtab %}

{% tab title="401: Unauthorized Expired" %}

{% endtab %}

{% tab title="403: Forbidden " %}

{% endtab %}
{% endtabs %}
