---
title: Charge Permission
url: amazon-pay-api-v2/v1-charge-permission.html
---

A Charge Permission is a contract between you (the merchant) and the buyer. It represents the buyer consent to be charged. The Charge Permission is used to facilitate [deferred transactions](../amazon-pay-checkout/v1-deferred-transactions.html). For simple payment use cases, such as immediate Authorization and Capture, you may not need to use the Charge Permission object at all. 

You can also use the Charge Permission to retrieve the relevant checkout details needed to complete the order such as buyer name, buyer email, and order shipping address. Note that you can only retrieve checkout details for 30 days after the time that the Charge Permission was created.

Successful completion of a Checkout Session returns a reference to a Charge Permission. You can use the Charge Permission for one successful Charge capture if the Charge Permission is in a Chargeable state. You should review the reason code to determine why you can’t charge the buyer if the Charge Permission is in a Non-Chargeable state. The Charge Permission will move to a Closed state after a successful Charge capture, if it’s canceled, or it expires after 180 days. 


Supported operations:

<ul id="profileTabs" class="nav nav-tabs">
  <li class="nav-item"><a class="active nav-link noExtIcon" href="#ustab" data-toggle="tab">US</a></li>
  <li class="nav-item"><a class="nav-link noExtIcon" href="#eutab" data-toggle="tab">EU / UK</a></li>
  <li class="nav-item"><a class="nav-link noExtIcon" href="#jptab" data-toggle="tab">JP</a></li>
</ul>
<div class="tab-content">
  <div role="tabpanel" class="tab-pane active" id="ustab" markdown="block">   
<div markdown="block">
* **Get Charge Permission** - GET https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId 
* **Update Charge Permission** - PATCH https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId 
* **Close Charge Permission** - DELETE https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId/close
</div>
  </div>
  <div role="tabpanel" class="tab-pane" id="eutab" markdown="block">
<div markdown="block">
* **Get Charge Permission** - GET https://pay-api.amazon.eu/:environment/:version/chargePermissions/:chargePermissionId 
* **Update Charge Permission** - PATCH https://pay-api.amazon.eu/:environment/:version/chargePermissions/:chargePermissionId 
* **Close Charge Permission** - DELETE https://pay-api.amazon.eu/:environment/:version/chargePermissions/:chargePermissionId/close
</div>
  </div>
  <div role="tabpanel" class="tab-pane" id="jptab" markdown="block">
<div markdown="block">
* **Get Charge Permission** - GET https://pay-api.amazon.jp/:environment/:version/chargePermissions/:chargePermissionId 
* **Update Charge Permission** - PATCH https://pay-api.amazon.jp/:environment/:version/chargePermissions/:chargePermissionId 
* **Close Charge Permission** - DELETE https://pay-api.amazon.jp/:environment/:version/chargePermissions/:chargePermissionId/close
</div>
  </div>
</div>

***

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

