Decide a Pix held in fraud analysis or blocked on receipt
The final decision on a sent Pix held in analysis (status FRAUD_ANALYSIS). The antifraud partner calls it with its application token; a person of the client with the editor or operator role calls it too, with a justification of 10 to 500 characters in the body. ALLOW releases the Pix to BTG; DENY reverses the debit and rejects it with FRAUD_DENIED. The first decision wins: the same decision again returns the current transfer and moves no money, and a different one, a decision after the deadline (fraudCheck.decideBy) or one with another analysisId is refused with 409 PIX-0472. A repeated DENY finishes a closing that failed with 502 PIX-0475. A decision that arrives before the transfer’s analysis is recorded is refused with 503 PIX-0474 and a Retry-After header. An unknown key is 404. With the pix-cashin: prefix it decides the cautelar block of a received Pix instead: ALLOW frees the held money in the same call (or within a minute if Midaz fails), DENY is recorded and announced while the money stays held, and a person’s ALLOW after the partner’s DENY releases it with a justification, keeping the DENY (fraudCheck.releasedAt). A block that ended or reached its expiry, another decision recorded or an ALLOW on a block that could not be placed is 409 PIX-0472; a key of a received Pix without a block is 404 PIX-0425; a decision before the block is recorded is 503 PIX-0474. The body is the partner contract: decision (ALLOW or DENY) and analysisId are strict, a malformed reasons list is dropped and the decision still applies; anything else wrong is 422 PIX-0473. The X-Idempotency header is accepted and ignored.
Encabezados
Parámetros de ruta
Cuerpo
The body is of type file.
Respuesta
OK
Transaction ID (txId) declared by the QR Code this cash-in paid. For a dynamic QR Code it is the charge's own txId, proven against that charge before the cash-in was accepted. For a static BR Code it is whatever reference label the code declared, which may match no charge. initiationType answers QR_CODE for both, so treat this as a correlation hint rather than proof a charge was paid. Absent for a payment with no QR Code and for every cash-out.
"cob7f3a9c2e4b118d"

