---
title: Manage refunds
url: amazon-pay-paymentmethodonfile-express/manage-refunds.html
---

**[Step 8 of 11]** There is no time limit to initiate a refund. You can either issue refunds using <a href="../amazon-pay-api-v2/refund.md#create-refund" target="_blank" rel="noopener noreferrer">Create Refund</a>, or you can manually issue refunds through <a href="http://sellercentral.amazon.com/" target="_blank" rel="noopener noreferrer">Seller Central</a>, the account management site for Amazon Pay merchants. Amazon Pay will notify the buyer after a refund has been successfully processed. See <a href="../amazon-pay-checkout/buyer-communication.md" target="_blank" rel="noopener noreferrer">buyer communication</a> for more info.

In this step, you will add the ability to issue refunds via API. At the end of this step, you will be able to issue full or partial refunds and check on refund status.

<script>
  function keySpecifics(){
    const keyQuery = "?environmentSpecificKeys=";
    const currentSetting = window.location.search?.split("?environmentSpecificKeys=")[1] ?? 'false';
    const newSetting = currentSetting === 'false' ? 'true' : 'false';
    window.location = window.location.origin + window.location.pathname + keyQuery + newSetting // +  window.location.hash (not included as it feels weird to jump down)
  }
</script>
<div style="display:none" class="environmentSpecificKeys">
  <div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> If your publicKeyId <b>_does not_</b> have an environment prefix (does not begin with 'SANDBOX' or 'LIVE') follow <a href='#' onclick='keySpecifics()' rel='noopener noreferrer'>these instructions</a> instead.</div>
</div>
<div style="display:none" class="notEnvironmentSpecificKeys">
  <div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> If your publicKeyId has an environment prefix (for example: SANDBOX-AFVX7ULWSGBZ5535PCUQOY7B) follow <a href='#' onclick='keySpecifics()' rel='noopener noreferrer'>these instructions</a> instead.</div>
</div>


* TOC
{:toc}
{::options toc_levels="3" /}

***

### 1. Issue a refund

<a href="../amazon-pay-api-v2/refund.md#create-refund" target="_blank" rel="noopener noreferrer">Create Refund</a> to issue a full or partial refund for a successful Charge. You may (at your discretion) also choose to overcompensate the buyer, and refund more than the original Charge amount by either 15% or 75 USD/GBP/EUR or 8,400 YEN (whichever is less).

#### Request 


<div style="display:none" class="environmentSpecificKeys">
<code style="color:black">
curl "https://pay-api.amazon.com/:version/refunds/" \ <br />
-X POST<br />
-H "authorization:Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"<br />
-H "x-amz-pay-date:20201012T235046Z"<br />
-H "x-amz-pay-idempotency-key:AVLo5tI10BHgEk2jEXAMPLEKEY"<br />
-d @request_body<br />
</code>
</div>
<div style="display:none" class="notEnvironmentSpecificKeys">
<code style="color:black">
curl "https://pay-api.amazon.com/:environment/:version/refunds/" \ <br />
-X POST<br />
-H "authorization:Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"<br />
-H "x-amz-pay-date:20201012T235046Z"<br />
-H "x-amz-pay-idempotency-key:AVLo5tI10BHgEk2jEXAMPLEKEY"<br />
-d @request_body<br />
</code>
</div>

#### Request body

```
{
    "chargeId": "S01-5105180-3221187-C056351",
    "refundAmount": {
        "amount": "14.00",
        "currencyCode": "USD"
    },
    "softDescriptor": "Descriptor"
}
```


#### Request parameters

<table width="100%" border="1">
    <tbody>
        <tr id='PDP9CAmKLQf'>
            <td id='s:PDP9CAmKLQf;PDP9CA2olcO' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Name
                <br /></td>
            <td id='s:PDP9CAmKLQf;PDP9CATyPvC' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Location
                <br /></td>
            <td id='s:PDP9CAmKLQf;PDP9CAwX3Nj' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='PDP9CAnivE7'>
            <td id='s:PDP9CAnivE7;PDP9CA2olcO' style='vertical-align: top;'>x-amz-pay-idempotency-key<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:PDP9CAnivE7;PDP9CATyPvC' style='vertical-align: top;'>Header
                <br /></td>
            <td id='s:PDP9CAnivE7;PDP9CAwX3Nj' style='vertical-align: top;'><a href="../amazon-pay-api-v2/idempotency.md" target="_blank" rel="noopener noreferrer">Idempotency key</a> to safely retry requests
                <br /></td>
        </tr>
        <tr id='PDP9CAeT5BG'>
            <td id='s:PDP9CAeT5BG;PDP9CA2olcO' style='vertical-align: top;'>chargeId<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:PDP9CAeT5BG;PDP9CATyPvC' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:PDP9CAeT5BG;PDP9CAwX3Nj' style='vertical-align: top;'>Charge identifier
                <br /></td>
        </tr>
        <tr id='PDP9CAkSeaD'>
            <td id='s:PDP9CAkSeaD;PDP9CA2olcO' style='vertical-align: top;'>refundAmount<br><b>(required)</b><br><br>Type: <a target="_blank" rel="noopener noreferrer" href="../amazon-pay-api-v2/refund.md#type-price">price</a>
                <br /></td>
            <td id='s:PDP9CAkSeaD;PDP9CATyPvC' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:PDP9CAkSeaD;PDP9CAwX3Nj' style='vertical-align: top;'>Amount to be refunded. Refund amount can be either 15% or 75 USD/GBP/EUR and 8400 JPY (whichever is less) above the captured amount<br><br> Maximum value: 150,000 USD/GBP/EUR and 10,000,000 JPY
                <br /></td>
        </tr>
        <tr id='PDP9CATP71V'>
            <td id='s:PDP9CATP71V;PDP9CA2olcO' style='vertical-align: top;'>softDescriptor<br><br>Type: string
                <br /></td>
            <td id='s:PDP9CATP71V;PDP9CATyPvC' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:PDP9CATP71V;PDP9CAwX3Nj' style='vertical-align: top;'>The description is shown on the buyer payment instrument (such as bank) statement<br><br>Default: "AMZ* &lt;MerchantStoreName&gt; amzn.com/pmts" <br><br>Max length: 16 characters/bytes
                <br /></td>
        </tr>
    </tbody>
