Skip to main content
POST
Move a key to another engine

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Idempotency key; a retry with the same key and body replays the first answer.

Parâmetros de caminho

assignmentId
string<uuid>
obrigatório

Surrogate identifier of the assignment. Find one by keyKind + keyValue on the collection.

Corpo

application/json
reason
string
obrigatório

Required. This is a human decision about where money lands.

Required string length: 1 - 512
toEngineId
string
obrigatório
Pattern: ^[a-z0-9-]{1,32}$

Resposta

OK

assignmentId
string<uuid>
obrigatório
engineId
string
obrigatório
Pattern: ^[a-z0-9-]{1,32}$
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

Normalized form. This is what the rails resolve against. ACCOUNT is :, and : for a payment account.

Maximum string length: 256
updatedAt
string<date-time>
obrigatório
keyValueRaw
string

Exactly what the operator typed.

Maximum string length: 256
previousEngineId
string | null

Present after a move.

updatedBy
string
Maximum string length: 128