### Charge Permission object

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAlzSRM'>
            <td id='s:cJS9CAlzSRM;cJS9CAtq4kq' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CAlzSRM;cJS9CAVnm58' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAiUmrm'>
            <td id='s:cJS9CAiUmrm;cJS9CAtq4kq' style='vertical-align: top;'>chargePermissionId<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAiUmrm;cJS9CAVnm58' style='vertical-align: top;'>Charge Permission identifier<br><br>This value is returned at the end of a completed Checkout Session
                <br /></td>
        </tr>
        <tr id='cJS9CAvlbOI'>
            <td id='s:cJS9CAvlbOI;cJS9CAtq4kq' style='vertical-align: top;'>
                <f style="color:#5c6470" textcolor="#5c6470">chargeAmountLimit</f><br><br>Type: <a href="#type-price">price</a>
                <br />
            </td>
            <td id='s:cJS9CAvlbOI;cJS9CAVnm58' style='vertical-align: top;'>Total amount that can be charged using this ChargePermission<br><br> Max length: 16 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAUSsEJ'>
            <td id='s:cJS9CAUSsEJ;cJS9CAtq4kq' style='vertical-align: top;'>releaseEnvironment<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAUSsEJ;cJS9CAVnm58' style='vertical-align: top;'>Amazon Pay environment<br><br>Possible values: live, sandbox
                <br /></td>
        </tr>
        <tr id='cJS9CA7rGgE'>
            <td id='s:cJS9CA7rGgE;cJS9CAtq4kq' style='vertical-align: top;'>buyer<br><br>Type: <a href="#type-buyer">buyer</a>
                <br /></td>
            <td id='s:cJS9CA7rGgE;cJS9CAVnm58' style='vertical-align: top;'>Details about the buyer, such as their unique identifier, name, and email
                <br /></td>
        </tr>
        <tr id='cJS9CAOQ69n'>
            <td id='s:cJS9CAOQ69n;cJS9CAtq4kq' style='vertical-align: top;'>shippingAddress<br><br>Type: <a href="#type-address">address</a>
                <br /></td>
            <td id='s:cJS9CAOQ69n;cJS9CAVnm58' style='vertical-align: top;'>Shipping address selected by the buyer
                <br /></td>
        </tr>
        <tr id='cJS9CAZLioF'>
            <td id='s:cJS9CAZLioF;cJS9CAtq4kq' style='vertical-align: top;'>paymentPreferences<br><br>Type: list&lt;<a href="#type-paymentpreferences">paymentPreferences</a>&gt;
                <br /></td>
            <td id='s:cJS9CAZLioF;cJS9CAVnm58' style='vertical-align: top;'>List of payment instruments selected by the buyer
                <br /></td>
        </tr>
        <tr id='cJS9CA4l10f'>
            <td id='s:cJS9CA4l10f;cJS9CAtq4kq' style='vertical-align: top;'>merchantMetadata<br><br>Type: <a href="#type-merchantmetadata">merchantMetadata</a>
                <br /></td>
            <td id='s:cJS9CA4l10f;cJS9CAVnm58' style='vertical-align: top;'>Merchant-provided order details
                <br /></td>
        </tr>
        <tr id='cJS9CAwG6pN'>
            <td id='s:cJS9CAwG6pN;cJS9CAtq4kq' style='vertical-align: top;'>platformId<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAwG6pN;cJS9CAVnm58' style='vertical-align: top;'>Merchant identifier of the Solution Provider (SP)<br><br>Only SPs should use this field
                <br /></td>
        </tr>
        <tr id='cJS9CAhT0hu'>
            <td id='s:cJS9CAhT0hu;cJS9CAtq4kq' style='vertical-align: top;'>creationTimestamp<br><br>Type: dateTime
                <br /></td>
            <td id='s:cJS9CAhT0hu;cJS9CAVnm58' style='vertical-align: top;'>UTC date and time when the Charge Permssion was created in ISO 8601 format
                <br /></td>
        </tr>
        <tr id='cJS9CAgp7W9'>
            <td id='s:cJS9CAgp7W9;cJS9CAtq4kq' style='vertical-align: top;'>expirationTimestamp<br><br>Type: dateTime
                <br /></td>
            <td id='s:cJS9CAgp7W9;cJS9CAVnm58' style='vertical-align: top;'>UTC date and time when the Charge Permission will expire in ISO 8601 format<br><br>The Charge Permission will expire 180 days after it's confirmed
                <br /></td>
        </tr>
        <tr id='cJS9CAR68Ty'>
            <td id='s:cJS9CAR68Ty;cJS9CAtq4kq' style='vertical-align: top;'>statusDetail<br><br>Type: <a href="#type-statusdetail">statusDetail</a>
                <br /></td>
            <td id='s:cJS9CAR68Ty;cJS9CAVnm58' style='vertical-align: top;'>State of the Charge Permission object
                <br /></td>
        </tr>
        <tr id=''>
            <td id='' style='vertical-align: top;'>presentmentCurrency<br><br>Type: string
                <br /></td>
            <td id='' style='vertical-align: top;'>The currency that the buyer will be charged in ISO 4217 format. Example: USD<br><br>See <a href="../amazon-pay-checkout/v1-multi-currency-integration.md">multi-currency integration</a> for more info
                <br /></td>
        </tr>
    </tbody>
</table>

#### Type: price

<table width="100%" border="1">
    <tbody>
        <tr id='OLS9CAbORDS'>
            <td id='s:OLS9CAbORDS;OLS9CAjgdgj' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:OLS9CAbORDS;OLS9CAZr77k' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='OLS9CAW39VE'>
            <td id='s:OLS9CAW39VE;OLS9CAjgdgj' style='vertical-align: top;'>amount<br><br>Type: string
                <br /></td>
            <td id='s:OLS9CAW39VE;OLS9CAZr77k' style='vertical-align: top;'>Transaction amount
                <br /></td>
        </tr>
        <tr id='OLS9CATPsPn'>
            <td id='s:OLS9CATPsPn;OLS9CAjgdgj' style='vertical-align: top;'>currencyCode<br><br>Type: string
                <br /></td>
            <td id='s:OLS9CATPsPn;OLS9CAZr77k' style='vertical-align: top;'>Transaction currency code in ISO 4217 format<br /><br />Example: USD
                <br /></td>
        </tr>
    </tbody>
</table>


