Skip to main content

List Pix Keys of an Account

Request

ENDPOINT
/baas/pix/keys
METHOD
GET

Query Params

FieldTypeDescriptionCharacters
account_key *stringAccount uuid key.uuid key
pix_key_statusenumEnumerator Pix Key Status Enumerator indicating the status of the pix keys to be returned.-

Enumerator Pix Key Status

EnumeratorDescription
pending_confirmationPending confirmation
activeActive
inactivatedInactive
pending_claim_request_confirmationPending confirmation of the Pix key portability request

Response

STATUS
200
Response Body
[
{
"account_key": "6d30a0b1-cb90-4ceb-b1ea-5bd600cdf3c8",
"pix_key": "63927180432",
"pix_key_status": "active",
"pix_key_type": "cpf",
"updated_at": "2022-09-02T20:00:36",
"created_at": "2022-09-02T20:00:36"
},
{
"account_key": "40cea00e-9d99-46f9-b55f-dbafa84553a9",
"pix_key": "+5562985013819",
"pix_key_status": "pending_confirmation",
"pix_key_type": "phone_number",
"updated_at": "2022-09-02T20:00:36",
"created_at": "2022-09-02T20:00:36"
},
{
"account_key": "0ebc3bfb-be25-4093-adf2-f0cdee6f5e69",
"pix_key": "address@email.com",
"pix_key_status": "pending_confirmation",
"pix_key_type": "email",
"updated_at": "2022-09-02T20:00:36",
"created_at": "2022-09-02T20:00:36"
}
]
STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}