Cancel a sent Pix held in fraud analysis
The payer cancels a sent Pix that Pix Lerian holds in fraud analysis (status FRAUD_ANALYSIS, announced by the outbound_transfer.fraud_analysis event). Pix Lerian reverses the debit, returns the usage limit, and closes the transfer REJECTED with fraudCheck.resolution CANCELLED. The outbound_transfer.rejected event announces it. The request has no body.
X-Account-Id is the paying account. Send a new X-Idempotency value for each attempt. A repeat of the same value answers the original 200.
A 404 (PIX-0340) means that this account sent no transfer with this id. A 409 (PIX-0339) means that the transfer is not held in analysis: it was never held, or its analysis already ended by a cancel, a decision or the deadline. Read the transfer for its state. A 500 (PIX-0000) means that Pix Lerian has not recorded the debit reversal yet. The cancel is taken: read the transfer, which is PENDING with fraudCheck.resolution CANCELLED, or already REJECTED. A new cancel answers 409.
Headers
REQUIRED. Client-supplied replay key, at most 64 bytes. A request without it is refused with PIX-0030 @ 400 before the handler runs. An identical resend within 1 hour returns the original response, status included, with X-Idempotency-Replayed: true. Reusing the key with a divergent method, URL or body is PIX-0031 @ 412.
1 - 64Path Parameters
Response
OK
Fee the ledger reported on the transfer. Absent when the ledger's fee answer was not recorded for this transfer (an error logged at the time, or a transfer created before fees were read back); {"applied": false} when the ledger reported that no fee was charged; the full object when it charged one.

