Saltar al contenido principal
POST
Approve the close of a held outbound message as failed

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Idempotency key for this state-changing request (required, max 255 characters).

Maximum string length: 255

Parámetros de ruta

id
string<uuid>
requerido

Outbound message id.

Cuerpo

application/json
numCtrl
string

The control number the second operator read in the answer; must equal the request's when it carries one.

settledAt
string<date-time>

The settlement instant the second operator confirmed; must equal the request's when it carries typed values.

situation
string

The situation the second operator read in the answer; must equal the request's when it carries one.

Respuesta

OK

id
string<uuid>
requerido

Close request id.

messageId
string<uuid>
requerido

The outbound message the request is about.

reason
string
requerido

The evidence the first operator gave.

requestedAt
string<date-time>
requerido

When the request was made.

requestedBy
string
requerido

The operator who asked, as the audit trail names them.

status
enum<string>
requerido

PENDING until a second operator approves; APPROVED once the message is closed.

Opciones disponibles:
PENDING,
APPROVED
numCtrl
string

The câmara's own control number (NumCtrlPAG) the first operator read in the answer, for a SETTLED declaration of a PAG transfer; omitted otherwise.

outcome
enum<string>

What the operators declared from that answer; omitted for a close with no parked answer.

Opciones disponibles:
SETTLED,
FAILED
parkedAnswerId
string<uuid>

The refused câmara answer the operators declared the outcome from; omitted for a close with no parked answer.

settledAt
string<date-time>

The settlement instant the operators confirmed for a SETTLED declaration; omitted otherwise.

situation
string

The situation (SitLancPAG) the first operator read in the answer, for a SETTLED declaration of a PAG transfer; omitted otherwise.