Listar chaves Pix de uma conta
Request
ENDPOINT
/baas/pix/keysMÉTODO
GETQuery Params
Campo | Tipo | Descrição | Caracteres |
---|---|---|---|
account_key * | string | Chave uuid da conta. | Chave uuid |
pix_key_status | enum | Enumerador Pix Key Status Enumerador indicando o status das chaves pix que devem ser retornadas. | - |
Enumerador Pix Key Status
Enumerador | Descrição |
---|---|
pending_confirmation | Pendente de confirmação |
active | Ativa |
inactivated | Inativa |
pending_claim_request_confirmation | Pendente de confirmação do pedido de portabilidade de chave Pix |
Response
STATUS
200Response 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
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}