Skip to main content

Smart debugging

To perform easy and simple debugging we recommend to add a unique (GUID) requestID to each request in the header. Cardtokens will then grap the requestID and store with the request/response data in Cardtokens. This will link data together and help everyone to solve problems quickly.

The header is named “x-request-id” and should contain an unique value. That could be a timestamp or a simple GUID (recommended without hyphens).

Example of this header written in node:

headers: { 'x-request-id': 'b50accf67ae24a729846d538d1f096d7' }