#### Type: buyer

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAizd7g'>
            <td id='s:cJS9CAizd7g;cJS9CAbn9bz' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CAizd7g;cJS9CA2T5hP' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAhRQ6G'>
            <td id='s:cJS9CAhRQ6G;cJS9CAbn9bz' style='vertical-align: top;'>buyerId<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAhRQ6G;cJS9CA2T5hP' style='vertical-align: top;'>Unique Amazon Pay buyer identifier
                <br /></td>
        </tr>
        <tr id='cJS9CAlh5uI'>
            <td id='s:cJS9CAlh5uI;cJS9CAbn9bz' style='vertical-align: top;'>name<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAlh5uI;cJS9CA2T5hP' style='vertical-align: top;'>Buyer name
                <br /></td>
        </tr>
        <tr id='cJS9CApWnAR'>
            <td id='s:cJS9CApWnAR;cJS9CAbn9bz' style='vertical-align: top;'>email<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CApWnAR;cJS9CA2T5hP' style='vertical-align: top;'>Buyer email address
                <br /></td>
        </tr>
    </tbody>
</table>

#### Type: paymentPreferences

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAd8rrf'>
            <td id='s:cJS9CAd8rrf;cJS9CAf5iQk' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CAd8rrf;cJS9CAHMfLc' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAMFGXr'>
            <td id='s:cJS9CAMFGXr;cJS9CAf5iQk' style='vertical-align: top;'>paymentDescriptor<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAMFGXr;cJS9CAHMfLc' style='vertical-align: top;'>Amazon Pay-provided description for payment instrument selected by the buyer
                <br /></td>
        </tr>
        <tr id='cJS9CA4J1fx'>
            <td id='s:cJS9CA4J1fx;cJS9CAf5iQk' style='vertical-align: top;'>billingAddress<br><br>Type: <a href="#type-address">address</a>
                <br /></td>
            <td id='s:cJS9CA4J1fx;cJS9CAHMfLc' style='vertical-align: top;'>Billing address for payment instrument selected by the buyer. Billing address is only available in EU or for PayOnly product type 
                <br /></td>
        </tr>
    </tbody>
</table>

#### Type: address

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CA15m1O'>
            <td id='s:cJS9CA15m1O;cJS9CADTmKU' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CA15m1O;cJS9CACuV6g' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAhKQ2T'>
            <td id='s:cJS9CAhKQ2T;cJS9CADTmKU' style='vertical-align: top;'>name<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAhKQ2T;cJS9CACuV6g' style='vertical-align: top;'>Address name<br><br>Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAqXCyh'>
            <td id='s:cJS9CAqXCyh;cJS9CADTmKU' style='vertical-align: top;'>addressLine1<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAqXCyh;cJS9CACuV6g' style='vertical-align: top;'>The first line of the address<br><br>Max length: 180 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAwiBgM'>
            <td id='s:cJS9CAwiBgM;cJS9CADTmKU' style='vertical-align: top;'>addressLine2<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAwiBgM;cJS9CACuV6g' style='vertical-align: top;'>The second line of the address<br><br>Max length: 60 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAcRMHh'>
            <td id='s:cJS9CAcRMHh;cJS9CADTmKU' style='vertical-align: top;'>addressLine3<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAcRMHh;cJS9CACuV6g' style='vertical-align: top;'>The third line of the address<br><br>Max length: 60 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAMadQS'>
            <td id='s:cJS9CAMadQS;cJS9CADTmKU' style='vertical-align: top;'>city<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAMadQS;cJS9CACuV6g' style='vertical-align: top;'>City of the address<br><br>Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAElYRX'>
            <td id='s:cJS9CAElYRX;cJS9CADTmKU' style='vertical-align: top;'>county<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAElYRX;cJS9CACuV6g' style='vertical-align: top;'>County of the address<br><br>Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAuqxtJ'>
            <td id='s:cJS9CAuqxtJ;cJS9CADTmKU' style='vertical-align: top;'>district<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAuqxtJ;cJS9CACuV6g' style='vertical-align: top;'>District of the address<br><br>Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAJhCV2'>
            <td id='s:cJS9CAJhCV2;cJS9CADTmKU' style='vertical-align: top;'>stateOrRegion<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAJhCV2;cJS9CACuV6g' style='vertical-align: top;'>The state or region:
            <ul>
                <li>US and CA addresses - Response will always be a 2-character code</li>
                <li>All other countries - This element is free text and can be either a 2-character code, fully spelled out, or abbreviated</li>
              </ul> 
                Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAaTUA6'>
            <td id='s:cJS9CAaTUA6;cJS9CADTmKU' style='vertical-align: top;'>postalCode<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAaTUA6;cJS9CACuV6g' style='vertical-align: top;'>Postal code of the address<br><br>Max length: 20 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAm6V7w'>
            <td id='s:cJS9CAm6V7w;cJS9CADTmKU' style='vertical-align: top;'>countryCode<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAm6V7w;cJS9CACuV6g' style='vertical-align: top;'>Country code of the address in ISO 3166 format<br><br>Max length: 3 characters
                <br /></td>
        </tr>
        <tr id=''>
          <td id='' style='vertical-align: top;'>phoneNumber<br><br>Type: string
              <br /></td>
          <td id='' style='vertical-align: top;'>Phone number<br><br>Max length: 20 characters
              <br /></td>
      </tr>
    </tbody>
