Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 3.0!

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 is an example of the XML body used for setting the CVV retention policy. This example shows how to use each one of the destinationTypes.

<?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>
Language
Click Try It! to start a request and see the response here!