This site requires javascript to be enabled.

  • Search AI-powered

Results for

xxx

Cancel refund

POST https://{domainname}/v1/{merchantId}/refunds/{refundId}/cancel

Refunds

The refund API allows you to manipulate refunds that have been created on a payment. Funds will be refunded to either the card or wallet that was originally charged or to a bank account if a direct refund is not possible

Request

Cancelling a refund will mark it as CANCELLED.

The canceling of a refund can't be undone.
Refunds only at status PENDING_APPROVAL and REFUND_REQUESTED can be cancelled.

Request example

SDK: Ruby

This scenario you will probably use the most

  • client.v1.merchant('merchantId').refunds.cancel('refundId')
    

Responses

Please find below an overview of the possible responses.

Response 204 - No content

For every successfully approved refund resource a HTTP 204 response is returned.