</table>

#### Type: merchantMetadata

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CANltWT'>
            <td id='s:cJS9CANltWT;cJS9CAvOSCv' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CANltWT;cJS9CAR4Gxn' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAWo4F0'>
            <td id='s:cJS9CAWo4F0;cJS9CAvOSCv' style='vertical-align: top;'>merchantReferenceId<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAWo4F0;cJS9CAR4Gxn' style='vertical-align: top;'>External merchant order identifier. The merchant order identifier is shared in <a href="../amazon-pay-checkout/v1-buyer-communication.md">buyer communication</a> and in the buyer transaction history on the<a href="https://pay.amazon.com"> Amazon Pay website</a><br><br>Max length: 256 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAtuwE2'>
            <td id='s:cJS9CAtuwE2;cJS9CAvOSCv' style='vertical-align: top;'>merchantStoreName<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAtuwE2;cJS9CAR4Gxn' style='vertical-align: top;'>Merchant store name. Setting this parameter will override the default value configured in <a href="https://sellercentral.amazon.com/">Seller Central</a> (the account management tool for merchants). The store name is shared in <a href="../amazon-pay-checkout/v1-buyer-communication.md">buyer communication</a> and in the buyer transaction history on the <a href="https://pay.amazon.com">Amazon Pay website</a><br><br>Max length: 50 characters
                <br /></td>
        </tr>
        <tr id='cJS9CAEA432'>
            <td id='s:cJS9CAEA432;cJS9CAvOSCv' style='vertical-align: top;'>noteToBuyer<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAEA432;cJS9CAR4Gxn' style='vertical-align: top;'>Description of the order that is shared in <a href="../amazon-pay-checkout/v1-buyer-communication.md">buyer communication</a><br /><br />You should not store sensitive data about the buyer or the transaction in this field<br><br>Max length: 255 characters
                <br /></td>
        </tr>
        <tr id='cJS9CALqw0h'>
            <td id='s:cJS9CALqw0h;cJS9CAvOSCv' style='vertical-align: top;'>customInformation<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CALqw0h;cJS9CAR4Gxn' style='vertical-align: top;'>Custom information for the order. This data is not shared in any <a href="../amazon-pay-checkout/v1-buyer-communication.md">buyer communication</a><br /><br />You should not store sensitive data about the buyer or the transaction in this field<br><br>Max length: 4,096 characters
                <br /></td>
        </tr>
    </tbody>
</table>

#### Type: statusDetail

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAxdCus'>
            <td id='s:cJS9CAxdCus;cJS9CAhaPfK' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CAxdCus;cJS9CAr1X7p' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAvmL7I'>
            <td id='s:cJS9CAvmL7I;cJS9CAhaPfK' style='vertical-align: top;'>state<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAvmL7I;cJS9CAr1X7p' style='vertical-align: top;'>Current object state
                <br /></td>
        </tr>
        <tr id='cJS9CAe15wV'>
            <td id='s:cJS9CAe15wV;cJS9CAhaPfK' style='vertical-align: top;'>reasons<br><br>Type: list<<a href="#type-reason">reason</a>>
                <br /></td>
            <td id='s:cJS9CAe15wV;cJS9CAr1X7p' style='vertical-align: top;'>List of reasons for current state
                <br /></td>
        </tr>
        <tr id='cJS9CAKoErf'>
            <td id='s:cJS9CAKoErf;cJS9CAhaPfK' style='vertical-align: top;'>lastUpdatedTimestamp<br><br>Type: dateTime
                <br /></td>
            <td id='s:cJS9CAKoErf;cJS9CAr1X7p' style='vertical-align: top;'>UTC date and time when the state was last updated in ISO 8601 format
                <br /></td>
        </tr>
    </tbody>
</table>

#### Type: reason

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CA2yZaB'>
            <td id='s:cJS9CA2yZaB;cJS9CAOwSo4' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Parameter
                <br /></td>
            <td id='s:cJS9CA2yZaB;cJS9CAQ5gM7' style='vertical-align: top; font-weight: bold; width: 70%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CA1Yyl4'>
            <td id='s:cJS9CA1Yyl4;cJS9CAOwSo4' style='vertical-align: top;'>reasonCode<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CA1Yyl4;cJS9CAQ5gM7' style='vertical-align: top;'>Reason code for current state
                <br /></td>
        </tr>
        <tr id='cJS9CAIgfNM'>
            <td id='s:cJS9CAIgfNM;cJS9CAOwSo4' style='vertical-align: top;'>reasonDescription<br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAIgfNM;cJS9CAQ5gM7' style='vertical-align: top;'>An optional description of the Charge Permission state
                <br /></td>
        </tr>
    </tbody>
