Skip to main content
POST
Create an Entry

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cabeçalhos

X-Account-Id
string
obrigatório

Unique identifier of the Midaz Ledger Account (UUID format).

X-Reason
enum<string>
obrigatório

Reason for creating the entry.

Opções disponíveis:
USER_REQUESTED,
RECONCILIATION

Corpo

application/json
keyType
enum<string>
obrigatório

Type of Pix key being created.

Opções disponíveis:
EMAIL,
PHONE,
CPF,
CNPJ,
EVP
Exemplo:

"EMAIL"

key
string

Pix key value being registered (e.g., email address, phone, or CPF). Not required for EVP type.

Exemplo:

"john.doe@example.com"

metadata
object

Optional key-value map for storing custom attributes.

Resposta

Pix entry created successfully.

id
string

Unique identifier of the entry (UUID format).

Exemplo:

"019c96a0-0c0c-7221-8cf3-13313fb60081"

key
string

Pix key value.

Exemplo:

"john.doe@example.com"

keyType
string

Type of Pix key.

Exemplo:

"EMAIL"

status
string

Entry status (ACTIVE, INACTIVE).

Exemplo:

"ACTIVE"

account
object
owner
object
createdAt
string<date-time>

Creation timestamp.

Exemplo:

"2024-01-15T10:30:00Z"

updatedAt
string<date-time>

Last update timestamp.

Exemplo:

"2024-01-15T10:30:00Z"