Refunds

Solicita reembolso total ou parcial de uma cobrança

post/v1/charges/{chargeId}/refunds

Request

  • Base URL: https://api.sandbox.mupag.com.br
  • URL: https://api.sandbox.mupag.com.br/v1/charges/{chargeId}/refunds
  • Auth: HTTP bearer

Path parameters

chargeIdstring uuid required

Headers

Idempotency-Keystring required

Request body

OR

Response

Reembolso aceito para processamento idempotente

refund_idstring uuid required
charge_idstring uuid required
amount_centsinteger required
status'requested' | 'processing' | 'completed' | 'failed' | 'cancelled' | 'unknown' required
psp_refund_idstring nullable
reasonstring nullable
requested_atstring date-time required
completed_atstring date-time nullable
failure_reasonstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.