Skip to main content
PATCH
Update 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

Specifies the reason for Pix key entry update. Valid values: USER_REQUESTED, BRANCH_TRANSFER, RECONCILIATION.

Opções disponíveis:
USER_REQUESTED,
BRANCH_TRANSFER,
RECONCILIATION

Parâmetros de caminho

entry_id
string
obrigatório

Unique identifier of the Pix entry (UUID format).

Corpo

application/json
account
object
obrigatório

Updated account information.

owner
object
obrigatório

Updated owner information.

metadata
object

Optional key-value map for updating custom attributes.

Resposta

Entry updated successfully in DICT and local database.

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"