Skip to main content
POST
Resolve which engine owns a key

Autorizações

Authorization
string
header
obrigatório

Engines authenticate with an Access Manager application token.

FlowCredenciais do cliente
Token URL
https://access-manager.example.com/oauth2/token
Scopes1
ownership:read
Read the ownership map

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
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
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.