Skip to navigation

Open a PIX contestation

Records a contestation for an outgoing PIX of this account inside 80 days and emails the desk. The settlement bank is not opened here. The response carries trackingCode (MED-YYYY-NNNNNN). Scope med.defend. Idempotency-Key required. If the email cannot be sent, nothing is stored (503 email_unavailable).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountIdstringRequired
Account identifier.

Headers

X-Tenant-IdstringRequired
Tenant context used for authorization and routing.
Idempotency-KeystringOptional

Optional client-generated idempotency token (recommended for safe retries).

X-Request-TimestampstringRequired

Unix seconds. Required on the signed host; tolerance is 300s either way (403 request_timestamp_skew).

X-Content-SHA256stringRequired

Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns 400 body_hash_mismatch.

X-Request-SignaturestringRequired

Detached JWS (<protected>..<signature>, ES256 or PS256) over METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256.

Response

Contestation recorded

Errors

409
Conflict Error
422
Unprocessable Entity Error