Set CVV Retention Policy

This method allows you to set the CVV retention for a token.
This method supports submitting the request with a body in both JSON (default) and XML formats.

We recommend that you first review the guide for this method.

Below are several examples of the message body used for setting the CVV retention policy.
The first example shows how to use each one of the destinationTypes in XML format.
The second example shows the minimal request body in XML format.
The third example shows the minimal request body in JSON format.

<?xml version="1.0"?>
<CardCvvRetentionPolicy>
    <CvvEndRetentionDate>2018-01-19T11:58:00</CvvEndRetentionDate>
    <DeleteCardUponCvvCleanup>true</DeleteCardUponCvvCleanup>
    <CvvRetentionPolicyList>
        <CvvRetentionPolicyDestination>
            <DestinationType>HostName</DestinationType>
            <DestinationData>httpbin.org</DestinationData>
            <Quota>10</Quota>
            <Usage>0</Usage>
        </CvvRetentionPolicyDestination>
        <CvvRetentionPolicyDestination>
            <DestinationType>Owner</DestinationType>
            <DestinationData />
            <Quota>23</Quota>
        </CvvRetentionPolicyDestination>
        <CvvRetentionPolicyDestination>
            <DestinationType>OtherMerchant</DestinationType>
            <DestinationData>RoeeExcel9</DestinationData>
            <Quota>30</Quota>
        </CvvRetentionPolicyDestination>
        <CvvRetentionPolicyDestination>
            <DestinationType>SFTP</DestinationType>
            <DestinationData>127.0.0.1</DestinationData>
            <Quota>43</Quota>
        </CvvRetentionPolicyDestination>
        <CvvRetentionPolicyDestination>
            <DestinationType>OtherUser</DestinationType>
            <DestinationData>RoeeBlat</DestinationData>
            <Quota>50</Quota>
        </CvvRetentionPolicyDestination>
    </CvvRetentionPolicyList>
</CardCvvRetentionPolicy>
<?xml version="1.0"?>
<CardCvvRetentionPolicy>
    <CvvEndRetentionDate>2020-05-11T11:37:54</CvvEndRetentionDate>
    <CvvRetentionPolicyList>
    </CvvRetentionPolicyList>
</CardCvvRetentionPolicy>
{
  "CvvEndRetentionDate": "2020-12-12 12:32:45",
  "CvvRetentionPolicyList": []
}
Language
Click Try It! to start a request and see the response here!