Dejavoo and Clearent Integration

Below is an example of a suggested integration for a card present solution with Dejavoo and your back office software. This will allow you to process card present transactions with Dejavoo and retrieve them via the Clearent Transaction API to perform voids, refunds, etc. We also support generating a token at the time of the transaction that can be used in future transaction requests, removing the need to store cardholder data and reducing PCI scope.

Dejavoo Request and Response

1. Call the Dejavoo Terminal to perform a Card Present Sale transaction that generates a token. From the response,  grab the , and the . Store this response in your data store with your customer information. You can use the to run transactions with this same card later. You can use the to see details about the transaction, and perform voids and refunds via the back office integration.


Request:

https://[YOUR TERMINAL IP HERE]/cgi.html?TerminalTransaction=

Response:

Clearent Transaction API

2. Use the RefId to get information about the transaction.


Request:

https://gateway-sb.clearent.net/rest/v2/transactions?id=

Headers:

api-key: [your api key]
Content-Type: application/json
Accept: application/json

Response:

3. Using the RefId from the Dejavoo Terminal you can perform voids and refunds.


Request:

gateway-sb.clearent.net/rest/v2/transactions

Headers:

api-key: [your api key]
content-type: applicaton/json
Accept : application/json

Body:

Response

4. Using the token from the Dejavoo Terminal you can perform future sales.


Request:

https://gateway-sb.clearent.net/rest/v2/transactions

Headers:

api-key: [your api key]
content-type: applicaton/json
Accept : application/json

Response:

Additional Documentation

Dejavoo to Clearent Field Mappings
Clearent API Docs
List of Test Cards
FAQ
Hosted Payments Page

Note: Using the tokenization solution as outlined above can be enhanced using the Clearent Account Updater Service. Account Updater will keep all the cards referenced by your tokens up to date, even when they are expired or are reissued. Contact your Clearent representative to find out more about this service.