Skip to main content
POST
Resolve which engine owns a key

Autorizações

Authorization
string
header
obrigatório

An Access Manager application token whose subject is bound to exactly one engine; an engine may hold several, one per calling product. It reaches only the operations its scopes name; the operator surface refuses it.

Corpo

application/json
keyKind
enum<string>
obrigatório

The kind of key.

Opções disponíveis:
ACCOUNT,
DOCUMENT,
PIX_KEY_EMAIL,
PIX_KEY_PHONE,
PIX_KEY_RANDOM,
PAYMENT_ID,
PIX_RECURRENCE_ID,
PIX_RECURRENCE_ID_CHARGER
account
string

ACCOUNT only: the account number, digits with an optional trailing check-digit letter.

Maximum string length: 256
branch
string

ACCOUNT only: a current account's branch, 1 to 4 digits. Omit it, or send it empty, for a payment account, which has none; empty is never branch 0.

Maximum string length: 256
keyValue
string

The key as the caller holds it, for every kind except ACCOUNT. Do not pre-normalize.

Required string length: 1 - 256

Resposta

OK

keyKind
enum<string>
obrigatório
Opções disponíveis:
ACCOUNT,
DOCUMENT,
PIX_KEY_EMAIL,
PIX_KEY_PHONE,
PIX_KEY_RANDOM,
PAYMENT_ID,
PIX_RECURRENCE_ID,
PIX_RECURRENCE_ID_CHARGER
keyValue
string
obrigatório

The normalized form the Courier resolved against.

Maximum string length: 256
resolved
boolean
obrigatório
resolvedAt
string<date-time>
obrigatório
source
enum<string>
obrigatório
Opções disponíveis:
ASSIGNMENT_MAP
engineId
string

Present only when resolved is true.

ownedByCaller
boolean

Present only when resolved is true: whether the owner is the engine whose credential made this call. Compare on this; an engine never needs its own registry id.