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

# Transferência PIX

## Realizar um pix

<mark style="color:green;">`POST`</mark> `https://dev.stric.com.br/pix`

#### Headers

| Name                                            | Type   | Description               |
| ----------------------------------------------- | ------ | ------------------------- |
| authorization<mark style="color:red;">\*</mark> | String | Bearer Token              |
| account<mark style="color:red;">\*</mark>       | String | ID da conta a ser operada |

#### Request Body

| Name                                     | Type   | Description |
| ---------------------------------------- | ------ | ----------- |
| amount<mark style="color:red;">\*</mark> | Number | Valor       |
| pixKey<mark style="color:red;">\*</mark> | String | Chave PIX   |

{% tabs %}
{% tab title="200: OK Caso de sucesso" %}

```javascript
{
    "id": "96182c41-a978-4edc-98a5-713c79a4d849",
    "credit": false,
    "amount": 4,
    "description": "PIX PARA JOSÉ HENRIQUE DIAS",
    "rateValue": 0,
    "consignorName": "PEDRO HENRIQUE FERREIRA",
    "consignorDocument": "30432886028",
    "consignorBankNumber": "450",
    "consignorBankBranch": "0001",
    "consignorBankAccount": "189509920",
    "consignorBankAccountDigit": "6",
    "beneficiaryName": "JOSÉ HENRIQUE DIAS",
    "beneficiaryDocument": "15982785091",
    "beneficiaryBankNumber": "450",
    "beneficiaryBankBranch": "0001",
    "beneficiaryBankAccount": "188848524",
    "beneficiaryBankAccountDigit": "7",
    "status": "PROCESSING",
    "date": "2022-06-21T16:53:23.132Z"
}
```

{% endtab %}

{% tab title="400: Bad Request Parâmetro obrigatório ausente" %}

```javascript
{
    "statusCode": 400,
    "error": "Bad Request",
    "message": "Validation failed",
    "validation": {
        "body": {
            "source": "body",
            "keys": [
                "pixKey"
            ],
            "message": "\"pixKey\" is required"
        }
    }
}
```

{% endtab %}
{% endtabs %}
