Saltar al contenido principal
POST
Register an indirect participant

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json
name
string
requerido

Display name of the indirect participant (1..120 chars).

Ejemplo:

"Indirect PSP Ltda"

delivery
object

Delivery endpoint + signing secret.

directIspb
string

ISPB of the DIRECT participant of this tenant the indirect mounts on — the institution whose ISPB and credential its Pix travels on, and in whose books its @pi position account is created. OPTIONAL: omit it and the tenant's default participant is used, which is where every indirect lived before this deployment could act as several. Must be a participant this deployment actually acts as (422 PIX-0128 otherwise). It is ROUTING DATA you supply and guarantee, never a credential. IMMUTABLE after registration: the @pi account exists in exactly one ledger, so PATCH cannot re-point it. Send it as an absent key, not an empty string; an empty value is refused 400 PIX-0061.

Pattern: ^[0-9A-Z]{8}$
Ejemplo:

"12345678"

ispb
string

The indirect PSP's own ISPB (exactly 8 uppercase letters or digits). Required for MVP flows.

Ejemplo:

"12345678"

messagingMode
string

Delivery mode; the MVP supports 'raw' (JD-pure passthrough).

Ejemplo:

"raw"

Respuesta

Created

createdAt
string<date-time>
requerido

Creation timestamp (UTC).

delivery
object
requerido

Delivery endpoint (secret redacted).

directIspb
string
requerido

ISPB of the direct participant this indirect mounts on — recorded at registration and never changed.

Ejemplo:

"12345678"

indirectId
string
requerido

The indirect participant id (routing identifier).

Ejemplo:

"018f2b7c-0000-7000-8000-000000000000"

ispb
string
requerido

The indirect PSP's ISPB.

Ejemplo:

"12345678"

ledgerId
string
requerido

The Midaz ledger inside that organization the @pi account was created in. Read-only.

Ejemplo:

"019fb9b6-8ed1-7964-86e6-b421f711e62a"

messagingMode
string
requerido

Delivery mode.

Ejemplo:

"raw"

name
string
requerido

Display name.

Ejemplo:

"Indirect PSP Ltda"

organizationId
string
requerido

The Midaz organization of that direct participant: the books this indirect's @pi account lives in. Read-only.

Ejemplo:

"019fb9b6-7593-7667-abe9-3b087192747b"

piAccountAlias
string
requerido

The derived @pi_{ispb} Midaz account alias.

Ejemplo:

"@pi_12345678"

provisioning
object
requerido

Legacy provisioning state. Always present as an object; its failedStep is always null for a row registered by this service.

qrCertificate
object
requerido

Own-QR-code certificate configuration.

status
string
requerido

Lifecycle status.

Ejemplo:

"ACTIVE"

updatedAt
string<date-time>
requerido

Last-update timestamp (UTC).