Set or change an operator's transaction PIN
The PIN belongs to the operator (actingDocument), not the account.
Changing an existing PIN requires currentPin. Requires scope
pin.manage. The PIN is stored as an argon2id hash and never appears in
a response or a log.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
accountId
Account identifier.
Headers
X-Tenant-Id
Tenant context used for authorization and routing.
Idempotency-Key
Optional client-generated idempotency token (recommended for safe retries).
Request
This endpoint expects an object.
actingDocument
CPF of the operator this PIN belongs to.
pin
6 to 12 digits. No repetition, sequence or birth date.
currentPin
Required when replacing an existing PIN.
Response
PIN created or updated.
accountId
actingDocument
Masked.
status
Errors
403
Forbidden Error
422
Unprocessable Entity Error