v1

latestOpenAPI 3.0.12026-07-245303882.5 MB

Cancelar solicitação de devolução

post/med/refund/{refundId}/cancel

Path parameters

refundIdstring required

Identificador único da solicitação de devolução.

Request body

{"stackTrail":"paths:/med/refund/{refundId}/cancel:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

200

transactionIdinteger
statusstring
refundAmountnumber
creationTimestring
lastModifiedstring
contestedParticipantstring
refundReasonstring
refundDetailsstring
requestingParticipantstring
analysisResultstring
endToEndIdstring
infractionReportIdstring
refundIdstring
analysisDetailsstring

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",
  "refundId": "cfdff46e-5d58-45b8-b7aa-591a65f7760d",
  "analysisDetails": "Algum texto explicativo de detalhes de análise do pedido de devolução aqui"
}