Skip to content

/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 ​

ItemValue
MethodGET
Path/pix/key/list
Content-Typeapplication/json
PurposeQuery the list of registered Pix Keys

Access Requirements ​

Request Fields ​

For authentication headers, see Authentication; they are not listed in the table below.

FieldLocationTypeMax LengthRequiredDescription
bankAccountQuerynumber32NoBank account number, used to query only the Pix Keys under that account; if omitted, no filtering by account is applied.
bankBranchQuerynumber4NoBranch 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.

FieldTypeMax LengthAlways ReturnedDescription
statusint4YesResponse code.
msgstring128YesMessage corresponding to status; sucesso on success.
dataarrayN/AYesList 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[].keystring64YesThe Pix Key or receiving identifier; may be masked.
data[].namestring256YesAccount holder's name or business name.
data[].documentstring64YesAccount 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**"
    }
  ]
}

Response Error Codes ​