</table>

### States and reason codes

<img src='https://m.media-amazon.com/images/G/01/EPSDocumentation/AmazonPay/Integration/ChargePremissionStates._CB1565018488_.png' />

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CA98v8b'>
            <td id='s:cJS9CA98v8b;cJS9CA4J55z' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>State
                <br /></td>
            <td id='s:cJS9CA98v8b;cJS9CAswqoe' style='vertical-align: top; font-weight: bold; width: 40%;' class='bold'>Description
                <br /></td>
            <td id='s:cJS9CA98v8b;cJS9CAHiGPE' style='vertical-align: top; font-weight: bold; width: 40%;' class='bold'>Reason code
                <br /></td>
        </tr>
        <tr id='cJS9CAmD6tg'>
            <td id='s:cJS9CAmD6tg;cJS9CA4J55z' style='vertical-align: top;'>Chargeable
                <br /></td>
            <td id='s:cJS9CAmD6tg;cJS9CAswqoe' style='vertical-align: top;'>State in which there are no constraints on the Charge Permission and it can be used to charge the buyer<br><br>Allowed operation(s): <br>GET Charge Permission<br>UPDATE Charge Permission<br>DELETE Charge Permission
                <br /></td>
            <td id='s:cJS9CAmD6tg;cJS9CAHiGPE' style='vertical-align: top;'>-
                <br /></td>
        </tr>
        <tr id='cJS9CAM763q'>
            <td id='s:cJS9CAM763q;cJS9CA4J55z' style='vertical-align: top;'>NonChargeable
                <br /></td>
            <td id='s:cJS9CAM763q;cJS9CAswqoe' style='vertical-align: top;'>State in which there are constraints on the Charge Permission and it can't be used to charge the buyer<br><br>Allowed operation(s): <br>GET Charge Permission<br>UPDATE Charge Permission<br>DELETE Charge Permission
                <br /></td>
            <td id='s:cJS9CAM763q;cJS9CAHiGPE' style='vertical-align: top;'><b>PaymentMethodInvalid</b> - The previous charge was declined. Ask the buyer to update the payment method<br><br><b>PaymentMethodDeleted</b> - The buyer has deleted the selected payment method<br><b><br>BillingAddressDeleted</b> - The buyer has deleted the billing address of the selected payment method<br><br><b>PaymentMethodExpired</b> - The selected payment method has expired<br><br><b>PaymentMethodNotAllowed</b> - The payment method selected by the buyer is not allowed for this Charge Permission<br><br><b>PaymentMethodNotSet</b> - There is no payment method associated with charge permission<br><br><b>ChargeInProgress</b> - A charge is already in progress. You cannot initiate a new charge unless previous charge is canceled<br><br><b>MFAFailed</b> - Buyer did not verify the transaction. Charge cannot be initiated unless buyer verifies the amount on the transaction
                <br /></td>
        </tr>
        <tr id='cJS9CA3kXWi'>
            <td id='s:cJS9CA3kXWi;cJS9CA4J55z' style='vertical-align: top;'>Closed
                <br /></td>
            <td id='s:cJS9CA3kXWi;cJS9CAswqoe' style='vertical-align: top;'>Charge Permission was closed or has expired<br><br>Allowed operation(s): <br>GET Charge Permission
                <br /></td>
            <td id='s:cJS9CA3kXWi;cJS9CAHiGPE' style='vertical-align: top;'><b>MerchantClosed </b>- You closed the Charge Permission by calling Close Charge Permission operation<br><b><br>BuyerCanceled -</b> The buyer closed the Charge Permission<br><b><br>AmazonCanceled </b>- Amazon closed the Charge Permission<br><br><b>AmazonClosed</b> - Amazon closed the Charge Permission since the Charge was Completed<br><br><b>Expired - </b> The Charge Permission expired after 180 days
                <br /> <br /> <b>StopShipmentAtypicalAuth</b> - There are signs of unusual activity that indicate you shouldn’t proceed with fulfilment.<br /></td>
        </tr>
    </tbody>
</table>

## Operations

### Get Charge Permission

Get Charge Permission to determine if this Charge Permission can be used to charge the buyer. You can also use this operation to retrieve buyer details and their shipping address after a successful checkout. You can only retrieve details for 30 days after the time that the Charge Permission was created.

#### Request

```
curl "https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId"
-X GET
-H "authorization: Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"
```

