MED Contestation Management

Introdução

The MED (Special Refund Mechanism), established by the Central Bank of Brazil, is a solution designed to ensure security and efficiency in transactions carried out via Pix. Through the MED Contestation Management platform, end users will be able to register, check, and cancel disputes, ensuring access to information, data protection, as well as greater efficiency in service and transparency in the process.

❗️

Regulatory Obligation

Features

Dispute Registration

Allows users to register disputes related to Pix transactions.

Description: Users can provide details about their disputes, including the reason for the complaint and the type of situation encountered. This ensures that their issues are handled efficiently.

Benefits: Simplifies the dispute process and ensures a prompt response.

{
  "Method": "CreateDispute",
  "PartnerId": 1234,
  "BusinessUnitId": 4321,
  "E2EId": "1234567890abcdef",
  "Description": "Transação suspeita de golpe no valor de R$ 500,00.",
  "SituationType": 0 
}
{
  "Sucess": "true",
  "Message": "Contestação registrada com sucesso.",
  "ProtocolId": "XYZ-123456"
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
PartnerIdPartner identifierYesString
BusinessUnitIdIdentifier of the business unitYesString
E2EIdTransaction identificationYesString
DescriptionDescription and details regarding the disputeNoString2 mil caracteres
SituationTypeType of dispute situationYesIntegerFraud = 0
Scam = 1
TechnicalFailure = 2
UnauthorizedTransaction = 3
DuplicatePayment = 4
Other = 5

Dispute Consult by Protocol

Provides the ability to check the details of a specific dispute using the protocol number.

Description: Users can enter the dispute protocol number to access information regarding its status and related details.

Benefits: Ensures transparency in tracking registered disputes.

{
  "Method": "GetDisputeDetails",
  "PartnerId": "{{PartnerId}}",
  "BusinessUnitId": "{{BusinessUnitId}}",
  "ProtocolId": "XYZ-123456"  // Protocolo da contestação a ser consultada
}
{
  "Sucess": "true",
  "DisputeDetails": {
    "E2EId": "1234567890abcdef",
    "Description": "Transação suspeita de golpe no valor de R$ 500,00.",
    "SituationType": 0,  // Usando ENUM para situação
    "Status": 1,         // Usando ENUM para status
    "ReceiverName": "Nome do Recebedor",  // Nome do recebedor
    "TransactionValue": 500.00, // Valor da transação contestada
    "ResponseDeadline": "2023-10-10T15:30:00Z", // Prazo de resposta se a situação estiver em análise
    "CreateDate": "2023-10-02T10:00:00Z"  // Data de criação
    "AmountRefunded": 500.00     // Valor efetivamente devolvido se a contestação foi aprovada
  }
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
PartnerIdPartner identifierYesString
BusinessUnitIdIdentifier of the business unitYesString
ProtocolIdIdentification Protocol generated upon dispute registrationYesString

Dispute Consultation by Account

Allows users to view all registered disputes associated with their account.

Description: The API provides a way for users to consult their disputes quickly based on bank account information.

Benefits: Speed in accessing information and improved dispute management.

{
  "Method": "GetDisputes",
  "PartnerId": "{{PartnerId}}",
  "BusinessUnitId": "{{BusinessUnitId}}",
  "Bank": "450",                    // Código do banco
  "BankBranch": "0001",             // Agência bancária
  "BankAccount": "1635800010",      // Número da conta bancária
  "BankAccountDigit": "0"            // Dígito da conta bancária
}
{
  "Sucess": "true",
  "Disputes": [
    {
      "ProtocolId": "XYZ-123456",
      "ReceiverName": "Nome do Recebedor",
      "TransactionValue": 500.00,
      "Status": 1,
    },
    {
      "ProtocolId": "XYZ-123478",
      "ReceiverName": "Nome do Recebedor",
      "TransactionValue": 100.00,
      "Status": 0,
    }
  ]
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
PartnerIdPartner identifierYesString
BusinessUnitIdIdentifier of the business unitYesString
BankBank code of the user performing the actionYesString
BankBranchBank branch code of the user performing the actionYesString
BankAccountBank account number of the user performing the actionYesString
BankAccountDigitBank account digit of the user performing the actionYesString

Dispute Cancellation

Empowers users to cancel previously registered disputes.

Description: Users can request the cancellation of a dispute by providing a protocol number.

Benefits: Provides flexibility and control over registered disputes.

{
  "Method": "CancelDispute",
  "PartnerId": "{{PartnerId}}",
  "BusinessUnitId": "{{BusinessUnitId}}",
  "ProtocolId": "XYZ-123456"
}
{
  "Sucess": "true",
  "Message": "Contestação cancelada com sucesso.",
  "ProtocolId": "XYZ-123456"
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
PartnerIdPartner identifierYesString
BusinessUnitIdIdentifier of the business unitYesString
ProtocolIdIdentification Protocol generated upon dispute registrationYesString

File Upload for Proof

Allows users to upload documents and images as evidence when registering a dispute.

Description: Users can attach relevant evidence (such as conversation screenshots and documents) to support their disputes.

Benefits: Increases the effectiveness of disputes by allowing users to provide substantial evidence.

{
    "Method": "UploadFilesDispute",
    "PartnerId": "{{PartnerId}}",
    "BusinessUnitId": "{{BusinessUnitId}}",
    "ProtocolId": "XYZ-123456",
    "Files": [
        {
            "DocumentFile": "/9j/4AAQSkZJRgABAQEAYABgAAD=",
            "DocumentFormat": 0,
            "DocumentName": "Documento 1.pdf",
            "Description": "Documento 1"
        }
    ]
}
{
  "Sucess": "true",
  "Message": "Arquivos enviados com sucesso."
}
ParameterDescriptionMandatoryTypeComments
MethodMethod or action to be executed in the requestYesString
PartnerIdPartner identifierYesString
BusinessUnitIdIdentifier of the business unitYesString
ProtocolIdIdentification Protocol generated upon dispute registrationYesString
FilesObject for sending the filesYesString
DocumentFileFile encoded in Base64YesString
DocumentFormatType of file formatYesStringPDF = 0
JPG = 1
JPEG = 2
TXT = 3
PNG = 4
DocumentNameName of the Uploaded FileYesString
DescriptionDescription and Details of the FileYesString