Skip to main content
PATCH
Update an Entry

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-Account-Id
string
requerido

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

X-Reason
enum<string>
requerido

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

Opciones disponibles:
USER_REQUESTED,
BRANCH_TRANSFER,
RECONCILIATION

Parámetros de ruta

entry_id
string
requerido

Unique identifier of the Pix entry (UUID format).

Cuerpo

application/json
account
object
requerido

Updated account information.

owner
object
requerido

Updated owner information.

metadata
object

Optional key-value map for updating custom attributes.

Respuesta

Entry updated successfully in DICT and local database.

id
string

Unique identifier of the entry (UUID format).

Ejemplo:

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

key
string

Pix key value.

Ejemplo:

"john.doe@example.com"

keyType
string

Type of Pix key.

Ejemplo:

"EMAIL"

status
string

Entry status (ACTIVE, INACTIVE).

Ejemplo:

"ACTIVE"

account
object
owner
object
createdAt
string<date-time>

Creation timestamp.

Ejemplo:

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

updatedAt
string<date-time>

Last update timestamp.

Ejemplo:

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