#### Request parameters

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAFNCvt'>
            <td id='s:cJS9CAFNCvt;cJS9CAwLlhz' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Name
                <br /></td>
            <td id='s:cJS9CAFNCvt;cJS9CAhKPAZ' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Location
                <br /></td>
            <td id='s:cJS9CAFNCvt;cJS9CAJ9HKU' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CA0EwNI'>
            <td id='s:cJS9CA0EwNI;cJS9CAwLlhz' style='vertical-align: top;'>chargePermissionId<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:cJS9CA0EwNI;cJS9CAhKPAZ' style='vertical-align: top;'>Path Parameter
                <br /></td>
            <td id='s:cJS9CA0EwNI;cJS9CAJ9HKU' style='vertical-align: top;'>Charge Permission identifier
                <br /></td>
        </tr>
    </tbody>
</table>

#### Response

Returns <a href="https://restfulapi.net/http-status-200-ok" target="_blank" rel="noopener noreferrer">HTTP 200 (OK) status</a> if the operation was successful.

```
{
    "chargePermissionId": "chargePermission-1",
    "chargePermissionReferenceId": null,
    "buyer": {
        "buyerId": "buyerId",
        "name": "name-1",
        "email": "name@amazon.com"
    },
    "releaseEnvironment": "Live",
    "shippingAddress": {  // Null for PayOnly product type
        "name": "Work",
        "addressLine1": "440 Terry Ave",
        "addressLine2": "",
        "addressLine3": "",
        "city": "Seattle",
        "county": "King",
        "district": "Seattle",
        "stateOrRegion": "WA",
        "postalCode": "98121",
        "countryCode": "US",
        "phoneNumber": "800-000-0000"
    },
    "paymentPreferences": [{
        "billingAddress": {  // Only available in EU or for PayOnly product type
            "name": "Work",
            "addressLine1": "440 Terry Ave",
            "addressLine2": "",
            "addressLine3": "",
            "city": "Seattle",
            "county": "King",
            "district": "Seattle",
            "stateOrRegion": "WA",
            "postalCode": "98121",
            "countryCode": "US",
            "phoneNumber": "800-000-0000"
        },
        "paymentDescriptor": null
    }],
    "statusDetail": {
        "state": "Chargeable",
        "reasons": null,
        "lastUpdatedTimestamp": "20190714T155300Z"
    },
    "creationTimestamp": "20190714T155300Z",
    "expirationTimestamp": "20190715T155300Z",
    "merchantMetadata": {
        "merchantReferenceId": "123-77-876", 
        "merchantStoreName": "AmazonTestStoreFront",
        "noteToBuyer": "merchantNoteForBuyer",
        "customInformation": "This is custom information"
    },
    "platformId": "SPId",
    "chargeAmountLimit": {
        "amount":  "14.00",
        "currencyCode":  "USD"
    },
    "presentmentCurrency":  "USD"
}
```


#### Error codes

Generic errors can be found [here](../amazon-pay-api-v2/v1-error-handling.html). 

### Update Charge Permission


Update the Charge Permission with your order metadata. Some of the values may be shared with the buyer. See [buyer communication](../amazon-pay-checkout/v1-buyer-communication.html) for more info.

#### Request

```
curl "https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId" \
-X PATCH
-H "authorization: Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"
-d @request_body
```

#### Request body

```
{
    "merchantMetadata": {
        "merchantReferenceId": "32-41-323141-32",
        "merchantStoreName": "AmazonTestStoreFront",
        "noteToBuyer": "Some Note to buyer",
        "customInformation": ""    
     }  
}
```



#### Request parameters


<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CACSzhf'>
            <td id='s:cJS9CACSzhf;cJS9CAw3M2H' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Name
                <br /></td>
            <td id='s:cJS9CACSzhf;cJS9CARyEsq' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Location
                <br /></td>
            <td id='s:cJS9CACSzhf;cJS9CARLcRb' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAq4Dec'>
            <td id='s:cJS9CAq4Dec;cJS9CAw3M2H' style='vertical-align: top;'>chargePermissionId<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAq4Dec;cJS9CARyEsq' style='vertical-align: top;'>Path Parameter
                <br /></td>
            <td id='s:cJS9CAq4Dec;cJS9CARLcRb' style='vertical-align: top;'>Charge Permission identifier
                <br /></td>
        </tr>
        <tr id='cJS9CAmc7KL'>
            <td id='s:cJS9CAmc7KL;cJS9CAw3M2H' style='vertical-align: top;'>merchantMetadata<br><br>Type: <a href="#type-merchantmetadata">merchantMetadata</a>
                <br /></td>
            <td id='s:cJS9CAmc7KL;cJS9CARyEsq' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:cJS9CAmc7KL;cJS9CARLcRb' style='vertical-align: top;'>Merchant-provided order details<br><br>Modifiable: Once
                <br /></td>
        </tr>
    </tbody>
</table>

#### Response

