# Refunds
source: https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/use-cases/refunds/index.md

## Overview {#overview}

Refund use cases allow the debtor service providers to provide refund account information for the debtor to the creditor service provider and request refund confirmation from the creditor service provider.   

## Refund Account Request {#refund-account-request}

The refund account request service allows the debtor service provider to provide the debtor account details (or debtor service provider holding account details) to the creditor service provider for initiating a refund to the debtor.

Diagram refunds-request

Following are the execution steps:

1. The debtor requests a refund to the creditor, and the creditor submits a refund account request to the creditor service provider.   
2. The creditor service provider initiates the refund account request to Mastercard.  
3. Masterard acknowledges.   
4. Mastercard forwards the refund account request to the debtor service provider by calling the `/payment-requests/{payment_request_lifecycle_id}/refunds` endpoint.   
5. The debtor service provider responds with the debtor account to Mastercard by submitting a refund account response.   
6. Mastercard sends the debtor's account details to the creditor service provider.   
7. The creditor service provider responds to refund account advice.   

## Refund Confirmation {#refund-confirmation}

The refund confirmation service allows the debtor service provider to obtain the status of a refund request.

Diagram refunds-confirmation

Following are the execution steps:  

1. The creditor service provider initiates the refund payment confirmation to Mastercard.   
2. Mastercard responds to the confirmation.   
3. Mastercard forwards the refund payment confirmation to the debtor service provider by calling the `/payment-requests/{payment_request_lifecycle_id}/refunds/{refund_request_lifecycle_id}/payment-confirmations` endpoint.   
4. The debtor service provider acknowledges.   
5. The creditor service provider notifies the debtor (via the creditor) about the refund status.   

### Additional Information {#additional-information}

1. Look at the [API Reference](https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/api-reference/index.md) for information on how to implement this use case.
2. Look at the [Codes and Formats](https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/code-and-formats/index.md) for acknowledgement responses.