</table>

#### Response

```
{
     "refundId": "S01-5105180-3221187-R022311",
     "chargeId": "S01-5105180-3221187-C056351",
     "refundAmount": {
         "amount": "14.00",
         "currencyCode": "USD"
     },
     "softDescriptor": "Descriptor",
     "creationTimestamp": "20190714T155300Z",
     "statusDetails": {
         "state": "RefundInitiated",
         "reasonCode": null,
         "reasonDescription": null,
         "lastUpdatedTimestamp": "20190714T155300Z"
     },
     "releaseEnvironment": "Sandbox"
}
```

***

### 2. Check refund status

<a href="../amazon-pay-api-v2/refund.md#get-refund" target="_blank" rel="noopener noreferrer">Get Refund</a> to check Refund status. Amazon Pay processes refunds asynchronously. Either set up Instant Payment Notifications (IPNs), or implement a polling mechanism  to query the <a href="../amazon-pay-api-v2/refund.md#get-refund" target="_blank" rel="noopener noreferrer">Get Refund</a> API for updates. See <a href="../amazon-pay-checkout/asynchronous-processing.md" target="_blank" rel="noopener noreferrer">asynchronous processing</a> for more info.

#### Refund state explanation

<table width="100%" border="1">
    <tbody>
        <tr id='FGN9CAsvAdD'>
            <td id='s:FGN9CAsvAdD;FGN9CAO5JkC' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Refund status
                <br /></td>
            <td id='s:FGN9CAsvAdD;FGN9CAoxq4P' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='FGN9CAG51CG'>
            <td id='s:FGN9CAG51CG;FGN9CAO5JkC' style='text-align: left;vertical-align: top;'>RefundInitiated
                <br /></td>
            <td id='s:FGN9CAG51CG;FGN9CAoxq4P' style='vertical-align: top;'>Refund is still pending processing
                <br /></td>
        </tr>
        <tr id='FGN9CAoRKpI'>
            <td id='s:FGN9CAoRKpI;FGN9CAO5JkC' style='text-align: left;vertical-align: top;'>Refunded
                <br /></td>
            <td id='s:FGN9CAoRKpI;FGN9CAoxq4P' style='vertical-align: top;'>Refund was successful
                <br /></td>
        </tr>
        <tr id='FGN9CAXHecY'>
            <td id='s:FGN9CAXHecY;FGN9CAO5JkC' style='text-align: left;vertical-align: top;'>Declined
                <br /></td>
            <td id='s:FGN9CAXHecY;FGN9CAoxq4P' style='vertical-align: top;'>Refund was declined. Check the reason code for more information:<br><br><b>AmazonRejected</b> - Amazon has rejected the refund, potentially due to a negative balance in your merchant account. To resolve this, you should repay the negative seller balance (NSB) to Amazon, then attempt the refund again or issue a refund to the buyer in an alternate manner (for example, a gift card or store credit).<b><br><br>ProcessingFailure</b> - Amazon could not process the transaction because of an internal processing error, or because the buyer has already received a refund from an A-to-z claim, or a chargeback. You should only retry the refund if the Capture object is in the Completed state. Otherwise, you should refund the buyer in an alternative way (for example, a store credit or a check)
                <br /></td>
        </tr>
    </tbody>
</table>


#### Request

<code style="color:black">
curl "https://pay-api.amazon.com/:version/refunds/:refundId" \ <br />
-X GET<br />
-H "authorization:Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"<br />
-H "x-amz-pay-date:20201012T235046Z"<br />
</code>
<div style="display:none" class="environmentSpecificKeys">

</div>
<div style="display:none" class="notEnvironmentSpecificKeys">

</div>

#### Request parameters

<table width="100%" border="1">
    <tbody>
        <tr id='PDP9CAQSM5J'>
            <td id='s:PDP9CAQSM5J;PDP9CAXfdYQ' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Name
                <br /></td>
            <td id='s:PDP9CAQSM5J;PDP9CAkAlRX' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Location
                <br /></td>
            <td id='s:PDP9CAQSM5J;PDP9CAn6CQD' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='PDP9CAkesJe'>
            <td id='s:PDP9CAkesJe;PDP9CAXfdYQ' style='vertical-align: top;'>refundId<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:PDP9CAkesJe;PDP9CAkAlRX' style='vertical-align: top;'>Path Parameter
                <br /></td>
            <td id='s:PDP9CAkesJe;PDP9CAn6CQD' style='vertical-align: top;'>Refund identifier
                <br /></td>
        </tr>
    </tbody>
</table>

#### Response

```
{
     "refundId": "S01-5105180-3221187-R022311",
     "chargeId": "S01-5105180-3221187-C056351",
     "refundAmount": {
         "amount": "14.00",
         "currencyCode": "USD"
     },
     "softDescriptor": "Descriptor",
     "creationTimestamp": "20190714T155300Z",
     "statusDetails": {
         "state": "Refunded",
         "reasonCode": null,
         "reasonDescription": null,
         "lastUpdatedTimestamp": "20190714T155300Z"
     },
     "releaseEnvironment": "Sandbox"
}
```








