Check Duplicate Transaction Settings
Check Duplicate Transaction Settings
GET //rest/v2/settings/transaction/duplicates HTTP/1.1
Host: gateway-sb.clearent.net
Accept: */*
<?xml version="1.0"?>
<object>
<code>200</code>
<emvUrl>text</emvUrl>
<exchange-id>ID_38839393-3938383-484848484</exchange-id>
<gatewayUrl>text</gatewayUrl>
<links>
<href>/rest/v2/transactions?id=846512</href>
<id>846512</id>
<rel>transaction</rel>
</links>
<page>
<first>false</first>
<last>false</last>
<number>4</number>
<number-of-elements>102</number-of-elements>
<size>4</size>
<sort>
<field>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</field>
</sort>
<total-elements>102</total-elements>
<total-pages>4</total-pages>
</page>
<payload>
<payloadType>text</payloadType>
</payload>
<signature>text</signature>
<status>SUCCESS</status>
<urls>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</urls>
<vaultUrl>text</vaultUrl>
</object>
Set to true to check at merchant level
Set to true to enable checking for duplicate transaction
When we determine a duplicate transaction has been found you can set this flag to true if you want the response to be returned as an error. System default will be to return a 200 status with the transaction if one is found.
Set to true to include the invoice in the criteria
When checking for a duplicate transaction the system will create a window of time based on the number of minutes provided. If we find a transaction within this window matching the criteria the transaction will be considered a duplicate.
Set to true to use the invoice instead of the card
POST //rest/v2/settings/transaction/duplicates HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/xml
Accept: */*
Content-Length: 178
"<?xml version=1.0?>
<check-merchant-level>false</check-merchant-level>
<enabled>false</enabled>
<if-duplicate-found-respond-with-error>false</if-duplicate-found-respond-with-error>
<include-invoice>false</include-invoice>
<time-range-in-minutes>1</time-range-in-minutes>
<use-invoice-instead-of-card>false</use-invoice-instead-of-card>
"
<?xml version="1.0"?>
<object>
<code>200</code>
<emvUrl>text</emvUrl>
<exchange-id>ID_38839393-3938383-484848484</exchange-id>
<gatewayUrl>text</gatewayUrl>
<links>
<href>/rest/v2/transactions?id=846512</href>
<id>846512</id>
<rel>transaction</rel>
</links>
<page>
<first>false</first>
<last>false</last>
<number>4</number>
<number-of-elements>102</number-of-elements>
<size>4</size>
<sort>
<field>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</field>
</sort>
<total-elements>102</total-elements>
<total-pages>4</total-pages>
</page>
<payload>
<payloadType>text</payloadType>
</payload>
<signature>text</signature>
<status>SUCCESS</status>
<urls>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</urls>
<vaultUrl>text</vaultUrl>
</object>
Set to true to check at merchant level
Set to true to enable checking for duplicate transaction
When we determine a duplicate transaction has been found you can set this flag to true if you want the response to be returned as an error. System default will be to return a 200 status with the transaction if one is found.
Set to true to include the invoice in the criteria
When checking for a duplicate transaction the system will create a window of time based on the number of minutes provided. If we find a transaction within this window matching the criteria the transaction will be considered a duplicate.
Set to true to use the invoice instead of the card
PUT //rest/v2/settings/transaction/duplicates HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/xml
Accept: */*
Content-Length: 178
"<?xml version=1.0?>
<check-merchant-level>false</check-merchant-level>
<enabled>false</enabled>
<if-duplicate-found-respond-with-error>false</if-duplicate-found-respond-with-error>
<include-invoice>false</include-invoice>
<time-range-in-minutes>1</time-range-in-minutes>
<use-invoice-instead-of-card>false</use-invoice-instead-of-card>
"
<?xml version="1.0"?>
<object>
<code>200</code>
<emvUrl>text</emvUrl>
<exchange-id>ID_38839393-3938383-484848484</exchange-id>
<gatewayUrl>text</gatewayUrl>
<links>
<href>/rest/v2/transactions?id=846512</href>
<id>846512</id>
<rel>transaction</rel>
</links>
<page>
<first>false</first>
<last>false</last>
<number>4</number>
<number-of-elements>102</number-of-elements>
<size>4</size>
<sort>
<field>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</field>
</sort>
<total-elements>102</total-elements>
<total-pages>4</total-pages>
</page>
<payload>
<payloadType>text</payloadType>
</payload>
<signature>text</signature>
<status>SUCCESS</status>
<urls>
<ANY_ADDITIONAL_PROPERTY>text</ANY_ADDITIONAL_PROPERTY>
</urls>
<vaultUrl>text</vaultUrl>
</object>
Was this helpful?