Delete PIX key
Deletes a PIX key by its value through BACEN DICT (signed deleteEntry), then removes this serviceβs own record of it, if it holds one. A key this service does not hold (for example one rebuilt by the participantβs VSync) is still deleted at BACEN. A held key under claim is rejected with 409 SPI-3006 before BACEN is called. When a claim freezes the key while the BACEN deletion is in flight, BACEN has removed the entry but this service keeps its record for the claim flow and answers 409 SPI-3007. A BACEN refusal such as EntryBlocked (judicial block) is relayed with its own token and HTTP status, and nothing local changes. BACENβs own NotFound (the directory holds no entry for the key) is relayed the same way, as 404 with code NotFound; a 404 with code SPI-0010 is a not-found BACEN did not name.
Body
PIX key value to delete; a held key is deletable only while ACTIVE
Deletion reason reported to BACEN, defaulting to USER_REQUESTED; the enum is the set deleteEntry accepts. FRAUD and RFB_VALIDATION are MANDATED by DICT 8.4 section 4.1 for a removal forced by incompatibility with the Receita Federal registry β FRAUD when the name divergence or the irregular CPF/CNPJ is fraud, RFB_VALIDATION in the other cases. ACCOUNT_CLOSURE, RECONCILIATION, FRAUD and RFB_VALIDATION are participant-initiated (sections 4.4/4.5): no end user asks, so requesterTaxId is not demanded for them.
USER_REQUESTED, ACCOUNT_CLOSURE, RECONCILIATION, FRAUD, RFB_VALIDATION "USER_REQUESTED"
CPF or CNPJ of the END USER asking for the removal. MANDATORY when reason is USER_REQUESTED (the default): DICT 8.4 section 4.2 obliges the PSP to check that the user requesting the exclusΓ£o is the user the key is bound to. Omitted for the PSP-initiated reasons β ACCOUNT_CLOSURE, RECONCILIATION, FRAUD, RFB_VALIDATION β where no end user is asking; supplied on any of them it is still compared against the stored owner. A value that does not match the stored owner is refused with the same answer as an unauthorized participant, so this route cannot be used to discover who owns a key.
"12345678901"
Response
No Content

