Identity verification and fraud checks run before the rest of an application proceeds.
A caller sends the identity claims collected from a borrower — name, date of birth, address history, and a government identifier — and receives a verified or unverified result with the reasons behind it.
It gates the products after it. An application that cannot establish who the borrower is has nothing useful to verify, so identity runs first in every flow that composes these products.
How it works
Two vendor types sit behind it: a phone-and-carrier signal check and a bureau identity product. They answer different questions — one is possession of a device tied to an identity, the other is the existence and consistency of a credit-file identity — and the canonical response carries both rather than collapsing them to a single score.
By using Set Prove Credentials API we allow our customers to configure custom instance in customer environment.
If you want to use your own instance for verification operations, run Set Credentials API.
{
"message": "Credentials are saved and verified"
}
application/json
Request data failed validation
{
"code": 400,
"message": "Bad Request"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
Request bodyapplication/json
3 fields
Field
Type
Description
hostrequired
string
Prove host
usernamerequired
string
Prove username
passwordrequired
string
Prove password
Response 200application/json
1 fields
Setup API Triggered Successfully
Field
Type
Description
message
string
Message
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
POST/setup/dytrix/credentials
Set Dytrix Credentials
setDytrixCredentials
By using Set Dytrix Credentials API we allow our customers to configure Dytrix in customer environment.
If you want to use your own Dytrix contract for verification, please check Request body Schema example for required values from partner side and run Set Dytrix Credentials API.
You can check the partner status by calling the
Retrieve Partners endpoint
{
"message": "Credentials are saved and verified"
}
application/json
Request data failed validation
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Request data failed validation
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
The product has encountered an internal server error
{
"message": "The product has encountered an internal server error"
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Staircase Environment API Key
Request bodyapplication/json
4 fields
Field
Type
Description
base_urlrequired
string
Base URL for Dytrix API
usernamerequired
string
Dytrix username
passwordrequired
string
Dytrix password
credentials_typerequired
string
Type of credentials, can be either test or production
Response 200application/json
1 fields
Setup API Triggered Successfully
Field
Type
Description
message
string
Message
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Request data failed validation
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
The product has encountered an internal server error
Field
Type
Description
message
string
Error Message
Other responses
404
GET/setup/{partner_name}/credentials
Retrieve Partner Credentials Schema
getCredentials
Get Credentials Schema
Get credentials schema for specific partner. You can use retrieved schema for setting the partner credentials.
Response
application/json
Request data failed validation
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Request data failed validation
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
The product has encountered an internal server error
{
"message": "The product has encountered an internal server error"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Staircase Environment API Key
partner_namerequired
stringpath
dytrix
Partner name
Response 200application/json
1 fields
Create Adapter API Triggered Successfully
Field
Type
Description
message
string
Message
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Request data failed validation
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
The product has encountered an internal server error
Field
Type
Description
message
string
Error Message
Other responses
404
Workflow
POST/identity/verification
Verify Phone Number
verifyPhoneNumber
By using Verify Phone Number API we allow our customers to verify the phone number.
Before executing this operation need to execute Set Prove Credentials API and enable
static IP feature in network settings.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
content-typerequired
stringheader
application/json
Content Type.
Request bodyapplication/json
2 fields
Field
Type
Description
partner_namerequired
string
Partner name
people
object[]
People for verification
first_name
string
First name
last_name
string
Last name
phone_number
string
Phone number
birth_date
string
Birthdate
Response 200application/json
1 fields
Setup API Triggered Successfully
Field
Type
Description
id
string
Execution identifier
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
POST/products/identity/invocations
Verify Identity
invokeProductFlow
This endpoint creates an identity verification request for
the provided transaction, collection and selected partner
Usage
You can send a request in two different ways:
Using transaction_id and request_collection_id: If you already have a request collection, you can provide its details using these two parameters. Note that in this case Response Collection would be created in the provided Transaction.
Using request_data: If you provide this parameter, flow invocation would use the data here as input. If you also provide a transaction_id in the request body, Response Collection would be created in the related Transaction object. If you don't provide a transaction_id we will automatically create a Transaction for you and Response Collection would be created in this new Transaction as well.
Note: You cannot provide product_flow_name and vendor_name parameters together. When provided together, simply product_flow_name is used.
Show the rest
Verification options
If you are already familiar with agent details, the get-report flow can be executed.
If you are not familiar with agent details, search-agent flow can be used to search for it.
If you are not able to find an agent you can either request to add a company (add-company flow) or request to add a branch to the existing company (add-branch flow).
get-report
You can use get-report flow to get Identity verification documents (Closing Agent Report, Insurance reports and Wire Instruction reports). Mandatory request fields are:
AgentId
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
search-agent
You can use search-agent flow to search for available agents. The only mandatory field is the CompanyName, and it has to have at least 3 or more characters.
add-company
If the agent you want to use is not in the list, you can request to add the company. Mandatory request fields are:
AgentName
ContactFirstName
ContactLastName
Email
Phone
Address1
City
State
ZipCode
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
add-branch
If the agent you want to use is on the list, but there is no matching branch (location), you can request to add the branch to the existing company. Mandatory request fields are:
AgentId
CompanyName
ContactFirstName
ContactLastName
Email
Phone
Address1
City
State
ZipCode
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
get-request-status
You can use get-request-status flow to get the partner's request status for add-company, add-branch, add-wire, suspend-agent-update and update-agent-info flows. Mandatory field is RequestId. You can retrieve mentioned RequestId as a part of a response of all previously mentioned flows.
add-wire
You can use add-wire flow to get the wire number verification. Mandatory request fields are:
AgentId
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
ContactFirstName
ContactLastName
Email
Phone
suspend-agent-update
You can use suspend-agent-update flow if the agent is not yet qualified, or it has documents that have expired recently. Mandatory request fields are:
AgentId
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
ContactFirstName
ContactLastName
Email
Phone
cancel-request
You can use cancel-request flow to cancel any of the requests (add-company, add-branch, add-wire, suspend-agent-update or update-agent-info) made. Mandatory request fields are:
RequestId
Reason
update-agent-info
You can use update-agent-info flow if the agent's insurance or license dates are expired or non-existing. You can also use the mentioned flow if the agent qualification is still pending review. Mandatory request fields are:
AgentId
RequestPurpose
BorrowersName
FullPropertyAddress
LoanId
EstClosingDate
ContactFirstName
ContactLastName
Email
Phone
Retrieving the Invocation Result
After flow invocation, endpoint returns an invocation_id which you can poll for its status using /products/identity/invocations/{invocation_id} endpoint. Once the invocation is completed, the Response Collection is populated with results.
If you would rather receive a callback once the invocation is completed instead of polling it, you can set the callback_url parameter in the request body.
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
text/html
Resource not found
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
Request bodyapplication/json
10 fields
Field
Type
Description
product_flow_name
string
Product flow name. If it is not specified, the default product flow will be invoked. If the product has no default product flow, the first created flow will be invoked. Cannot be specified together with vendor_name.
vendor_name
string
Vendor name. Cannot be specified together with product_flow_name.
transaction_id
string
Transaction ID used for invocation.
request_collection_id
string
Request Collection ID.
response_collection_id
string
Response Collection ID.
callback_url
string (uri)
Callback URL.
request_data
object
Request JSON body.
tags
string[]
List of tags.
options
object
Additional information that should be passed to the connector but not be added to the request collection.
invocation_mode
string
The invocation mode of a product flow single_flow or waterfall, default value single_flow
Response 201application/json
11 fields
Successfully started flow invocation.
Field
Type
Description
product_flow_name
string
Product flow name.
metadata
object
The metadata of the invoked product flow.
request_collection_id
string
Request collection ID.
response_collection_id
string
Response collection ID.
invocation_mode
string
Invocation flow.
widget_url
string
Product widget_url listening on the connector widget_url.
invocation_id
string
Invocation ID.
invocation_status
string
The status of the invocation.
transaction_id
string
Transaction ID.
request_data
object
Request collection data.
people
object[]
—
@type
string
—
@id
string
—
has_first_name
object
—
has_value
string
—
has_last_name
object
—
has_value
string
—
contact_at
string[]
—
contact_information
object[]
—
@type
string
—
@id
string
—
has_email_address
object
—
has_value
string
—
has_phone_number
object
—
has_value
string
—
organizations
object[]
—
@type
string
—
@id
string
—
has_organization_name
object
—
has_value
string
—
with_address
string[]
—
addresses
object[]
—
@type
string
—
@id
string
—
has_address_line_1_text
object
—
has_value
string
—
has_address_line_2_text
object
—
has_value
string
—
has_city_name
object
—
has_value
string
—
has_state_code
object
—
has_value
string
—
has_postal_code
object
—
has_value
string
—
property
object[]
—
@type
string
—
@id
string
—
with_address
string[]
—
_links
object
—
health_metrics
string
—
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
message
one of
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
POST/blobs/upload
Upload Identity Document
uploadBlob
Upload Blob allows a customer to upload a document in .pdf form.
Upload Blob uploads a .pdf document (blob) to Persistence product.
You can upload pdf using HTML Request Maker Try It Out.
Place your api_key in the request header, set the request body to binary and browse to your document.
Click Send to upload your document.
To upload a document programmatically, use the programmatic upload example below.
After the approval document is successfully uploaded, a blob_id value is provided.
Example: 'blob_id': '01EZYHKY4EXFW4Z8RKWHDP1KHB'
After you got successful response, you need to use the blob_id in collection with the following path.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Description
x-api-keyrequired
stringheader
The environment API key.
Response 201application/json
1 fields
Blob uploaded
Field
Type
Description
blob_id
string
Created blob id
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Other responses
400405422
GET/identity/verification/{execution_id}
Verify Phone Number Status
verifyPhoneNumberStatus
Verify Phone Number Status Get the verification status by execution identifier.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
execution_idrequired
stringpath
01H1WE08FGKNX0PKNZ88AKNTBX
Verification execution identifier
Response 200application/json
1 fields
Setup API Triggered Successfully
Field
Type
Description
data
object
Data
statuses
object[]
Statuses
@id
string
Identifier
@type
string
Type
status_code
string
Status code
verified
boolean
Verified
status_name
string
Status name
error_messages
object[]
Statuses
@id
string
Identifier
@type
string
Type
error_message_text
string
Error message text
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
GET/products/identity/invocations/{invocation_id}
Retrieve Identity Invocation Status
RetrieveProductFlowInvocationStatus
Retrieve Invocation Status
Retrieves the status of running Product flow invocation.
Response
application/json
Successfully returned status of the Product flow Invocation.
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
text/html
Resource not found
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
invocation_idrequired
string (ulid)path
d7ccedb8-8889-4657-add4-bc1s4xs97637
Product flow invocation identifier
Response 200application/json
19 fields
Successfully returned status of the Product flow Invocation.
Field
Type
Description
request_collection_id
string
—
response_collection_id
string
—
service_invocation
object
—
Persistence
object
—
run_flow_invocation
object
—
elapsed_time
string
—
process_translation_input
object
—
elapsed_time
string
—
process_translation_output
object
—
elapsed_time
string
—
translate_input
object
—
elapsed_time
string
—
total_elapsed_time
string
—
process_connector_flow
object
—
elapsed_time
string
—
process_invocation_result
object
—
elapsed_time
string
—
Connector
object
—
finished_on
string
—
elapsed_time
string
—
connector_flow_name
string
—
started_on
string
—
status
string
—
invocation_id
string
—
Language
object
—
output
object
—
started_on
string
—
invocation_id
string
—
finished_on
string
—
elapsed_time
string
—
from_language
string
—
to_language
string
—
status
string
—
input
object
—
started_on
string
—
invocation_id
string
—
finished_on
string
—
elapsed_time
string
—
from_language
string
—
to_language
string
—
status
string
—
widget_url
string
—
metadata
object
—
options
object
—
raw_collection
string
—
total_integrated_elapsed_time
number
—
invocation_id
string
—
invocation_status
string
—
transaction_id
string
—
product_flow_name
string
—
connector_job_id
string
—
total_elapsed_time
number
—
product_overhead
number
—
request_collection
object
—
collection_id
string
—
transaction_id
string
—
data
object
—
people
object[]
—
@type
string
—
@id
string
—
has_first_name
object
—
has_last_name
object
—
contact_at
string[]
—
has_full_name
object
—
contact_information
object[]
—
@type
string
—
@id
string
—
has_email_address
object
—
has_phone_number
object
—
organizations
object[]
—
@type
string
—
@id
string
—
has_organization_name
object
—
with_address
string[]
—
addresses
object[]
—
@type
string
—
@id
string
—
has_address_line_1_text
object
—
has_address_line_2_text
object
—
has_city_name
object
—
has_state_code
object
—
has_postal_code
object
—
has_full_address_text
object
—
property
object[]
—
@type
string
—
@id
string
—
with_address
string[]
—
loans
object[]
—
@id
string
—
@type
string
—
has_loan_identifier_value
object
—
has_loan_purpose_type
object
—
has_loan_amount
object
—
has_loan_estimated_closing_date
object
—
comment
object[]
—
@type
string
—
@id
string
—
has_comment
object
—
metadata
object
—
validation
boolean
—
linked_collections
object[]
—
collection_id
string
—
label
string
—
created_at
string
—
last_updated_at
string
—
response_collection
object
—
metadata
object
—
linked_collections
object[]
—
collection_id
string
—
label
string
—
validation
boolean
—
version
integer
—
created_at
string
—
invocation_status
string
—
last_updated_at
string
—
partner_language
string
—
partner_name
string
—
product_name
string
—
service_invocation
object
—
Persistence
object
—
operation_name
string
—
Connector
object
—
Language
object
—
staircase_language_version
integer
—
data
object
—
comment
object[]
—
@type
string
—
comment
object[]
—
@id
string
—
customer_request
object[]
—
@type
string
—
customer_request
object[]
—
@id
string
—
transaction_id
string
—
collection_id
string
—
flows_responses
object
—
_links
object
—
finance_metrics
string
—
health_metrics
string
—
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
message
one of
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
POST/identity/trust_score
Retrieve Trust Score
retrieveTrustScore
This endpoint retrieves trust score based on the phone number provided.
Before executing this, user should set the credentials through the Set Prove Credentials API and enable
static IP feature in network settings.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
content-typerequired
stringheader
application/json
Content Type.
Request bodyapplication/json
2 fields
Field
Type
Description
partner_namerequired
string
Partner name
people
object[]
People for verification
phone_number
string
Phone number
Response 200application/json
1 fields
Invoked Retrieve Trust Score successfully
Field
Type
Description
id
string
Execution identifier
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
GET/products/identity/request-schema
Retrieve Request Schema
retrieveRequestSchema
Retrieve Request Schema retrieves a JSON schema for the request to the product waterfall. It also has the option of returning an example for the request object expected through the return_example attribute.
Response
application/json
Successfully returned the list of elements needed for product waterfall.
{
"message": "Please provide one of valid return examples values: true, false"
}
text/html
Error
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Description
x-api-keyrequired
stringheader
The environment API key.
return_examples
booleanquery
If included and set to `true`, returns one or more pre-filled examples that conform to the schema. Default to `false`
Response 200application/json
1 fields
Successfully returned the list of elements needed for product waterfall.
Field
Type
Description
schema
object
Element key / value
Response 400application/json
1 fields
Error
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
POST/transactions
Create Transaction
createTransaction
Create Transaction creates a transaction in Staircase.
Transactions in Staircase are containers for all the data related to an instance of a transaction type. They enable you to correlate the output of various products to a single transaction type, where the transaction type depends on your line of business.
Transactions are identified by a unique key called transaction_id. As you use different Staircase products to gather the data needed for a specific instance of your transaction type, and receive different sets of output from each product, use the same transaction_id to correlate all the outputs to the same transaction.
A transaction_id, when used properly, gives you a holistic view of the data related to the transaction you’ve assembled.
To access all collections associated with a given transaction_id, try out /transactions/{transaction_id}/collections
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
Request bodyapplication/json
2 fields
Field
Type
Description
callback_url
string (url)
URL for receiving events about changes inside transaction
Staircase time string.Example 03/03/2021, 8:24:04 AM EST
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Other responses
400
POST/build-payload
Build JSON Payload
retrieveExampleJSON
Build JSON Payload retrieves a JSON schema for either:
a request for product invocation, or
a response containing response details.
To retrieve the employment verification request schema:
Invoke Retrieve Request Elements to get an array of product request elements.
Place the output from Retrieve Request Elements into the Build JSON Payload request body.
Place your api_key into the Build JSON Payload header.
Send the request to Build JSON Payload. You will receive a JSON schema in response, with null values that must be replaced with your own.
To retrieve the product response schema:
Show the rest
>Invoke Retrieve Response Elements to get the product response elements.
Place the output from Retrieve Response Elements into the Build JSON Payload request body.
Place your api_key into the Build JSON Payload header.
Send the request to Build JSON Payload. You will receive a JSON schema in response, with null values that will be replaced by the partner upon return of employment verification details.
{
"message": "{'data': ['Missing data for required field.']}"
}
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Description
x-api-keyrequired
stringheader
The environment API key.
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Other responses
200
GET/identity/trust_score/{execution_id}
Retrieve Trust Score Status
retrieveTrustScoreStatus
Get the trust score retrieval status by execution identifier.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
execution_idrequired
stringpath
01H1WE08FGKNX0PKNZ88AKNTBX
Verification execution identifier
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
Other responses
200
POST/identity/identity
Retrieve Identity
retrieveIdentity
This endpoint retrieves identity information based on the phone number and birthdate provided.
Before executing this, user should set the credentials through the Set Prove Credentials API and enable
static IP feature in network settings.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
content-typerequired
stringheader
application/json
Content Type.
Request bodyapplication/json
2 fields
Field
Type
Description
partner_namerequired
string
Partner name
people
object[]
People for verification
phone_number
string
Phone number
birth_date
string
Birthdate
Response 200application/json
1 fields
Invoked Retrieve Identity successfully
Field
Type
Description
id
string
Execution identifier
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
Field
Type
Description
message
string
—
POST/transactions/{transaction_id}/collections
Create Collection
createCollection
Create Collection creates a collection of data points required for product invocation. A collection contains a digital representation of the input or output data for the product and is identified by collection_id.
The Example below contains a sample collection that you can use to make the product invocation in /get-collection
{
"message": "Unable to create collection. Please check the collection data"
}
text/html
Error
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Resource not found
{
"message": "Unable to create collection. Please check the transaction ID."
}
text/html
Resource not found
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
—
The environment API key.
transaction_idrequired
string (ulid)path
01F0KHK7DN3H5JZ4QJKMYAM6GB
Staircase Transaction Identifier
Request bodyapplication/json
2 fields
Field
Type
Description
data
object
—
deal_setsrequired
object
—
deal_setrequired
object[]
—
dealsrequired
object
—
metadata
—
—
Response 201application/json
4 fields
Collection created successfully
Field
Type
Description
collection_id
string (ulid)
Collection idExample 01EZQ32PJQGKRA6HR8D72Q9FFF
data
array
—
metadata
object
Metadata about collection, f.e version of used Staircase schema
transaction_id
string (ulid)
Transaction idExample 01EZQ32PJQGKRA6HR8D72Q9FFF
Response 400application/json
1 fields
Error
Field
Type
Description
message
one of
Either message object with more properties.
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
PUT/blobs/{blob_id}/presigned-urls/{action}
Create Report Download URL
createPresignedUrl
Create Report Download URL creates a presigned URL in Staircase. It expires one hour after creation.
If partner provides a report in the documents, you can generate a download url with using staircase blob ID.
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
3
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
blob_idrequired
stringpath
01EZY9J8SEFM2JKDJ1Q3YX65HS
Blob identifier
actionrequired
stringpath
upload
Action, one of ['upload', 'download']
Response 200application/json
2 fields
Presigned URL created successfully.
Field
Type
Description
upload
object
Action
url
string
Presigned_url
download
object
Action
url
string
Presigned_url
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Other responses
400
GET/identity/identity/{execution_id}
Retrieve Identity Status
retrieveIdentityStatus
Get the identity retrieval status by execution identifier.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Invalid key for service
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Unprocessed Entity
{
"code": 422,
"message": "Unprocessed Entity."
}
application/json
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support."
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
execution_idrequired
stringpath
01H1WE08FGKNX0PKNZ88AKNTBX
Verification execution identifier
Response 400application/json
1 fields
Request data failed validation
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 403application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 404application/json
2 fields
Invalid key for service
Field
Type
Description
message
string
—
url
string
—
Response 422application/json
1 fields
Unprocessed Entity
Field
Type
Description
error
object
Unprocessed entity error.
coderequired
string
Error name.
messagerequired
string
Error description.
Response 500application/json
1 fields
The product has encountered an internal server error. If possible, please contact Staircase support with the transaction_id you used.
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Resource not found
{
"message": "Unable to get collection. Please check the given ids"
}
application/json
Resource not found
{
"message": "Unable to get collections of given transaction. Please check the transaction id"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
3
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
—
The environment API key.
transaction_idrequired
string (ulid)path
01F0KHK7DN3H5JZ4QJKMYAM6GB
Staircase Transaction Identifier
collection_idrequired
string (ulid)path
01F0KHKADN0HRFXMCQQXPA6AFZ
Staircase collection_id
Response 200application/json
2 fields
Successfully Retrieved Collection
Field
Type
Description
data
object
—
deal_setsrequired
object
—
deal_setrequired
object[]
—
dealsrequired
object
—
metadata
—
—
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Other responses
400
Partners
GET/products/identity/partners
Retrieve Product Partners
getVendors
Retrieve Partners retrieves:
-All the Partners (vendors) configured in the Product Flows configurations.
-The Order of the partner in the Product Waterfall Settings or default order in Product Flows if Product Waterfall was not configured.
-The status of the partners as active/upcoming according to the configurations of the product flows of these partners (partner will be active if at least one flow is active).'
{
"message": "3 is not of type 'string'. Failed validating 'type' in schema['properties']['deal_sets']['items'][0]['properties']['parties']['items'][0]['properties']['customer_transaction_ID']:"
}
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
active
booleanquery
false
Include vendors with active product flows
Response 200application/json
4 fields
Successfully retrieved product partners.
Field
Type
Description
partner
string
Partner name
order
number
Order of the product flows associated with this partner
active
boolean
Partner has active flows
status
string
Status of the partner
Response 400application/json
1 fields
Validation Error
Field
Type
Description
message
one of
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
GET/products/identity/partners/ordering
Retrieve Partners Ordering
getPartnersOrdering
Retrieve Partners Ordering retrieves the partners'' order for the product waterfall invocation according to the configured Product Waterfall Settings.
If there is no waterfall for the product configured, partners will be retrieved with the default of the order inside Product Flows.
{
"message": "3 is not of type 'string'. Failed validating 'type' in schema['properties']['deal_sets']['items'][0]['properties']['parties']['items'][0]['properties']['customer_transaction_ID']:"
}
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
Response 200application/json
2 fields
Successfully retrieved partners ordering.
Field
Type
Description
partner
string
Partner name
order
number
Order of the product flows associated with this partner
Response 400application/json
1 fields
Validation Error
Field
Type
Description
message
one of
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
PUT/products/identity/partners/ordering
Update Partners Ordering
UpdatePartnersOrdering
Update Partners Order updates the order of execution of the product flows associated with the partner by updating their order in the product waterfall settings.
Failed to update the partner from one of the reasons
{
"message": "Partner doesn't exist in database"
}
text/html
Failed to update the partner from one of the reasons
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
1
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
Request bodyapplication/json
1 fields
Field
Type
Description
ordering
object[]
—
partner
string
Partner nameExample wage
order
number
Partner orderExample 1
Response 200application/json
2 fields
Successfully updated partners ordering.
Field
Type
Description
partner
string
Partner nameExample wage
order
number
Partner orderExample 1
Response 400application/json
1 fields
Failed to update the partner from one of the reasons
Field
Type
Description
message
string
Partner doesn't exist in database
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
PATCH/products/identity/partners/{partner}/status
Update Partner Status
updatePartnerStatus
Update Partner Status updates the active value of a specific partner to value true or false. This shall activate or deactivate the flows configured for this partner in Product Flows.
Successfully updated active parameter for the partner.
{
"message": "Partner status updated."
}
application/json
Failed to update the partner from one of the reasons.
{
"message": "Partner doesn't exist in database."
}
text/html
Failed to update the partner from one of the reasons.
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
partnerrequired
stringpath
partner_name
Name of the partner for which we wan't to update status.
Request bodyapplication/json
4 fields
Field
Type
Description
activerequired
boolean
Example true
byoc
boolean
Specify whether customer should add its own partner credentials or not
status
string
Status of the vendor
verification_type
string
Type of verification
Response 200application/json
1 fields
Successfully updated active parameter for the partner.
Field
Type
Description
message
string
Partner status updated.
Response 400application/json
1 fields
Failed to update the partner from one of the reasons.
Field
Type
Description
message
string
Partner doesn't exist in database.
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Platform
GET/products/identity/response-schema
Retrieve Response Schema
retrieveResponseSchema
Retrieve Schema retrieves a JSON schema for the response returned by the product. It can also return an example for the response output object through return_example attribute.
Response
application/json
Successfully returned the list of elements of response of the product waterfall.
{
"message": "Please provide one of valid return examples values: true, false"
}
text/html
Error
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Description
x-api-keyrequired
stringheader
The environment API key.
return_examples
booleanquery
If included and set to `true`, returns one or more pre-filled examples that conform to the schema. Default to `false`
Response 200application/json
1 fields
Successfully returned the list of elements of response of the product waterfall.
Field
Type
Description
schema
object
Element key / value element
Response 400application/json
1 fields
Error
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
GET/products/identity/schema/{data_object}
Retrieve Product Schemas and Examples
retrieveSchema
Retrieve Product Schemas and Examples retrieves a JSON schema for the request and the response returned by the product. It can also return an example of a json object defined with schema.
Response
application/json
Successfully returned the list of elements needed for Income.
{
"message": "Please provide one of valid data object values: request, response"
}
application/json
Error
{
"message": "Please provide one of valid version values: v0"
}
application/json
Error
{
"message": "Please make sure your query parameters contains version parameter."
}
application/json
Error
{
"message": "Please provide one of valid return examples values: true, false"
}
text/html
Error
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://api.staircase.co/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
3
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Environment API Key.
data_objectrequired
stringpath
request
Describes the particular data object you are getting a schema for. Can be either request or response.
return_examples
booleanquery
false
If included and set to `true`, returns one or more pre-filled examples that conform to the schema. Default to `false`
Response 200application/json
7 fields
Successfully returned the list of elements needed for Income.
Field
Type
Description
people
object[]
—
@type
string
—
@id
string
—
has_first_name
object
—
has_value
string
—
has_last_name
object
—
has_value
string
—
contact_at
string[]
—
has_full_name
object
—
has_value
string
—
contact_information
object[]
—
@type
string
—
@id
string
—
has_email_address
object
—
has_value
string
—
has_phone_number
object
—
has_value
string
—
organizations
object[]
—
@type
string
—
@id
string
—
has_organization_identifier
object
—
has_value
string
—
addresses
object[]
—
@type
string
—
@id
string
—
has_full_address_text
object
—
has_value
string
—
has_state_code
object
—
has_value
string
—
property
object[]
—
@type
string
—
@id
string
—
with_address
string[]
—
loans
object[]
—
@id
string
—
@type
string
—
has_loan_identifier_value
object
—
has_value
string
—
has_loan_purpose_type
object
—
has_value
string
—
has_loan_amount
object
—
has_value
string
—
has_loan_estimated_closing_date
object
—
has_value
string
—
comment
object[]
—
@type
string
—
@id
string
—
has_comment
object
—
has_value
string
—
Response 400application/json
1 fields
Error
Field
Type
Description
message
string
Message
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Error Message.
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
GET/transactions/{transaction_id}/collections
Retrieve Transaction Collections
RetrieveTransactionCollections
Retrieve Transaction Collections returns the content of a given collection_id associated with a specific transaction_id.
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Resource not found
{
"message": "Unable to get collections of given transaction. Please check the transaction id"
}
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
2
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
—
The environment API key.
transaction_idrequired
string (ulid)path
01F0KHK7DN3H5JZ4QJKMYAM6GB
Staircase Transaction Identifier
Response 200application/json
4 fields
Transaction collection retrieved successfully
Field
Type
Description
collection_id
string (ulid)
Collection idExample 01EZQ32PJQGKRA6HR8D72Q9FFF
data
array
—
metadata
object
Metadata about collection, f.e version of used Staircase schema
{
"description": "Error details.",
"message": "Unable to update collection. Please check the collection data"
}
text/html
Error
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
403 invalid error
{
"message": "Please check the key you used to call this service",
"url": "https://staircase.stoplight.io/docs/api-reference/customer-account-manager-service.yml/paths/~1products~1refresh/post"
}
application/json
Resource not found
{
"message": "Unable to update collection. Please check the given ids"
}
text/html
Resource not found
<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n</body>\r\n</html>\r\n
application/json
Internal server error
{
"message": "The product has encountered an internal server error. If you have used a transaction_id to call our services, please submit it to Staircase support"
}
Parameters
3
Parameter
Type
Example
Description
x-api-keyrequired
stringheader
—
The environment API key.
transaction_idrequired
string (ulid)path
01F0KHK7DN3H5JZ4QJKMYAM6GB
Staircase Transaction Identifier
collection_idrequired
string (ulid)path
01F0KHKADN0HRFXMCQQXPA6AFZ
Staircase collection_id
Request bodyapplication/json
2 fields
Field
Type
Description
data
object
—
deal_setsrequired
object
—
deal_setrequired
object[]
—
dealsrequired
object
—
metadata
—
—
Response 200application/json
2 fields
Collection updated successfully
Field
Type
Description
data
object
—
deal_setsrequired
object
—
deal_setrequired
object[]
—
dealsrequired
object
—
metadata
—
—
Response 400application/json
1 fields
Error
Field
Type
Description
message
one of
Either message object with more properties.
Response 403application/json
2 fields
403 invalid error
Field
Type
Description
message
string
Error message.
url
string
Error additional URL.
Response 404application/json
1 fields
Resource not found
Field
Type
Description
message
string
Message
Response 500application/json
1 fields
Internal server error
Field
Type
Description
message
string
Error message.
Operations
POST/identity
Create Identity
post-identity
Create Identity creates views verifying the authenticity of a borrower's ID, the addresses a borrower listed on documents, and other identification tags, to ensure the borrower behind a loan application is who they say they are.
{
"collection_id": "e4502ed2-8df8-4b8f-84bd-a1097e999a77",
"message": "When ready, data will be available under the following collection_id. Use this new collection_id to get the execution status."
}