Returns <a href="https://restfulapi.net/http-status-200-ok" target="_blank" rel="noopener noreferrer">HTTP 200 (OK) status</a> if the operation was successful.

```
{
    "chargePermissionId": "chargePermission-1",
    "chargePermissionReferenceId": null,
    "buyer": {
        "buyerId": "buyerId",
        "name": "name-1",
        "email": "name@amazon.com"
    },
    "releaseEnvironment": "Live",
    "shippingAddress": {  // Null for PayOnly product type
        "name": "Work",
        "addressLine1": "440 Terry Ave",
        "addressLine2": "",
        "addressLine3": "",
        "city": "Seattle",
        "county": "King",
        "district": "Seattle",
        "stateOrRegion": "WA",
        "postalCode": "98121",
        "countryCode": "US",
        "phoneNumber": "800-000-0000"
    },
    "paymentPreferences": [
    {
        "billingAddress": {  // Only available in EU or for PayOnly product type
            "name": "Work",
            "addressLine1": "440 Terry Ave",
            "addressLine2": "",
            "addressLine3": "",
            "city": "Seattle",
            "county": "King",
            "district": "Seattle",
            "stateOrRegion": "WA",
            "postalCode": "98121",
            "countryCode": "US",
            "phoneNumber": "800-000-0000"
        },
        "paymentDescriptor": null
    }],
    "statusDetail": {
        "state": "Chargeable",
        "reasons":null,
        "lastUpdatedTimestamp": "20190714T155300Z"
    },
    "creationTimestamp": "20190714T155300Z",
    "expirationTimestamp": "20190715T155300Z",
    "merchantMetadata": {
        "merchantReferenceId": "123-77-876", 
        "merchantStoreName": "AmazonTestStoreFront",
        "noteToBuyer": "merchantNoteForBuyer",
        "customInformation": "This is custom information"  
    },
    "platformId": "SPId",
    "chargeAmountLimit": {
        "amount": "14.00",
        "currencyCode": "USD"
    },
    "presentmentCurrency": "USD"
}
```


#### Error codes

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAJQpxB'>
            <td id='s:cJS9CAJQpxB;cJS9CA6QF8P' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>HTTP status code
                <br /></td>
            <td id='s:cJS9CAJQpxB;cJS9CAU3pPK' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Reason code
                <br /></td>
            <td id='s:cJS9CAJQpxB;cJS9CA9q6gX' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Error description
                <br /></td>
        </tr>
        <tr id='cJS9CAO6SJr'>
            <td id='s:cJS9CAO6SJr;cJS9CA6QF8P' style='vertical-align: top;'>422 UNPROCESSABLE_ENTITY
                <br /></td>
            <td id='s:cJS9CAO6SJr;cJS9CAU3pPK' style='vertical-align: top;'>ChargePermissionNotModifiable
                <br /></td>
            <td id='s:cJS9CAO6SJr;cJS9CA9q6gX' style='vertical-align: top;'>You have tried to modify a Charge Permission that is in a state where it can't be modified
                <br /></td>
        </tr>
    </tbody>
</table>

Generic errors can be found [here](../amazon-pay-api-v2/v1-error-handling.html). 

### Close Charge Permission

Moves the Charge Permission to a Closed state. No future charges can be made and pending charges will be canceled if you set cancelPendingCharges to true. 

#### Request

```
curl "https://pay-api.amazon.com/:environment/:version/chargePermissions/:chargePermissionId/close" \
-X DELETE
-H "x-amz-pay-authorization: Px2e5oHhQZ88vVhc0DO%2FsShHj8MDDg%3DEXAMPLESIGNATURE"
-d @request_body
```

#### Request body

```
{
    "closureReason": "No more charges required",
    "cancelPendingCharges": false
}
```



#### Request parameters

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CASnc5u'>
            <td id='s:cJS9CASnc5u;cJS9CA4fhHI' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>Name
                <br /></td>
            <td id='s:cJS9CASnc5u;cJS9CAG6IQ6' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Location
                <br /></td>
            <td id='s:cJS9CASnc5u;cJS9CA1qgE3' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Description
                <br /></td>
        </tr>
        <tr id='cJS9CAomSGy'>
            <td id='s:cJS9CAomSGy;cJS9CA4fhHI' style='vertical-align: top;'>chargePermissionId<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAomSGy;cJS9CAG6IQ6' style='vertical-align: top;'>Path Parameter
                <br /></td>
            <td id='s:cJS9CAomSGy;cJS9CA1qgE3' style='vertical-align: top;'>Charge Permission identifier
                <br /></td>
        </tr>
        <tr id='cJS9CAqaSFm'>
            <td id='s:cJS9CAqaSFm;cJS9CA4fhHI' style='vertical-align: top;'>closureReason<br><b>(required)</b><br><br>Type: string
                <br /></td>
            <td id='s:cJS9CAqaSFm;cJS9CAG6IQ6' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:cJS9CAqaSFm;cJS9CA1qgE3' style='vertical-align: top;'>Merchant-provided reason for closing Charge Permission
                <br /></td>
        </tr>
        <tr id='cJS9CASAQvt'>
            <td id='s:cJS9CASAQvt;cJS9CA4fhHI' style='vertical-align: top;'>cancelPendingCharges<br><br>Type: boolean
                <br /></td>
            <td id='s:cJS9CASAQvt;cJS9CAG6IQ6' style='vertical-align: top;'>Body
                <br /></td>
            <td id='s:cJS9CASAQvt;cJS9CA1qgE3' style='vertical-align: top;'>If set to True:
                <ul>
                      <li>Child Charge objects not in a Captured state are canceled</li>
                      <li>The Amazon Pay confirmation email is suppressed if the request is made within five minutes of Charge Permission creation</li>
                    </ul>
                Default: False
                <br /></td>
        </tr>
    </tbody>
