LogoLogo
  • API Documentation
  • Authentication
  • Testing
  • Contact Support
  • System Status
  • VX
    • Create Session
    • API Methods
  • Agematch
    • United States
    • United States (DMV)
    • International
    • With KBA Quiz
    • Selfie Age Estimation
  • IDMATCH
    • United States
      • With KBA Escalation
      • KYC/CIP Compliance
      • COPPA Compliance
    • International
  • idmatch+
    • United States
  • IDMATCH+PREDICT
    • Fraud Score
  • phonematch
    • Verification and Validation
      • Smart 2FA
      • Phone Verification
      • Phone Validation
    • One Time Passwords
      • SMS
      • Call
    • Message Delivery
      • Dialer
  • emailmatch
    • Email Validation
  • dcams
    • Document Capture and Management Services
      • Scanning Basic
      • Scanning Enhanced
      • Manual Review
      • Storage
        • Create or Update a Customer
        • Get Customer Status
        • Get Customer Document Images
        • Update Customer Status
      • iFrame
        • Canned Responses
        • Create Token
        • View Callback
        • User Status
        • Generate Link
      • Swift SDK
      • Android SDK
  • Bouncer
    • Overview
    • Bouncer as an add-on
  • V-PIN
    • Overview
    • V-PIN as an add-on
    • V-PIN Stand Alone
  • Service Coverage
    • Data Coverage
  • Testing
    • Test Cases
    • Answers to KBA Questions
  • Reporting
    • Audit
  • API Processing Errors
    • Error Returns
  • Knowledge Base
    • Best Practices
    • Understanding Veratad Services
  • IDMax
    • IDMax Button Creator SDK
Powered by GitBook
On this page
  • createOrUpdateCustomer
  • Sample Request Body
  • Response Fields
  1. dcams
  2. Document Capture and Management Services
  3. Storage

Create or Update a Customer

Create a new customer or update an existing customer within the storage system.

createOrUpdateCustomer

POST https://dcams.app/v3/stable/api/storage

Send all of the required fields below and the method will detect whether a create or update is necessary and will signal in the return which one occurred.

Request Body

Name
Type
Description

user

string

Your Veratad API Username

pass

string

Your Veratad API Password

service

string

The service name "createOrUpdateCustomer"

reference

string

A value to be stored in the referecne field

target

object

The target of the query

email

string

The user's email address

fn

string

The user's first name

ln

string

The user's last name

addr

string

The user's street address

city

string

The user's city

state

string

The user's state

zip

string

The user's zip

dob

string

The user's Date of Birth (YYYYMMDD)

phone

string

The user's phone number

documents

object

The document images

front

string

The front document image

back

string

The back document image

{
    "result": "Success",
    "reference": "888888812",
    "customer_link": "https://register.veratad.com/admin/customers.php?a=edit&id=727657",
    "status": "PASS",
    "type": "updateCustomer" // possible values "updateCustomer" or "createCustomer"
    "target": {
        "fn": "John",
        "ln": "Smith",
        "addr": "123 Main St",
        "city": "Stratford",
        "state": "CT",
        "zip": "06614",
        "dob": "19700101",
        "email": "jsmith@veratad.com",
        "phone": "2015106000"
    }
}
{
    "result": "Error",
    "message": "The email address is invalid"
}

//or

{
    "result": "Error",
    "message": "Missing a required input"
}
{
    "result": "Error",
    "message": "Either your username or password is incorrect"
}
{
    "result": "Error",
    "message": "The email address was not found"
}

Sample Request Body

{
    "user": "USERNAME",
    "pass": "PASSWORD",
    "service": "createOrUpdateCustomer",
    "reference": "888888812"
    "target": {
        "email": "jsmith@veratad.com",
        "fn": "John",
        "ln": "Smith",
        "addr": "123 Main St",
        "city": "Stratford",
        "state": "CT",
        "zip": "06614",
        "dob": "19700101",
        "phone": "2015106000",
        "documents": {
            "front": "base64 encoded image",
            "back": "base64 encoded image"
        }
    }
}

Response Fields

The response will include all of the target attributes stored within the system for this user, except their document images, and the following varying fields.

attribute

values

result

Success

Error

status

PASS

PENDING

FAIL

type

updateCustomer

createCustomer

PreviousStorageNextGet Customer Status

Last updated 4 years ago