Dismiss Pix Key by ID
POST/pix/keys/:id/dismiss
Set a pix key to not be shown anymore. The key's state will be changed to CLAIM_PENDING, CANCELED or READY based on the current state:
<ul>
<li>If the key state is CLAIM_NOT_CONFIRMED, it will change to CLAIM_PENDING.
<li>If the key state is PORTABILITY_REQUEST_AUTO_CONFIRMED, it will change to CANCELED.
<li>If the key state is PORTABILITY_CANCELED, it will change to CANCELED.
<li>If the key state is OWNERSHIP_CANCELED, it will change to CANCELED.
<li>If the key state is OWNERSHIP_CONFLICT, it will change to CANCELED.
<li>If the key state is CLAIM_CLOSED, it will change to CANCELED.
<li>If the key state is PORTABILITY_READY, it will change to READY.
<li>If the key state is OWNERSHIP_READY, it will change to READY.
<li>If the key state is ADD_KEY_READY, it will change to READY.
<li>If the key state is DELETED, it will change to CANCELED.
<li>If the key state is NOT_CONFIRMED, it will change to CANCELED.
</ul>
Returns the user's pix key with the state set to CLAIM_PENDING, CANCELED or READY.
Request
Path Parameters
Pix Key ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 404
- 422
The pix key returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Pix Key ID.
Pix key.
Pix Key Type.
Pix Key State.
Pix Key created at.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"key": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "EVP",
"state": "CANCELED",
"created_at": "2025-03-12T02:28:39.643Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the key id was not found.
If any required params are missing or has invalid format or type.