</table>



#### Response

Returns <a href="https://restfulapi.net/http-status-200-ok" target="_blank" rel="noopener noreferrer">HTTP 200 (OK) status</a> if the operation was successful.

```
{
    "chargePermissionId": "chargePermission-1",
    "chargePermissionReferenceId": null,
    "buyer": {
        "buyerId": "buyerDirectedId",
        "name": "name-1",
        "email": "name@amazon.com"
    },
    "releaseEnvironment":  "Live",
    "shippingAddress": {  // Null for PayOnly product type
        "name": "Work",
        "addressLine1": "440 Terry Ave",
        "addressLine2": "",
        "addressLine3": "",
        "city": "Seattle",
        "county": "King",
        "district": "Seattle",
        "stateOrRegion": "WA",
        "postalCode": "98121",
        "countryCode": "US",
        "phoneNumber":  "800-000-0000"
    },
    "paymentPreferences": [
    {
        "billingAddress": {  // Only available in EU or for PayOnly product type
            "name": "Work",
            "addressLine1": "440 Terry Ave",
            "addressLine2": "",
            "addressLine3": "",
            "city": "Seattle",
            "county": "King",
            "district": "Seattle",
            "stateOrRegion": "WA",
            "postalCode": "98121",
            "countryCode": "US",
            "phoneNumber": "800-000-0000"
        },
        "paymentDescriptor": null
    }],
    "statusDetail": {
        "state": "Closed",
        "reasons": 
        [{
            "reasonCode": null,
            "reasonDescription": null
        }],
        "lastUpdatedTimestamp": "20190714T155300Z"
    },
    "creationTimestamp": "20190714T155300Z",
    "expirationTimestamp": "20190715T155300Z",
    "merchantMetadata": {
        "merchantReferenceId": "123-77-876", 
        "merchantStoreName": "AmazonTestStoreFront",
        "noteToBuyer": "merchantNoteForBuyer",
        "customInformation": "This is custom information" 
    },
    "platformId": "SPId",
    "chargeAmountLimit":  {
        "amount":  "14.00",
        "currencyCode":  "USD"
    },
    "presentmentCurrency":  "USD"
}
```


#### Error codes

<table width="100%" border="1">
    <tbody>
        <tr id='cJS9CAprDTM'>
            <td id='s:cJS9CAprDTM;cJS9CATNwLY' style='vertical-align: top; font-weight: bold; width: 30%;' class='bold'>HTTP status code
                <br /></td>
            <td id='s:cJS9CAprDTM;cJS9CAa6chd' style='vertical-align: top; font-weight: bold; width: 20%;' class='bold'>Reason code
                <br /></td>
            <td id='s:cJS9CAprDTM;cJS9CA4w71D' style='vertical-align: top; font-weight: bold; width: 50%;' class='bold'>Error description
                <br /></td>
        </tr>
        <tr id='cJS9CAFpi8I'>
            <td id='s:cJS9CAFpi8I;cJS9CATNwLY' style='vertical-align: top;'>422 UNPROCESSABLE_ENTITY
                <br /></td>
            <td id='s:cJS9CAFpi8I;cJS9CAa6chd' style='vertical-align: top;'>InvalidChargePermissionStatus
                <br /></td>
            <td id='s:cJS9CAFpi8I;cJS9CA4w71D' style='vertical-align: top;'>You tried to call an operation on a Charge Permission that is in a state where that operation is not allowed
                <br /></td>
        </tr>
    </tbody>
</table>

Generic errors can be found [here](../amazon-pay-api-v2/v1-error-handling.html). 

### Related topics

* [Checkout session object](../amazon-pay-api-v2/v1-checkout-session.html)
* [Charge object](../amazon-pay-api-v2/v1-charge.html)




