Get Pix Key by ID
GET/pix/keys/:id
Retrieve the state and detailed information of a pix key by specifying its ID. Canceled keys are not returned; instead, a 422 error will be sent.
Request
Path Parameters
Pix Key ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
- 401
- 422
The pix key returned successfully. Returns null if key id is not found.
- application/json
- Schema
- Example (from schema)
Schema
- PENDING: Key state PENDING.
- CONFIRMED: Key state CONFIRMED.
- NOT_CONFIRMED: Key state NOT_CONFIRMED.
- ADD_KEY_READY: Key state ADD_KEY_READY.
- READY: Key state READY.
- CANCELED: Key state CANCELED.
- ERROR: Key state ERROR.
- DELETING: Key state DELETING.
- DELETED: Key state DELETED.
- PORTABILITY_PENDING: Key state PORTABILITY_PENDING.
- PORTABILITY_OPENED: Key state PORTABILITY_OPENED.
- PORTABILITY_STARTED: Key state PORTABILITY_STARTED.
- PORTABILITY_READY: Key state PORTABILITY_READY.
- PORTABILITY_CONFIRMED: Key state PORTABILITY_CONFIRMED.
- PORTABILITY_CANCELED: Key state PORTABILITY_CANCELED.
- PORTABILITY_REQUEST_PENDING: Key state PORTABILITY_REQUEST_PENDING.
- PORTABILITY_REQUEST_CANCEL_OPENED: Key state PORTABILITY_REQUEST_CANCEL_OPENED.
- PORTABILITY_REQUEST_CANCEL_STARTED: Key state PORTABILITY_REQUEST_CANCEL_STARTED.
- PORTABILITY_REQUEST_CONFIRM_OPENED: Key state PORTABILITY_REQUEST_CONFIRM_OPENED.
- PORTABILITY_REQUEST_CONFIRM_STARTED: Key state PORTABILITY_REQUEST_CONFIRM_STARTED.
- PORTABILITY_REQUEST_AUTO_CONFIRMED: Key state PORTABILITY_REQUEST_AUTO_CONFIRMED.
- OWNERSHIP_PENDING: Key state OWNERSHIP_PENDING.
- OWNERSHIP_OPENED: Key state OWNERSHIP_OPENED.
- OWNERSHIP_STARTED: Key state OWNERSHIP_STARTED.
- OWNERSHIP_CONFIRMED: Key state OWNERSHIP_CONFIRMED.
- OWNERSHIP_READY: Key state OWNERSHIP_READY.
- OWNERSHIP_CANCELED: Key state OWNERSHIP_CANCELED.
- OWNERSHIP_CONFLICT: Key state OWNERSHIP_CONFLICT.
- OWNERSHIP_WAITING: Key state OWNERSHIP_WAITING.
- CLAIM_NOT_CONFIRMED: Key state CLAIM_NOT_CONFIRMED.
- CLAIM_PENDING: Key state CLAIM_PENDING.
- CLAIM_CLOSING: Key state CLAIM_CLOSING.
- CLAIM_DENIED: Key state CLAIM_DENIED.
- CLAIM_CLOSED: Key state CLAIM_CLOSED.
Pix Key ID.
Pix key.
Possible values: [PENDING
, CONFIRMED
, NOT_CONFIRMED
, ADD_KEY_READY
, READY
, CANCELED
, ERROR
, DELETING
, DELETED
, DELETED_ERROR
, PORTABILITY_PENDING
, PORTABILITY_OPENED
, PORTABILITY_STARTED
, PORTABILITY_READY
, PORTABILITY_CONFIRMED
, PORTABILITY_CANCELING
, PORTABILITY_CANCELED
, PORTABILITY_REQUEST_PENDING
, PORTABILITY_REQUEST_CANCEL_OPENED
, PORTABILITY_REQUEST_CANCEL_STARTED
, PORTABILITY_REQUEST_CONFIRM_OPENED
, PORTABILITY_REQUEST_CONFIRM_STARTED
, PORTABILITY_REQUEST_AUTO_CONFIRMED
, OWNERSHIP_PENDING
, OWNERSHIP_OPENED
, OWNERSHIP_STARTED
, OWNERSHIP_CONFIRMED
, OWNERSHIP_READY
, OWNERSHIP_CANCELING
, OWNERSHIP_CANCELED
, OWNERSHIP_WAITING
, OWNERSHIP_CONFLICT
, CLAIM_NOT_CONFIRMED
, CLAIM_PENDING
, CLAIM_CLOSING
, CLAIM_DENIED
, CLAIM_CLOSED
, CLAIM_READY
]
Pix Key state:
Pix Key created at.
Pix Key failed message.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"key": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": {},
"state": "READY",
"created_at": "2024-11-22T13:43:07.729Z",
"failed_message": "string"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.