v1

latestOpenAPI 3.0.12026-07-245303882.5 MB

Consulta a solicitação de uma devolução

get/med/refund/{refundId}

Path parameters

refundIdstring required

Identificador único da solicitação de devolução. Exemplo: 337175c5-f845-41c3-9e42-4d68e88fb366

Response

OK

transactionIdinteger
status'OPEN' | 'CLOSED' | 'CANCELLED'

Status da devolução

refundAmountnumber
creationTimestring
lastModifiedstring
contestedParticipantstring
refundReason'FRAUD' | 'OPERATIONAL_FLAW' | 'REFUND_CANCELLED' | 'AUTOMATIC_PIX'

Motivo do pedido de devolução

refundDetailsstring
requestingParticipantstring
analysisResult'TOTALLY_ACCEPTED' | 'PARCIALlY_ACCEPTED' | 'REJECTED'
endToEndIdstring
infractionReportIdstring
fundsRecoveryIdstring

Id da recuperação de valores MED 2.0

refundIdstring
analysisDetailsstring
refundRejectionReason'NO_BALANCE' | 'ACCOUNT_CLOSURE' | 'CANNOT_REFUND' | 'OTHER' | 'INVALID_REQUEST'

Motivo da rejeição da devolução

refundTransactionIdstring
monitorAccountboolean

Indica se a conta deverá ser monitorada.

Example response

{
  "transactionId": 745856954,
  "status": "OPEN",
  "refundAmount": 50.14,
  "creationTime": "2021-10-15T16:59:06.389Z",
  "lastModified": "2021-10-15T16:59:06.389Z",
  "contestedParticipant": "Banco do Brasil SA",
  "refundReason": "FRAUD",
  "refundDetails": "Algum texto explicativo de motivo da abertura do pedido de devolução aqui",
  "requestingParticipant": "Celcoin Pagamentos SA",
  "analysisResult": "PARCIALlY_ACCEPTED",
  "endToEndId": "E30306294202110041316KL5BCD0OHEM",
  "infractionReportId": "cfdff46e-5d58-45b8-b7aa-591a65f7760d",
  "fundsRecoveryId": "string",
  "refundId": "cfdff46e-5d58-45b8-b7aa-591a65f7760d",
  "analysisDetails": "Algum texto explicativo de detalhes de análise do pedido de devolução aqui",
  "refundRejectionReason": "NO_BALANCE",
  "refundTransactionId": "string",
  "refundAccount": {
    "taxId": "string",
    "bank": "string",
    "branch": "string",
    "accountType": "string",
    "account": "string"
  }
}