Links

Create or Update a Customer

Create a new customer or update an existing customer within the storage system.
post
https://dcams.app
/v3/stable/api/storage
createOrUpdateCustomer

Sample Request Body

{
"user": "USERNAME",
"pass": "PASSWORD",
"service": "createOrUpdateCustomer",
"reference": "888888812"
"target": {
"email": "[email protected]",
"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