Skip to main content

Create new random key.

POST 

/pix/keys

Create a new EVP key type (random key) to the user.

Request

Header Parameters

    x-transaction-uuid stringrequired

    The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.

Responses

The pix key returned successfully.

Schema
    id stringrequired

    Pix Key ID.

    key stringrequired

    Pix key.

    type stringrequired

    Possible values: [CNPJ, CPF, PHONE, EMAIL, EVP]

    Pix Key state:

    • EVP: Key type EVP.

    state stringrequired

    Possible values: [PENDING, CONFIRMED, NOT_CONFIRMED, ADD_KEY_READY, READY, CANCELED, ERROR, DELETING, DELETED, 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]

    Pix Key state:

    • 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.

    created_at date-timerequired

    Pix Key created at.

Loading...