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 Semi-Integrated Transaction Flow

Dejavoo Request and Response

Make a GET request to the Dejavoo terminal to perform a card present sale transaction that generates a token. From the response, grab the token, and the RefId. Store this response in your data store with your customer information. You can use this information to run transactions with this same card later. You can also use this information to see details about the transaction and perform voids and refunds via the back office integration.


Here is an example of the fields you would use for a sale with token:


You will send this to the Dejavoo terminal as a GET request:

Here is an example of the response you will get back from the terminal:

Clearent Transaction API

Use the RefId from the terminal response to get information about the transaction.


Headers:

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

Make a GET request to Clearent transaction API:

          https://gateway-sb.clearent.net/rest/v2/transactions?id=[RefId goes here]

Example:

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

Response:

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


Headers:

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

Make a POST request to Clearent transaction API:

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

Body:

Response

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


Headers:

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

Make a POST request to Clearent transaction API:

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

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.