/pix/key/list List Pix Keys
Background
/pix/key/list queries Pix Keys, account names, and identity document numbers. The endpoint is shared by merchants and partners.
The data of this endpoint is an array directly, not an object containing an items field; when the account has no Pix Key, an empty array [] is returned.
Endpoint
| Item | Value |
|---|---|
| Method | GET |
| Path | /pix/key/list |
| Content-Type | application/json |
| Purpose | Query the list of registered Pix Keys |
Access Requirements
Request Fields
For authentication headers, see Authentication; they are not listed in the table below.
| Field | Location | Type | Max Length | Required | Description |
|---|---|---|---|---|---|
bankAccount | Query | number | 32 | No | Bank account number, used to query only the Pix Keys under that account; if omitted, no filtering by account is applied. |
bankBranch | Query | number | 4 | No | Branch number, 4 digits, used together with bankAccount; if omitted, no filtering by branch is applied. |
This endpoint has no request body.
Request Example
http
GET /pix/key/list?bankAccount=401050&bankBranch=1 HTTP/1.1
Content-Type: application/json
X-Merchant-Id: 92315566000120
X-Timestamp: 1786867200
X-Nonce: 550e8400-e29b-41d4-a716-446655440002
Digest: SHA-256=<Base64 digest>
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"Response Fields
The endpoint uses the standard status, msg, and data response structure, where data is an array of Pix Keys.
| Field | Type | Max Length | Always Returned | Description |
|---|---|---|---|---|
status | int | 4 | Yes | Response code. |
msg | string | 128 | Yes | Message corresponding to status; sucesso on success. |
data | array | N/A | Yes | List of Pix Keys; [] when the request succeeds and there is no data, and it may be omitted when signature verification or protocol parsing fails. |
data[]. | string | 64 | Yes | The Pix Key or receiving identifier; may be masked. |
data[]. | string | 256 | Yes | Account holder's name or business name. |
data[]. | string | 64 | Yes | Account holder's identity document number: CPF for individuals, CNPJ for businesses; may be masked. |
Response Example
json
{
"status": 200,
"msg": "sucesso",
"data": [
{
"key": "dccd9074-XXXX-XXXXX-232851c81804",
"name": "GK XXXXXXE LTDA",
"document": "51***4290001**"
},
{
"key": "989549be-1487-XXXX-XXXXX--c821f2db000f",
"name": "GK XXXXXX LTDA",
"document": "51***4290001**"
}
]
}