Pular para o conteúdo principal

Listar chaves Pix de uma conta

Request

ENDPOINT
/baas/pix/keys
MÉTODO
GET

Query Params

CampoTipoDescriçãoCaracteres
account_key*stringChave uuid da conta.Chave uuid
pix_key_statusenumEnumerador Pix Key Status Enumerador indicando o status das chaves pix que devem ser retornadas.-

Enumerador Pix Key Status

EnumeradorDescrição
pending_confirmationPendente de confirmação
activeAtiva
inactivatedInativa
pending_claim_request_confirmationPendente de confirmação do pedido de portabilidade de chave Pix

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\"}"
}