Create Token

The Create Token process is designed to generate a unique token to be used in the frontend of the iFrame solution in order to identify your site and settings to Veratad.

Create Token

POST https://dcams.app/v3/stable/token/create

This endpoint creates your token with associated settings to access a document iFrame session.

Request Body

{
    "result": "Success",
    "message": "Token created successfully",
    "token": "393d50f9-2703-4100-9e4b-dfd8e4fda493",
    "age": "21+",
    "rules": "DCAMS5_0_RuleSet_NAME_DOB",
    "store_on": "FAIL",
    "company_name_for_email": "Company ABC",
    "email_logo_link": "https://yourcompany.com/logo.png",
    "email_logo_height": "50",
    "email_logo_width": "80",
    "dcams_manual_rules": "DCAMS5_0_Manual_Review_RuleSet_NAME_DOB",
    "redirect_uri": "https://example.com/return?req=123"
}

IMPORTANT: The token is only good for 6 hours. It is recommended that you generate a new token on each iFrame request.

Request Body

{
    "user": "USERNAME",
    "pass": "PASSWORD",
    "age": "21+",
    "rules": "DCAMS5_0_RuleSet_NAME_DOB",
    "store_on": "FAIL",
    "company_name_for_email": "Company ABC",
    "email_logo_link": "https://yourcompany.com/logo.png",
    "email_logo_height": "50",
    "email_logo_width": "80",
    "dcams_manual_rules": "DCAMS5_0_Manual_Review_RuleSet_NAME_DOB",
    "redirect_uri": "https://example.com/return?req=123"
}

DCAMS+ & DCAMS+REVIEW Matching Rules

When processing a scan or a manual review you can define what elements from your customer parameters must match the information found on the document provided.

EXAMPLE

If you send DCAMS5_0_RuleSet_NAME_DOB this means that the Name and Date of Birth from your customer's parameters must match the Name and Date of Birth found on the document.

If you leave this value empty then NO matching rules will be used.

Here are the available DCAMS+ rule sets:

  • DCAMS5_0_RuleSet_NAME_DOB

  • DCAMS5_0_RuleSet_NAME

  • DCAMS5_0_RuleSet_NAME_ADDR

  • DCAMS5_0_RuleSet_NAME_STATE

  • DCAMS5_0_RuleSet_NAME_STATE_DOB

  • DCAMS5_0_RuleSet_NAME_ADDR_DOB

Here are the available DCAMS+REVIEW rule sets:

  • DCAMS5_0_Manual_Review_RuleSet_NAME_DOB

  • DCAMS5_0_Manual_Review_RuleSet_NAME

Last updated