Assign a key to an engine
A double owner is inexpressible: a key owned by a different engine is refused 409 JDC-0102, which points at the move operation. Re-assigning to the current owner is a no-op answered 200, with no new audit entry.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Idempotency key; a retry with the same key and body replays the first answer.
Body
^[a-z0-9-]{1,32}$ACCOUNT, DOCUMENT, PIX_KEY_EMAIL, PIX_KEY_PHONE, PIX_KEY_RANDOM, PAYMENT_ID, PIX_RECURRENCE_ID ACCOUNT only: the account number, digits with an optional trailing check-digit letter.
256ACCOUNT 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.
256Raw value, for every kind except ACCOUNT. The Courier normalizes per kind — do not pre-normalize.
1 - 256Recorded in the audit. Recommended during a wave migration.
512Response
Already assigned to this engine. No new audit entry.
^[a-z0-9-]{1,32}$ACCOUNT, DOCUMENT, PIX_KEY_EMAIL, PIX_KEY_PHONE, PIX_KEY_RANDOM, PAYMENT_ID, PIX_RECURRENCE_ID Normalized form. This is what the rails resolve against. ACCOUNT is :, and : for a payment account.
256Exactly what the operator typed.
256Present after a move.
128
