Skip to main content
DELETE
Cancel a PIX key claim

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

claimId
string
required

The claim id.

Example:

"claim-123"

Body

application/json
accountId
string
required

The Midaz ledger account id of the caller.

Example:

"019a1b2c-3d4e-7f60-8a9b-0c1d2e3f4a5b"

key
string
required

The PIX key the claim targets.

Example:

"11122233300"

fraudDeclared
boolean

The holder's (donor's) declaration that the POSSESSION claim it refuses is fraudulent. REQUIRED true when refusing a possession claim as holder: §8.2.11 accepts only reason 4 (fraud) from a possession holder, so that refusal is a fraud statement sent to Bacen, and without it the request is 400 PIX-0061 naming fraudDeclared, before anything is sent to DICT. IGNORED when refusing a portability claim (reason 0) and on every claimer cancellation. Optional; absent reads as false.

Example:

true

ispb
string

The ISPB of the direct participant this operation acts as. This deployment may act as SEVERAL direct SPI participants - one ISPB each, each with its own customers and its own DICT credential - and this field is the only thing on the request that says which of them writes to the national directory. OPTIONAL while it acts as a single participant: omit it and that one acts. REQUIRED once it acts as several - omitted is 422 PIX-0127, and an ISPB this deployment does not act as is 422 PIX-0128. It is ROUTING DATA you supply and guarantee, exactly like payerIspb on a transaction: never a credential, never read from a header or a path, and it never widens what your token can reach. It also selects the DICT credential the call goes out on, so a key registered under the wrong one is declared to Bacen by the wrong institution. Send it as an absent key, not an empty string; an empty value is refused 400 PIX-0061.

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

"12345678"

Response

OK

claimId
string
required

The claim id.

Example:

"claim-123"

status
string
required

Human-readable eKeyStatus label.

Example:

"DONATED"