Skip to main content
POST
Register a PIX key entry

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json
accountId
string
required

The CRM account id of the key owner.

Example:

"acc-123"

keyType
integer<int64>
required

Numeric eKeyType (0=CPF,1=CNPJ,2=EMAIL,3=PHONE,4=RANDOM).

Example:

2

isValidated
boolean

Ignored: the service always forces validation to start fresh.

Example:

false

ispb
string

The ISPB of the direct participant this operation acts as. This deployment may act as SEVERAL direct SPI participants - one ISPB each, each with its own customers and its own DICT credential - and this field is the only thing on the request that says which of them writes to the national directory. OPTIONAL while it acts as a single participant: omit it and that one acts. REQUIRED once it acts as several - omitted is 422 PIX-0127, and an ISPB this deployment does not act as is 422 PIX-0128. It is ROUTING DATA you supply and guarantee, exactly like payerIspb on a transaction: never a credential, never read from a header or a path, and it never widens what your token can reach. It also selects the DICT credential the call goes out on, so a key registered under the wrong one is declared to Bacen by the wrong institution. Send it as an absent key, not an empty string; an empty value is refused 400 PIX-0061.

Pattern: ^[0-9]{8}$
Example:

"12345678"

key
string

The PIX key value (omit for a RANDOM key).

Example:

"foo@bar.com"

Response

Created

key
string

The PIX key value.

Example:

"11122233300"

keyType
integer<int64>

Numeric eKeyType.

Example:

4

status
integer<int64>

Numeric eKeyStatus.

Example:

1

statusDescription
string

Human-readable eKeyStatus label.

Example:

"ACTIVE"